Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_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 10.0.0-master/package.mo): time 1.697/1.697, allocations: 390.4 MB / 397.7 MB, free: 11.25 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.000888/0.000888, allocations: 181.3 kB / 490.8 MB, free: 1.957 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.062/1.062, allocations: 221.3 MB / 0.7863 GB, free: 13.73 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.0007921/0.0007921, allocations: 88.11 kB / 0.9264 GB, free: 14.25 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.35e-06/5.371e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1638/0.1638, allocations: 143 MB / 1.212 GB, free: 40.14 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4524/0.6162, allocations: 158.3 MB / 1.366 GB, free: 17.2 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001613/0.6164, allocations: 70.98 kB / 1.366 GB, free: 17.2 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.02732/0.6438, allocations: 11.81 MB / 1.378 GB, free: 16.14 MB / 0.823 GB Notification: Performance of Transformations before backend: time 3.18e-05/0.6438, allocations: 14.5 kB / 1.378 GB, free: 16.14 MB / 0.823 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.001079/0.6449, allocations: 0.9121 MB / 1.379 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.005e-05/0.645, allocations: 9.062 kB / 1.379 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001248/0.6451, allocations: 87.38 kB / 1.379 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006181/0.6457, allocations: 482.8 kB / 1.379 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.424e-05/0.6457, allocations: 19.59 kB / 1.379 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.48e-05/0.6458, allocations: 46.23 kB / 1.379 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005518/0.6464, allocations: 346.2 kB / 1.38 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006601/0.6471, allocations: 499.2 kB / 1.38 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.6471, allocations: 1.125 kB / 1.38 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.626e-05/0.6471, allocations: 5.031 kB / 1.38 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.489e-05/0.6471, allocations: 14.91 kB / 1.38 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002156/0.6493, allocations: 1.928 MB / 1.382 GB, free: 29.73 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001413/0.6507, allocations: 0.8183 MB / 1.383 GB, free: 29.4 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002653/0.651, allocations: 219.1 kB / 1.383 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.037e-05/0.651, allocations: 16.98 kB / 1.383 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002751/0.6513, allocations: 227.7 kB / 1.383 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=57): time 1.573e-06/0.6513, allocations: 0 / 1.383 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of matching and sorting (n=57): time 0.0005704/0.6519, allocations: 399.9 kB / 1.384 GB, free: 29.18 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.8e-05/0.6519, allocations: 111 kB / 1.384 GB, free: 29.05 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000332/0.6523, allocations: 356.1 kB / 1.384 GB, free: 28.93 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.733e-05/0.6523, allocations: 37.5 kB / 1.384 GB, free: 28.89 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001141/0.6525, allocations: 255.6 kB / 1.384 GB, free: 28.7 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 8.339e-05/0.6525, allocations: 169.7 kB / 1.385 GB, free: 28.57 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.741e-05/0.6526, allocations: 2.469 kB / 1.385 GB, free: 28.57 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.6527, allocations: 367.8 kB / 1.385 GB, free: 28.24 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002428/0.6529, allocations: 162.8 kB / 1.385 GB, free: 28.23 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002949/0.6532, allocations: 301.6 kB / 1.385 GB, free: 28.07 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000366/0.6536, allocations: 194 kB / 1.385 GB, free: 28.04 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.6536, allocations: 0 / 1.385 GB, free: 28.04 MB / 0.8386 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0007934/0.6544, allocations: 0.5158 MB / 1.386 GB, free: 27.91 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002017/0.6546, allocations: 0.7051 MB / 1.387 GB, free: 27.17 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.6547, allocations: 3.844 kB / 1.387 GB, free: 27.17 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.6547, allocations: 3.875 kB / 1.387 GB, free: 27.17 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003592/0.655, allocations: 105.5 kB / 1.387 GB, free: 27.14 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/0.6551, allocations: 7.781 kB / 1.387 GB, free: 27.14 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004457/0.6555, allocations: 113.2 kB / 1.387 GB, free: 27.09 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.128e-05/0.6556, allocations: 20.62 kB / 1.387 GB, free: 27.09 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 5.53e-06/0.6556, allocations: 3.75 kB / 1.387 GB, free: 27.09 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007158/0.6563, allocations: 431.2 kB / 1.387 GB, free: 27.03 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.6563, allocations: 6.406 kB / 1.387 GB, free: 27.02 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.771e-06/0.6563, allocations: 4.906 kB / 1.387 GB, free: 27.02 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003016/0.6566, allocations: 84.94 kB / 1.387 GB, free: 27.01 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.6566, allocations: 13.73 kB / 1.387 GB, free: 27 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003948/0.657, allocations: 94.28 kB / 1.388 GB, free: 26.96 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.133e-05/0.6571, allocations: 20.59 kB / 1.388 GB, free: 26.96 MB / 0.8386 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.0001128/0.6572, allocations: 130.6 kB / 1.388 GB, free: 26.85 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.286e-05/0.6573, allocations: 56.58 kB / 1.388 GB, free: 26.82 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.974e-05/0.6574, allocations: 56.55 kB / 1.388 GB, free: 26.8 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.6574, allocations: 5.781 kB / 1.388 GB, free: 26.8 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.6574, allocations: 0 / 1.388 GB, free: 26.8 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/0.6574, allocations: 9.797 kB / 1.388 GB, free: 26.79 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001153/0.6586, allocations: 1.051 MB / 1.389 GB, free: 26.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.6586, allocations: 8.656 kB / 1.389 GB, free: 26.29 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003694/0.659, allocations: 92.56 kB / 1.389 GB, free: 26.27 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.57e-06/0.659, allocations: 6.312 kB / 1.389 GB, free: 26.27 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.747e-05/0.659, allocations: 3.031 kB / 1.389 GB, free: 26.27 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.409e-06/0.659, allocations: 2.625 kB / 1.389 GB, free: 26.27 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.659, allocations: 0.8125 kB / 1.389 GB, free: 26.27 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008276/0.6598, allocations: 0.726 MB / 1.39 GB, free: 26 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.689e-05/0.6599, allocations: 135.1 kB / 1.39 GB, free: 25.87 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.664e-05/0.66, allocations: 3.562 kB / 1.39 GB, free: 25.87 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002838/0.6603, allocations: 44.91 kB / 1.39 GB, free: 25.85 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.286e-05/0.6604, allocations: 37.88 kB / 1.39 GB, free: 25.83 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.043e-05/0.6604, allocations: 22.83 kB / 1.39 GB, free: 25.82 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0002299/0.6606, allocations: 266.6 kB / 1.39 GB, free: 25.73 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005902/0.6612, allocations: 251.5 kB / 1.39 GB, free: 25.66 MB / 0.8386 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.0002034/0.6614, allocations: 171.9 kB / 1.391 GB, free: 25.54 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0009265/0.6624, allocations: 0.7759 MB / 1.391 GB, free: 25.36 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.6624, allocations: 1.406 kB / 1.391 GB, free: 25.36 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002401/0.6626, allocations: 198.2 kB / 1.391 GB, free: 25.34 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000473/0.6631, allocations: 85.31 kB / 1.392 GB, free: 25.32 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001214/0.6643, allocations: 0.7694 MB / 1.392 GB, free: 24.98 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005507/0.6649, allocations: 0.9649 MB / 1.393 GB, free: 24.16 MB / 0.8386 GB Notification: Performance of SimCode: time 2.6e-07/0.6649, allocations: 4 kB / 1.393 GB, free: 24.16 MB / 0.8386 GB Notification: Performance of Templates: time 0.01314/0.6781, allocations: 8.93 MB / 1.402 GB, free: 19.86 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_Validation_OptimalStartNoHeatingNoCooling.csv","../files/Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches