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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.276/2.276, allocations: 390.3 MB / 402.8 MB, free: 6.707 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.0009948/0.0009948, allocations: 176.9 kB / 496.1 MB, free: 12.89 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.58/1.58, allocations: 221.3 MB / 0.7915 GB, free: 5.48 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.0008798/0.0008797, allocations: 91.94 kB / 0.9317 GB, free: 5.789 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.949e-05/3.952e-05, allocations: 4 kB / 1.079 GB, free: 140.6 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3656/0.3657, allocations: 143 MB / 1.219 GB, free: 13.56 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.17/1.535, allocations: 159.1 MB / 1.374 GB, free: 11.19 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002432/1.536, allocations: 68.06 kB / 1.374 GB, free: 11.16 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.03456/1.57, allocations: 12.17 MB / 1.386 GB, free: 0.8047 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.996e-06/1.57, allocations: 0 / 1.386 GB, free: 0.8047 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.76e-05/1.571, allocations: 12 kB / 1.386 GB, free: 0.793 MB / 0.8386 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.002341/1.573, allocations: 0.9056 MB / 1.387 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.199e-05/1.573, allocations: 12.03 kB / 1.387 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004324/1.573, allocations: 91.27 kB / 1.387 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001191/1.575, allocations: 467.1 kB / 1.387 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.457e-05/1.575, allocations: 54.98 kB / 1.388 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001911/1.575, allocations: 76.16 kB / 1.388 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001174/1.576, allocations: 0.5664 MB / 1.388 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.266e-05/1.576, allocations: 0 / 1.388 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.35e-05/1.576, allocations: 27.38 kB / 1.388 GB, free: 14.85 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.952e-05/1.576, allocations: 16 kB / 1.388 GB, free: 14.83 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008042/1.577, allocations: 380.6 kB / 1.389 GB, free: 14.59 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003794/1.581, allocations: 2.056 MB / 1.391 GB, free: 12.88 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001887/1.583, allocations: 0.8505 MB / 1.391 GB, free: 12.13 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004019/1.583, allocations: 234.3 kB / 1.392 GB, free: 11.98 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 4.677e-05/1.583, allocations: 8.438 kB / 1.392 GB, free: 11.97 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004803/1.584, allocations: 261.6 kB / 1.392 GB, free: 11.77 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=57): time 1.934e-06/1.584, allocations: 0 / 1.392 GB, free: 11.77 MB / 0.8542 GB Notification: Performance of matching and sorting (n=57): time 0.0009106/1.585, allocations: 436.1 kB / 1.392 GB, free: 11.44 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.633e-05/1.585, allocations: 111.4 kB / 1.392 GB, free: 11.3 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006501/1.585, allocations: 450.2 kB / 1.393 GB, free: 10.95 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 9.615e-05/1.585, allocations: 44.02 kB / 1.393 GB, free: 10.91 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002853/1.586, allocations: 325.7 kB / 1.393 GB, free: 10.7 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001733/1.586, allocations: 173.5 kB / 1.393 GB, free: 10.55 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.539e-05/1.586, allocations: 14.06 kB / 1.393 GB, free: 10.55 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001936/1.586, allocations: 377.6 kB / 1.394 GB, free: 10.2 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003568/1.587, allocations: 166.5 kB / 1.394 GB, free: 10.09 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004661/1.587, allocations: 317.6 kB / 1.394 GB, free: 9.809 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003945/1.587, allocations: 226.2 kB / 1.394 GB, free: 9.645 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/1.587, allocations: 0 / 1.394 GB, free: 9.645 MB / 0.8542 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001083/1.589, allocations: 0.5835 MB / 1.395 GB, free: 9.188 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004767/1.589, allocations: 0.7314 MB / 1.396 GB, free: 8.41 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.02e-05/1.589, allocations: 7.984 kB / 1.396 GB, free: 8.402 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.328e-05/1.589, allocations: 4 kB / 1.396 GB, free: 8.398 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004328/1.59, allocations: 95.02 kB / 1.396 GB, free: 8.309 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.521e-05/1.59, allocations: 11.94 kB / 1.396 GB, free: 8.297 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006769/1.59, allocations: 121.6 kB / 1.396 GB, free: 8.188 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001025/1.59, allocations: 31.38 kB / 1.396 GB, free: 8.16 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/1.59, allocations: 4 kB / 1.396 GB, free: 8.156 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009253/1.591, allocations: 0.5024 MB / 1.396 GB, free: 7.797 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/1.591, allocations: 0 / 1.396 GB, free: 7.797 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/1.591, allocations: 8 kB / 1.396 GB, free: 7.789 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003454/1.592, allocations: 83.64 kB / 1.397 GB, free: 7.711 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/1.592, allocations: 12.16 kB / 1.397 GB, free: 7.699 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006176/1.592, allocations: 121.2 kB / 1.397 GB, free: 7.59 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.827e-05/1.592, allocations: 22.98 kB / 1.397 GB, free: 7.57 MB / 0.8542 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.0002491/1.593, allocations: 143.7 kB / 1.397 GB, free: 7.445 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001444/1.593, allocations: 67.2 kB / 1.397 GB, free: 7.379 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000192/1.593, allocations: 67.53 kB / 1.397 GB, free: 7.344 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.097e-05/1.593, allocations: 8 kB / 1.397 GB, free: 7.336 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.298e-05/1.593, allocations: 0 / 1.397 GB, free: 7.336 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.035e-05/1.593, allocations: 3.984 kB / 1.397 GB, free: 7.332 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002184/1.595, allocations: 1.188 MB / 1.398 GB, free: 6.383 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/1.595, allocations: 0 / 1.398 GB, free: 6.383 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004021/1.596, allocations: 91.64 kB / 1.398 GB, free: 6.297 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.015e-05/1.596, allocations: 8.062 kB / 1.398 GB, free: 6.289 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.547e-05/1.596, allocations: 14.36 kB / 1.398 GB, free: 6.281 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.8e-06/1.596, allocations: 4 kB / 1.398 GB, free: 6.277 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/1.596, allocations: 0 / 1.398 GB, free: 6.277 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001256/1.597, allocations: 0.7772 MB / 1.399 GB, free: 5.664 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002054/1.597, allocations: 139.4 kB / 1.399 GB, free: 5.516 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.964e-05/1.597, allocations: 10.69 kB / 1.399 GB, free: 5.512 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003296/1.598, allocations: 43.53 kB / 1.399 GB, free: 5.477 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001344/1.598, allocations: 40.14 kB / 1.399 GB, free: 5.441 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.155e-05/1.598, allocations: 26.48 kB / 1.399 GB, free: 5.422 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0004899/1.598, allocations: 339.8 kB / 1.4 GB, free: 5.172 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.5e-07/1.598, allocations: 0 / 1.4 GB, free: 5.172 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001047/1.6, allocations: 283.2 kB / 1.4 GB, free: 4.922 MB / 0.8542 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.0005113/1.6, allocations: 180.6 kB / 1.4 GB, free: 4.746 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001648/1.602, allocations: 0.8962 MB / 1.401 GB, free: 4.043 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/1.602, allocations: 0 / 1.401 GB, free: 4.043 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0003485/1.602, allocations: 203.2 kB / 1.401 GB, free: 3.898 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006822/1.603, allocations: 108.7 kB / 1.401 GB, free: 3.824 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001872/1.605, allocations: 0.7891 MB / 1.402 GB, free: 3.109 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006038/1.605, allocations: 0.9197 MB / 1.403 GB, free: 2.164 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0004875/1.606, allocations: 106.8 kB / 1.403 GB, free: 2.059 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001163/1.606, allocations: 47.42 kB / 1.403 GB, free: 2.012 MB / 0.8542 GB Notification: Performance of SimCode: time 6.21e-07/1.606, allocations: 0 / 1.403 GB, free: 2.012 MB / 0.8542 GB Notification: Performance of Templates: time 0.01816/1.624, allocations: 8.049 MB / 1.411 GB, free: 10.06 MB / 0.8698 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