Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extIndSig.u.1.|extIndSig.u.2.|extIndSig.u.3.|extIndSig.u.4.|extIndSig.u.5.|extIndSig.y|extIndSig1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extIndSig.u.1.|extIndSig.u.2.|extIndSig.u.3.|extIndSig.u.4.|extIndSig.u.5.|extIndSig.y|extIndSig1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.523/2.523, allocations: 390.3 MB / 405.3 MB, free: 13.45 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 173 kB / 498.1 MB, free: 5.676 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.566/1.566, allocations: 223.2 MB / 0.7948 GB, free: 17.95 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009191/0.0009192, allocations: 96.06 kB / 0.9346 GB, free: 6.203 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003601/0.0003601, allocations: 11.44 kB / 1.084 GB, free: 221.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3138/0.3142, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2251/0.5394, allocations: 150 MB / 1.369 GB, free: 12.03 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002533/0.5397, allocations: 83.88 kB / 1.369 GB, free: 11.95 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01429/0.554, allocations: 4.853 MB / 1.374 GB, free: 7.082 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.104e-06/0.5541, allocations: 3.938 kB / 1.374 GB, free: 7.078 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.475e-05/0.5541, allocations: 4 kB / 1.374 GB, free: 7.074 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0009728/0.5551, allocations: 0.6058 MB / 1.375 GB, free: 6.402 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.5551, allocations: 8.031 kB / 1.375 GB, free: 6.395 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.453e-05/0.5552, allocations: 27.72 kB / 1.375 GB, free: 6.367 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004738/0.5557, allocations: 286.6 kB / 1.375 GB, free: 6.047 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.521e-05/0.5558, allocations: 23.98 kB / 1.375 GB, free: 6.023 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.892e-05/0.5558, allocations: 27.94 kB / 1.375 GB, free: 5.996 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000616/0.5565, allocations: 257.2 kB / 1.375 GB, free: 5.738 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.5565, allocations: 0 / 1.375 GB, free: 5.738 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.318e-05/0.5565, allocations: 8 kB / 1.375 GB, free: 5.73 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.5565, allocations: 4 kB / 1.375 GB, free: 5.727 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000722/0.5573, allocations: 271.8 kB / 1.376 GB, free: 5.461 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001364/0.5586, allocations: 0.7664 MB / 1.376 GB, free: 4.641 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005093/0.5592, allocations: 232.7 kB / 1.377 GB, free: 4.406 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.76e-05/0.5592, allocations: 4.125 kB / 1.377 GB, free: 4.402 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005685/0.5598, allocations: 272 kB / 1.377 GB, free: 4.125 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=27): time 1.954e-06/0.5598, allocations: 3.938 kB / 1.377 GB, free: 4.121 MB / 0.8698 GB Notification: Performance of matching and sorting (n=27): time 0.001442/0.5612, allocations: 0.5851 MB / 1.377 GB, free: 3.531 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.007e-05/0.5613, allocations: 59.39 kB / 1.378 GB, free: 3.461 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002026/0.5615, allocations: 188.8 kB / 1.378 GB, free: 3.27 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.86e-05/0.5615, allocations: 41.7 kB / 1.378 GB, free: 3.223 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 9.731e-05/0.5616, allocations: 136.5 kB / 1.378 GB, free: 3.086 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 6.393e-05/0.5617, allocations: 67.16 kB / 1.378 GB, free: 3.02 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.849e-05/0.5618, allocations: 8 kB / 1.378 GB, free: 3.012 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.5619, allocations: 338.8 kB / 1.378 GB, free: 2.672 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004799/0.5624, allocations: 195.9 kB / 1.378 GB, free: 2.48 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005022/0.5629, allocations: 244.1 kB / 1.379 GB, free: 2.227 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004966/0.5634, allocations: 244.9 kB / 1.379 GB, free: 1.977 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.5634, allocations: 0 / 1.379 GB, free: 1.977 MB / 0.8698 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001201/0.5646, allocations: 0.563 MB / 1.379 GB, free: 1.395 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 6.874e-05/0.5647, allocations: 71.34 kB / 1.38 GB, free: 1.312 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.5647, allocations: 7.984 kB / 1.38 GB, free: 1.305 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.182e-05/0.5647, allocations: 0 / 1.38 GB, free: 1.305 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003127/0.5651, allocations: 59.95 kB / 1.38 GB, free: 1.246 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.969e-05/0.5651, allocations: 15.88 kB / 1.38 GB, free: 1.23 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004899/0.5656, allocations: 115.7 kB / 1.38 GB, free: 1.117 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.593e-05/0.5656, allocations: 15.98 kB / 1.38 GB, free: 1.102 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition4,$whenCondition5,$whenCondition2,$whenCondition3,$whenCondition6,$whenCondition1,$PRE.extIndSig.index,extIndSig.index,extIndSig.k[1],extIndSig.k[2],extIndSig.k[3],extIndSig.k[4],extIndSig.k[5],$PRE.pul.booPul.y,pul.booPul.y,$PRE.pul1.booPul.y,pul1.booPul.y,$PRE.extIndSig1.index,extIndSig1.index,extIndSig1.k[1],extIndSig1.k[2],extIndSig1.k[3],extIndSig1.k[4],extIndSig1.k[5]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002063/0.5659, allocations: 163.3 kB / 1.38 GB, free: 0.9336 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.441e-05/0.5659, allocations: 31.8 kB / 1.38 GB, free: 0.9023 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.895e-05/0.566, allocations: 26.5 kB / 1.38 GB, free: 0.875 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.566, allocations: 7.938 kB / 1.38 GB, free: 0.8672 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.566, allocations: 0 / 1.38 GB, free: 0.8672 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.566, allocations: 3.984 kB / 1.38 GB, free: 0.8633 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001401/0.5674, allocations: 0.8233 MB / 1.381 GB, free: 15.98 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.5674, allocations: 0 / 1.381 GB, free: 15.98 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002246/0.5677, allocations: 51.84 kB / 1.381 GB, free: 15.93 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.596e-06/0.5677, allocations: 4 kB / 1.381 GB, free: 15.93 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.399e-05/0.5677, allocations: 0 / 1.381 GB, free: 15.93 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.285e-06/0.5677, allocations: 7.984 kB / 1.381 GB, free: 15.92 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.5677, allocations: 0 / 1.381 GB, free: 15.92 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001049/0.5688, allocations: 0.5263 MB / 1.381 GB, free: 15.38 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 9.86e-05/0.5689, allocations: 104.8 kB / 1.381 GB, free: 15.26 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.368e-05/0.569, allocations: 3.984 kB / 1.381 GB, free: 15.25 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002523/0.5692, allocations: 39.95 kB / 1.381 GB, free: 15.21 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001192/0.5693, allocations: 27.95 kB / 1.382 GB, free: 15.19 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.894e-05/0.5694, allocations: 12 kB / 1.382 GB, free: 15.18 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001773/0.5696, allocations: 152.5 kB / 1.382 GB, free: 15.03 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5696, allocations: 4 kB / 1.382 GB, free: 15.02 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003953/0.57, allocations: 71.91 kB / 1.382 GB, free: 14.95 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition6,$whenCondition4,$whenCondition5,$whenCondition2,$whenCondition3,$whenCondition1,extIndSig.index,extIndSig.k[1],extIndSig.k[2],extIndSig.k[3],extIndSig.k[4],extIndSig.k[5],pul.booPul.y,pul1.booPul.y,extIndSig1.index,extIndSig1.k[1],extIndSig1.k[2],extIndSig1.k[3],extIndSig1.k[4],extIndSig1.k[5]) * Number of discrete states: 2 (extIndSig.index,extIndSig1.index) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002879/0.5703, allocations: 131.8 kB / 1.382 GB, free: 14.82 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001191/0.5715, allocations: 0.557 MB / 1.382 GB, free: 14.23 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.5715, allocations: 4.25 kB / 1.382 GB, free: 14.23 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0004603/0.572, allocations: 196.7 kB / 1.383 GB, free: 14.04 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003686/0.5723, allocations: 52.34 kB / 1.383 GB, free: 13.99 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001044/0.5734, allocations: 0.5134 MB / 1.383 GB, free: 13.45 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004275/0.5738, allocations: 0.7562 MB / 1.384 GB, free: 12.66 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001388/0.574, allocations: 45.86 kB / 1.384 GB, free: 12.62 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.78e-05/0.5741, allocations: 19.44 kB / 1.384 GB, free: 12.6 MB / 0.8855 GB Notification: Performance of SimCode: time 2.31e-07/0.5741, allocations: 0 / 1.384 GB, free: 12.6 MB / 0.8855 GB Notification: Performance of Templates: time 0.007868/0.5819, allocations: 3.739 MB / 1.388 GB, free: 8.891 MB / 0.8855 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches