Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.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.Utilities.Validation.OptimalStartNoHeatingNoCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|optSta.tOpt|optSta.optOn|TSetHea.y|TSetCoo.y|optSta.TZon",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling") translateModel(Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|optSta.tOpt|optSta.optOn|TSetHea.y|TSetCoo.y|optSta.TZon",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling") [: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.777/1.777, allocations: 387.2 MB / 394.5 MB, free: 13.68 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.001026/0.001026, allocations: 181.2 kB / 487 MB, free: 5.391 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.14/1.14, allocations: 221.3 MB / 0.7819 GB, free: 1.383 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.0008317/0.0008317, allocations: 90.12 kB / 0.9213 GB, free: 2.617 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.202e-06/6.222e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2/0.2001, allocations: 142.3 MB / 1.205 GB, free: 26.24 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5338/0.7339, allocations: 157.5 MB / 1.359 GB, free: 15.56 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001863/0.7341, allocations: 71.27 kB / 1.359 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.02709/0.7612, allocations: 11.81 MB / 1.371 GB, free: 7.312 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.087e-05/0.7613, allocations: 16 kB / 1.371 GB, free: 7.297 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.00105/0.7624, allocations: 0.9132 MB / 1.372 GB, free: 6.391 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.205e-05/0.7624, allocations: 11.97 kB / 1.372 GB, free: 6.379 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001286/0.7625, allocations: 86.97 kB / 1.372 GB, free: 6.293 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006131/0.7632, allocations: 488.9 kB / 1.372 GB, free: 5.852 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.7e-05/0.7632, allocations: 20 kB / 1.372 GB, free: 5.832 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.631e-05/0.7633, allocations: 40 kB / 1.372 GB, free: 5.793 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005358/0.7638, allocations: 355.5 kB / 1.373 GB, free: 5.578 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006153/0.7644, allocations: 493.4 kB / 1.373 GB, free: 5.195 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/0.7645, allocations: 3.984 kB / 1.373 GB, free: 5.191 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.713e-05/0.7645, allocations: 3.938 kB / 1.373 GB, free: 5.188 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.214e-05/0.7645, allocations: 16 kB / 1.373 GB, free: 5.172 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001984/0.7665, allocations: 1.93 MB / 1.375 GB, free: 3.566 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001332/0.7679, allocations: 0.8218 MB / 1.376 GB, free: 2.824 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002509/0.7681, allocations: 224.5 kB / 1.376 GB, free: 2.68 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.422e-05/0.7682, allocations: 8.438 kB / 1.376 GB, free: 2.672 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000267/0.7684, allocations: 227.1 kB / 1.376 GB, free: 2.5 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=57): time 2.014e-06/0.7684, allocations: 0 / 1.376 GB, free: 2.5 MB / 0.8073 GB Notification: Performance of matching and sorting (n=57): time 0.0005687/0.769, allocations: 394.3 kB / 1.377 GB, free: 2.199 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.095e-05/0.7691, allocations: 111.5 kB / 1.377 GB, free: 2.062 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003015/0.7694, allocations: 361.5 kB / 1.377 GB, free: 1.785 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 4.66e-05/0.7694, allocations: 32.7 kB / 1.377 GB, free: 1.75 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.7695, allocations: 251.5 kB / 1.377 GB, free: 1.527 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 8.431e-05/0.7696, allocations: 171.3 kB / 1.377 GB, free: 1.383 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.797e-05/0.7697, allocations: 4 kB / 1.377 GB, free: 1.379 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.245e-05/0.7697, allocations: 368.5 kB / 1.378 GB, free: 1.031 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002339/0.77, allocations: 165.7 kB / 1.378 GB, free: 0.9336 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002818/0.7703, allocations: 296.5 kB / 1.378 GB, free: 0.6719 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003748/0.7707, allocations: 194.3 kB / 1.378 GB, free: 0.5469 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.7707, allocations: 4 kB / 1.378 GB, free: 0.543 MB / 0.8073 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0007362/0.7714, allocations: 0.5175 MB / 1.379 GB, free: 140 kB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002308/0.7717, allocations: 0.703 MB / 1.38 GB, free: 15.39 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.35e-05/0.7717, allocations: 4 kB / 1.38 GB, free: 15.39 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.7717, allocations: 4 kB / 1.38 GB, free: 15.38 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003792/0.7721, allocations: 102.8 kB / 1.38 GB, free: 15.29 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.7721, allocations: 4 kB / 1.38 GB, free: 15.28 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004824/0.7726, allocations: 115.5 kB / 1.38 GB, free: 15.17 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.189e-05/0.7727, allocations: 27.92 kB / 1.38 GB, free: 15.14 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 5.581e-06/0.7727, allocations: 4 kB / 1.38 GB, free: 15.14 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000802/0.7735, allocations: 425.5 kB / 1.38 GB, free: 14.84 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.7735, allocations: 4.219 kB / 1.38 GB, free: 14.84 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.883e-06/0.7735, allocations: 8 kB / 1.38 GB, free: 14.83 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003046/0.7738, allocations: 87.3 kB / 1.38 GB, free: 14.75 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.479e-06/0.7738, allocations: 7.938 kB / 1.38 GB, free: 14.74 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004157/0.7742, allocations: 95.62 kB / 1.38 GB, free: 14.64 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.128e-05/0.7743, allocations: 27.11 kB / 1.38 GB, free: 14.62 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 22 ($whenCondition5,$whenCondition4,$whenCondition2,$whenCondition3,$whenCondition1,$PRE.optSta.hysSta.greHys.y,optSta.hysSta.greHys.y,optSta.falEdg.y,$PRE.optSta.falEdg.not_u,optSta.falEdg.not_u,$PRE.occSch.occupied,occSch.occupied,$PRE.occSch.tOcc,occSch.tOcc,$PRE.occSch.tNonOcc,occSch.tNonOcc,$PRE.occSch.tNext,occSch.tNext,$PRE.pul.booPul.y,pul.booPul.y,booToRea1.u,TRoo.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 1 * 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.0001254/0.7744, allocations: 127.1 kB / 1.381 GB, free: 14.5 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.847e-05/0.7745, allocations: 51.34 kB / 1.381 GB, free: 14.45 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001033/0.7746, allocations: 57.92 kB / 1.381 GB, free: 14.41 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.438e-06/0.7746, allocations: 15.97 kB / 1.381 GB, free: 14.4 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.7747, allocations: 0 / 1.381 GB, free: 14.4 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.7747, allocations: 0 / 1.381 GB, free: 14.4 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001286/0.776, allocations: 1.055 MB / 1.382 GB, free: 13.57 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.776, allocations: 0 / 1.382 GB, free: 13.57 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003603/0.7763, allocations: 95.14 kB / 1.382 GB, free: 13.48 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/0.7764, allocations: 4 kB / 1.382 GB, free: 13.48 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.957e-05/0.7764, allocations: 7.984 kB / 1.382 GB, free: 13.47 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.7764, allocations: 0 / 1.382 GB, free: 13.47 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.7764, allocations: 3.984 kB / 1.382 GB, free: 13.46 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008584/0.7773, allocations: 0.7303 MB / 1.383 GB, free: 12.88 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.652e-05/0.7774, allocations: 131.9 kB / 1.383 GB, free: 12.74 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.112e-05/0.7774, allocations: 18.95 kB / 1.383 GB, free: 12.72 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002954/0.7777, allocations: 35.97 kB / 1.383 GB, free: 12.69 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.665e-05/0.7778, allocations: 44.12 kB / 1.383 GB, free: 12.65 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.991e-05/0.7779, allocations: 12 kB / 1.383 GB, free: 12.64 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.0002444/0.7781, allocations: 272.8 kB / 1.383 GB, free: 12.45 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0006563/0.7788, allocations: 246.3 kB / 1.383 GB, free: 12.21 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (TRoo.y,conPID1.I.y,conPID.I.y) * Number of discrete variables: 13 ($whenCondition5,$whenCondition4,$whenCondition2,$whenCondition3,$whenCondition1,optSta.hysSta.greHys.y,optSta.falEdg.y,optSta.falEdg.not_u,occSch.occupied,occSch.tOcc,occSch.tNonOcc,occSch.tNext,pul.booPul.y) * Number of discrete states: 3 (occSch.tNext,optSta.hysSta.greHys.y,optSta.falEdg.not_u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000233/0.779, allocations: 165.7 kB / 1.383 GB, free: 12.04 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0009914/0.78, allocations: 0.7775 MB / 1.384 GB, free: 11.45 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.78, allocations: 4.062 kB / 1.384 GB, free: 11.45 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002589/0.7803, allocations: 199.5 kB / 1.384 GB, free: 11.3 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005241/0.7808, allocations: 93.34 kB / 1.384 GB, free: 11.23 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001419/0.7822, allocations: 0.7616 MB / 1.385 GB, free: 10.52 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005695/0.7828, allocations: 0.9647 MB / 1.386 GB, free: 9.535 MB / 0.823 GB Notification: Performance of SimCode: time 2.6e-07/0.7828, allocations: 0 / 1.386 GB, free: 9.535 MB / 0.823 GB Notification: Performance of Templates: time 0.01432/0.7972, allocations: 8.92 MB / 1.395 GB, free: 0.7383 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.makefile (rm -f Buildings_9_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.sim & ./Buildings_9_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_Utilities_Validation_OptimalStartNoHeatingNoCooling.csv","../files/Buildings_9_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches