Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 87.58 kB / 20.45 MB, free: 4.121 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 161.4 kB / 23.82 MB, free: 0.7539 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.016/1.016, allocations: 177.1 MB / 204.2 MB, free: 5.652 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.882/1.882, allocations: 377.8 MB / 0.6236 GB, free: 8.551 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extIndSig.u.[0-9,]+.|extIndSig.index|extIndSig.y|extIndSig1.index|extIndSig1.y|extIndSig2.index|extIndSig2.y|extIndSig3.index|extIndSig3.y|extIndSig4.index|extIndSig4.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extIndSig.u.[0-9,]+.|extIndSig.index|extIndSig.y|extIndSig1.index|extIndSig1.y|extIndSig2.index|extIndSig2.y|extIndSig3.index|extIndSig3.y|extIndSig4.index|extIndSig4.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 0.8115 GB, free: 1.703 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.859e-05/2.029e-05, allocations: 7.25 kB / 0.8116 GB, free: 1.695 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.001776/0.001796, allocations: 1.295 MB / 0.8128 GB, free: 428 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001522/0.003319, allocations: 1.609 MB / 0.8144 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.454e-05/0.003403, allocations: 7.938 kB / 0.8144 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001067/0.00351, allocations: 35.59 kB / 0.8144 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001058/0.003616, allocations: 84.41 kB / 0.8145 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006663/0.004282, allocations: 0.4886 MB / 0.815 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0004279/0.00471, allocations: 0.6537 MB / 0.8156 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001828/0.004893, allocations: 109.3 kB / 0.8157 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003158/0.005208, allocations: 395.3 kB / 0.8161 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001741/0.005383, allocations: 182.5 kB / 0.8163 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 5.412e-05/0.005437, allocations: 48 kB / 0.8163 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 7.999e-05/0.005517, allocations: 63.98 kB / 0.8164 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 5.625e-05/0.005573, allocations: 68.33 kB / 0.8165 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001264/0.005699, allocations: 171.6 kB / 0.8166 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003663/0.006066, allocations: 427.8 kB / 0.817 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.073e-06/0.006068, allocations: 0 / 0.817 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.82e-07/0.006068, allocations: 4 kB / 0.817 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.006074, allocations: 0.5 kB / 0.817 GB, free: 12.09 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.0007174/0.006791, allocations: 0.9498 MB / 0.818 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.026e-05/0.006821, allocations: 11.97 kB / 0.818 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.296e-05/0.006914, allocations: 72.7 kB / 0.818 GB, free: 10.97 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002863/0.007201, allocations: 299.1 kB / 0.8183 GB, free: 10.65 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.689e-05/0.007228, allocations: 29.41 kB / 0.8184 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.366e-05/0.007271, allocations: 45.69 kB / 0.8184 GB, free: 10.58 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004096/0.007681, allocations: 393.8 kB / 0.8188 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.00769, allocations: 1.344 kB / 0.8188 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.69e-05/0.007707, allocations: 12.38 kB / 0.8188 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.844e-06/0.007715, allocations: 4.375 kB / 0.8188 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000191/0.007906, allocations: 272 kB / 0.819 GB, free: 9.848 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007763/0.008682, allocations: 0.7769 MB / 0.8198 GB, free: 9.035 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002469/0.008929, allocations: 325.8 kB / 0.8201 GB, free: 8.676 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001873/0.009116, allocations: 286.8 kB / 0.8204 GB, free: 8.363 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.234e-05/0.009129, allocations: 8 kB / 0.8204 GB, free: 8.355 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002449/0.009374, allocations: 379.8 kB / 0.8208 GB, free: 7.941 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=44): time 2.094e-06/0.009376, allocations: 0 / 0.8208 GB, free: 7.941 MB / 0.7761 GB Notification: Performance of matching and sorting (n=44): time 0.000643/0.01002, allocations: 0.8788 MB / 0.8216 GB, free: 6.965 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000204/0.01022, allocations: 195.9 kB / 0.8218 GB, free: 6.73 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001795/0.0104, allocations: 318.3 kB / 0.8221 GB, free: 6.398 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.806e-05/0.01044, allocations: 43.02 kB / 0.8221 GB, free: 6.352 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 9.559e-05/0.01054, allocations: 211.6 kB / 0.8224 GB, free: 6.141 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 6.861e-05/0.0106, allocations: 134.9 kB / 0.8225 GB, free: 6.008 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001315/0.01074, allocations: 143.8 kB / 0.8226 GB, free: 5.859 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.01085, allocations: 0.5162 MB / 0.8231 GB, free: 5.332 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002851/0.01113, allocations: 432.7 kB / 0.8235 GB, free: 4.855 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003238/0.01146, allocations: 0.5412 MB / 0.8241 GB, free: 4.215 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004475/0.01191, allocations: 0.7693 MB / 0.8248 GB, free: 3.32 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.01191, allocations: 0 / 0.8248 GB, free: 3.32 MB / 0.7761 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0007674/0.01268, allocations: 1.099 MB / 0.8259 GB, free: 2.105 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 8.602e-05/0.01276, allocations: 267.3 kB / 0.8261 GB, free: 1.789 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.01277, allocations: 7.938 kB / 0.8261 GB, free: 1.781 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.01278, allocations: 7.984 kB / 0.8262 GB, free: 1.773 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001365/0.01292, allocations: 60.75 kB / 0.8262 GB, free: 1.715 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.01293, allocations: 7.938 kB / 0.8262 GB, free: 1.707 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002538/0.01318, allocations: 119.1 kB / 0.8263 GB, free: 1.594 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.285e-05/0.01324, allocations: 63.92 kB / 0.8264 GB, free: 1.531 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,intPul1.booPul.y,$PRE.intPul1.booPul.y,intPul1.y,intPul.booPul.y,$PRE.intPul.booPul.y,intPul.y,pul1.booPul.y,$PRE.pul1.booPul.y,pul.booPul.y,$PRE.pul.booPul.y,conInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 9 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001431/0.01339, allocations: 333.4 kB / 0.8267 GB, free: 1.164 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.217e-05/0.01343, allocations: 59.75 kB / 0.8268 GB, free: 1.105 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.2e-05/0.01347, allocations: 48.48 kB / 0.8268 GB, free: 1.059 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.01347, allocations: 4 kB / 0.8268 GB, free: 1.055 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.01348, allocations: 1.25 kB / 0.8268 GB, free: 1.055 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.189e-06/0.01348, allocations: 4 kB / 0.8268 GB, free: 1.051 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008144/0.0143, allocations: 1.099 MB / 0.8279 GB, free: 15.85 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.0143, allocations: 1.094 kB / 0.8279 GB, free: 15.85 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001085/0.01441, allocations: 59.91 kB / 0.828 GB, free: 15.79 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.01441, allocations: 0 / 0.828 GB, free: 15.79 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.729e-05/0.01443, allocations: 17.11 kB / 0.828 GB, free: 15.78 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.01443, allocations: 0 / 0.828 GB, free: 15.78 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.01443, allocations: 0 / 0.828 GB, free: 15.78 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005776/0.01501, allocations: 0.7997 MB / 0.8288 GB, free: 14.9 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 2.562e-05/0.01503, allocations: 39.69 kB / 0.8288 GB, free: 14.86 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.66e-05/0.01506, allocations: 8.656 kB / 0.8288 GB, free: 14.85 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.016e-05/0.01514, allocations: 15.98 kB / 0.8288 GB, free: 14.84 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.126e-05/0.0152, allocations: 50.02 kB / 0.8289 GB, free: 14.79 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.048e-05/0.01524, allocations: 51.94 kB / 0.8289 GB, free: 14.74 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0001055/0.01535, allocations: 211 kB / 0.8291 GB, free: 14.53 MB / 0.7917 GB Notification: Performance of sort global known variables: time 8e-08/0.01535, allocations: 0 / 0.8291 GB, free: 14.53 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0002364/0.01558, allocations: 111.9 kB / 0.8292 GB, free: 14.42 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pul.booPul.y,pul1.booPul.y,intPul.y,intPul.booPul.y,intPul1.y,intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001042/0.01569, allocations: 123.4 kB / 0.8293 GB, free: 14.3 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0007049/0.01639, allocations: 1.278 MB / 0.8306 GB, free: 12.82 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.0164, allocations: 4 kB / 0.8306 GB, free: 12.82 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0002521/0.01665, allocations: 0.5565 MB / 0.8311 GB, free: 12.16 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003118/0.01696, allocations: 98.92 kB / 0.8312 GB, free: 12.07 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007213/0.01768, allocations: 0.8392 MB / 0.832 GB, free: 11.17 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.679e-05/0.01774, allocations: 113 kB / 0.8322 GB, free: 11.04 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.000121/0.01786, allocations: 82.41 kB / 0.8322 GB, free: 10.96 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.887e-05/0.01791, allocations: 32.5 kB / 0.8323 GB, free: 10.93 MB / 0.7917 GB Notification: Performance of SimCode: time 9.01e-07/0.01791, allocations: 7.938 kB / 0.8323 GB, free: 10.92 MB / 0.7917 GB Notification: Performance of Templates: time 0.008154/0.02606, allocations: 7.475 MB / 0.8396 GB, free: 3.605 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.462131990119815]