Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.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.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conWin.TClear|conWin.TDark|conWin.T|conWin.HClear|conWin.HDark|conWin.H|conWin.y",fileNamePrefix="Buildings_9_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow") translateModel(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conWin.TClear|conWin.TDark|conWin.T|conWin.HClear|conWin.HDark|conWin.H|conWin.y",fileNamePrefix="Buildings_9_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 1.965/1.965, allocations: 387.2 MB / 394.5 MB, free: 13.62 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.001095/0.001095, allocations: 177.3 kB / 487 MB, free: 5.363 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.3/1.3, allocations: 221.3 MB / 0.7819 GB, free: 1.391 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009687/0.0009687, allocations: 88.38 kB / 0.9213 GB, free: 2.645 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.733e-06/6.753e-06, allocations: 0 / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2458/0.2458, allocations: 142.3 MB / 1.205 GB, free: 26.19 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7103/0.9562, allocations: 151.1 MB / 1.353 GB, free: 15.6 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002599/0.9565, allocations: 86.62 kB / 1.353 GB, free: 15.6 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.01191/0.9684, allocations: 3.486 MB / 1.356 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.648e-05/0.9685, allocations: 3.469 kB / 1.356 GB, free: 15.33 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001086/0.9696, allocations: 0.5971 MB / 1.357 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.9697, allocations: 15.91 kB / 1.357 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.208e-05/0.9697, allocations: 24.88 kB / 1.357 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003162/0.9701, allocations: 252.1 kB / 1.357 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.858e-05/0.9701, allocations: 5.094 kB / 1.357 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.847e-05/0.9701, allocations: 9.219 kB / 1.357 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002693/0.9704, allocations: 104.1 kB / 1.357 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003192/0.9707, allocations: 175.2 kB / 1.357 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.9708, allocations: 4 kB / 1.357 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.595e-05/0.9708, allocations: 1.719 kB / 1.357 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.9708, allocations: 2.969 kB / 1.357 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008826/0.9717, allocations: 0.5197 MB / 1.358 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003603/0.9721, allocations: 138.8 kB / 1.358 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001269/0.9722, allocations: 59.62 kB / 1.358 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.597e-05/0.9722, allocations: 5.906 kB / 1.358 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001939/0.9725, allocations: 120.5 kB / 1.358 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=15): time 1.683e-06/0.9725, allocations: 0 / 1.358 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of matching and sorting (n=15): time 0.0003434/0.9728, allocations: 145.4 kB / 1.358 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.512e-05/0.9729, allocations: 108 kB / 1.358 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001616/0.973, allocations: 165.5 kB / 1.359 GB, free: 13.94 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.702e-05/0.9731, allocations: 31.7 kB / 1.359 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.096e-05/0.9731, allocations: 114.2 kB / 1.359 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.416e-05/0.9732, allocations: 39.7 kB / 1.359 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.404e-05/0.9732, allocations: 4.75 kB / 1.359 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.148e-05/0.9733, allocations: 331.7 kB / 1.359 GB, free: 13.47 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001092/0.9734, allocations: 48.97 kB / 1.359 GB, free: 13.47 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001313/0.9735, allocations: 79.69 kB / 1.359 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.569e-05/0.9736, allocations: 46 kB / 1.359 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.9736, allocations: 0.75 kB / 1.359 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002999/0.9739, allocations: 159.5 kB / 1.359 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.599e-05/0.974, allocations: 101.7 kB / 1.36 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.974, allocations: 5.672 kB / 1.36 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.974, allocations: 1.938 kB / 1.36 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003677/0.9744, allocations: 80.86 kB / 1.36 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.9744, allocations: 0.5938 kB / 1.36 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004134/0.9748, allocations: 79.55 kB / 1.36 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.586e-05/0.9749, allocations: 8.984 kB / 1.36 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 7.515e-06/0.9749, allocations: 4.281 kB / 1.36 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002213/0.9751, allocations: 103.5 kB / 1.36 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-06/0.9751, allocations: 0 / 1.36 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.186e-06/0.9751, allocations: 5.266 kB / 1.36 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003017/0.9754, allocations: 66.44 kB / 1.36 GB, free: 13.26 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.9754, allocations: 5.312 kB / 1.36 GB, free: 13.26 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003279/0.9758, allocations: 63.3 kB / 1.36 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.704e-05/0.9758, allocations: 8.016 kB / 1.36 GB, free: 13.25 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$whenCondition1,$PRE.TMea.T_start,TMea.T_start,$PRE.TMea.count,TMea.count,$PRE.HMea.T_start,HMea.T_start,$PRE.HMea.count,HMea.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 15 * 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 8.52e-05/0.9759, allocations: 105.8 kB / 1.36 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.704e-05/0.9759, allocations: 21.09 kB / 1.36 GB, free: 13.13 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.668e-05/0.976, allocations: 22.03 kB / 1.36 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.976, allocations: 2.625 kB / 1.36 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/0.976, allocations: 0.875 kB / 1.36 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.976, allocations: 0.5625 kB / 1.36 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002444/0.9763, allocations: 253.5 kB / 1.36 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.9763, allocations: 0.7188 kB / 1.36 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003488/0.9766, allocations: 80.72 kB / 1.36 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.9766, allocations: 0.8438 kB / 1.36 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.022e-05/0.9767, allocations: 2.688 kB / 1.36 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.9767, allocations: 1.094 kB / 1.36 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.9767, allocations: 0 / 1.36 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003062/0.977, allocations: 173.4 kB / 1.361 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.417e-05/0.9771, allocations: 103.2 kB / 1.361 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.103e-05/0.9771, allocations: 3.641 kB / 1.361 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000398/0.9775, allocations: 70.91 kB / 1.361 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.9776, allocations: 28.95 kB / 1.361 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.031e-05/0.9777, allocations: 4.094 kB / 1.361 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.0001232/0.9778, allocations: 149.2 kB / 1.361 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003911/0.9782, allocations: 74.91 kB / 1.361 GB, free: 12.64 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,TMea.T_start,TMea.count,HMea.T_start,HMea.count) * Number of discrete states: 2 (TMea.count,HMea.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0001313/0.9783, allocations: 110.5 kB / 1.361 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.000404/0.9787, allocations: 304.8 kB / 1.361 GB, free: 12.28 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.9787, allocations: 4 kB / 1.361 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001222/0.9789, allocations: 67.45 kB / 1.361 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002907/0.9792, allocations: 33.91 kB / 1.361 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005969/0.9798, allocations: 232 kB / 1.362 GB, free: 12.01 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004163/0.9802, allocations: 0.7606 MB / 1.362 GB, free: 27.26 MB / 0.823 GB Notification: Performance of SimCode: time 2.4e-07/0.9802, allocations: 0 / 1.362 GB, free: 27.26 MB / 0.823 GB Notification: Performance of Templates: time 0.007666/0.9879, allocations: 4.018 MB / 1.366 GB, free: 24.57 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.makefile (rm -f Buildings_9_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe >> ../files/Buildings_9_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.sim & ./Buildings_9_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_Detailed_Examples_Controls_Validation_ElectrochromicWindow.csv","../files/Buildings_9_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches