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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.297/2.297, allocations: 390.3 MB / 405.3 MB, free: 13.42 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.001072/0.001072, allocations: 181 kB / 498.1 MB, free: 5.684 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.675/1.675, allocations: 223.2 MB / 0.7948 GB, free: 17.88 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.001003/0.001003, allocations: 114.3 kB / 0.9346 GB, free: 6.191 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003887/0.0003888, allocations: 10.97 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3395/0.3399, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2025/0.5424, allocations: 158.3 MB / 1.378 GB, free: 3.715 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002816/0.5428, allocations: 71.95 kB / 1.378 GB, free: 3.645 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.03461/0.5774, allocations: 12.19 MB / 1.389 GB, free: 7.426 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.004e-06/0.5774, allocations: 0 / 1.389 GB, free: 7.426 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 5.913e-05/0.5775, allocations: 15.98 kB / 1.389 GB, free: 7.41 MB / 0.8855 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.002184/0.5797, allocations: 0.9956 MB / 1.39 GB, free: 6.352 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.5798, allocations: 8.031 kB / 1.39 GB, free: 6.344 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003075/0.5801, allocations: 95.25 kB / 1.391 GB, free: 6.25 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009902/0.5811, allocations: 481.9 kB / 1.391 GB, free: 5.738 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.504e-05/0.5812, allocations: 57.31 kB / 1.391 GB, free: 5.684 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000126/0.5813, allocations: 64 kB / 1.391 GB, free: 5.621 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001205/0.5825, allocations: 0.6114 MB / 1.392 GB, free: 4.984 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/0.5825, allocations: 0 / 1.392 GB, free: 4.984 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.875e-05/0.5826, allocations: 28 kB / 1.392 GB, free: 4.957 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.552e-05/0.5826, allocations: 12 kB / 1.392 GB, free: 4.945 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009833/0.5836, allocations: 460.9 kB / 1.392 GB, free: 4.496 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003323/0.5869, allocations: 2.053 MB / 1.394 GB, free: 2.371 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002051/0.589, allocations: 0.9379 MB / 1.395 GB, free: 1.387 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.703e-05/0.5891, allocations: 4.438 kB / 1.395 GB, free: 1.383 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005812/0.5897, allocations: 302 kB / 1.395 GB, free: 1.078 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=57): time 3.416e-06/0.5897, allocations: 0 / 1.395 GB, free: 1.078 MB / 0.8855 GB Notification: Performance of matching and sorting (n=57): time 0.001464/0.5912, allocations: 0.7372 MB / 1.396 GB, free: 328 kB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.677e-05/0.5913, allocations: 119.4 kB / 1.396 GB, free: 184 kB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006651/0.5919, allocations: 450.1 kB / 1.397 GB, free: 15.73 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 8.732e-05/0.592, allocations: 41.7 kB / 1.397 GB, free: 15.68 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002922/0.5923, allocations: 316.8 kB / 1.397 GB, free: 15.37 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001602/0.5925, allocations: 181.4 kB / 1.397 GB, free: 15.19 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.712e-05/0.5925, allocations: 15.94 kB / 1.397 GB, free: 15.18 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0002028/0.5927, allocations: 370.8 kB / 1.398 GB, free: 14.8 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004625/0.5932, allocations: 213.1 kB / 1.398 GB, free: 14.59 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000556/0.5938, allocations: 349.2 kB / 1.398 GB, free: 14.2 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005008/0.5943, allocations: 259.8 kB / 1.398 GB, free: 13.94 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.5943, allocations: 0 / 1.398 GB, free: 13.94 MB / 0.9011 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001257/0.5956, allocations: 0.656 MB / 1.399 GB, free: 13.27 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003814/0.596, allocations: 0.7345 MB / 1.4 GB, free: 12.48 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.994e-05/0.596, allocations: 4 kB / 1.4 GB, free: 12.47 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.238e-05/0.596, allocations: 4 kB / 1.4 GB, free: 12.47 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004114/0.5965, allocations: 103.9 kB / 1.4 GB, free: 12.37 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.771e-05/0.5965, allocations: 11.92 kB / 1.4 GB, free: 12.36 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006038/0.5971, allocations: 131.5 kB / 1.4 GB, free: 12.23 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.341e-05/0.5972, allocations: 20 kB / 1.4 GB, free: 12.21 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.5972, allocations: 7.953 kB / 1.4 GB, free: 12.2 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009309/0.5981, allocations: 0.5262 MB / 1.4 GB, free: 11.67 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/0.5982, allocations: 4 kB / 1.401 GB, free: 11.66 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.935e-06/0.5982, allocations: 4 kB / 1.401 GB, free: 11.66 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003134/0.5985, allocations: 92.06 kB / 1.401 GB, free: 11.57 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/0.5985, allocations: 7.984 kB / 1.401 GB, free: 11.56 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005018/0.599, allocations: 107.5 kB / 1.401 GB, free: 11.46 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.536e-05/0.5991, allocations: 20 kB / 1.401 GB, free: 11.44 MB / 0.9011 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 () * Number of clocked 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.0004351/0.5995, allocations: 290.5 kB / 1.401 GB, free: 11.14 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001093/0.5996, allocations: 63.2 kB / 1.401 GB, free: 11.08 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001682/0.5998, allocations: 70.03 kB / 1.401 GB, free: 11.01 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.115e-05/0.5998, allocations: 4 kB / 1.401 GB, free: 11 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-05/0.5999, allocations: 7.938 kB / 1.401 GB, free: 11 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.5999, allocations: 3.984 kB / 1.401 GB, free: 10.99 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002186/0.6021, allocations: 1.252 MB / 1.402 GB, free: 9.676 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.6021, allocations: 0 / 1.402 GB, free: 9.676 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003828/0.6025, allocations: 91.95 kB / 1.402 GB, free: 9.586 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.207e-06/0.6025, allocations: 4 kB / 1.402 GB, free: 9.582 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.016e-05/0.6025, allocations: 8 kB / 1.402 GB, free: 9.574 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.378e-06/0.6026, allocations: 7.938 kB / 1.402 GB, free: 9.566 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.6026, allocations: 3.984 kB / 1.402 GB, free: 9.562 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001454/0.604, allocations: 0.8816 MB / 1.403 GB, free: 8.645 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001807/0.6042, allocations: 144.3 kB / 1.403 GB, free: 8.484 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.469e-05/0.6043, allocations: 12 kB / 1.403 GB, free: 8.473 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003133/0.6046, allocations: 43.95 kB / 1.404 GB, free: 8.43 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000124/0.6048, allocations: 44.34 kB / 1.404 GB, free: 8.387 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.305e-05/0.6048, allocations: 19.98 kB / 1.404 GB, free: 8.367 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.000525/0.6054, allocations: 346.9 kB / 1.404 GB, free: 8.031 MB / 0.9011 GB Notification: Performance of sort global known variables: time 3.51e-07/0.6054, allocations: 3.938 kB / 1.404 GB, free: 8.027 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.001157/0.6066, allocations: 271.2 kB / 1.404 GB, free: 7.762 MB / 0.9011 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) * Number of clocked states: 0 () * 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.0004861/0.6071, allocations: 185.8 kB / 1.404 GB, free: 7.574 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.001716/0.6088, allocations: 0.9492 MB / 1.405 GB, free: 6.59 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/0.6088, allocations: 4.672 kB / 1.405 GB, free: 6.586 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0004572/0.6093, allocations: 242.6 kB / 1.406 GB, free: 6.348 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007061/0.61, allocations: 102.1 kB / 1.406 GB, free: 6.242 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002074/0.6121, allocations: 1.306 MB / 1.407 GB, free: 4.906 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005463/0.6126, allocations: 0.9146 MB / 1.408 GB, free: 3.965 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0003794/0.613, allocations: 84.64 kB / 1.408 GB, free: 3.883 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001307/0.6132, allocations: 47.36 kB / 1.408 GB, free: 3.836 MB / 0.9011 GB Notification: Performance of SimCode: time 9.22e-07/0.6132, allocations: 0 / 1.408 GB, free: 3.836 MB / 0.9011 GB Notification: Performance of Templates: time 0.01416/0.6273, allocations: 7.14 MB / 1.415 GB, free: 12.77 MB / 0.9167 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