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.252/2.252, allocations: 390.5 MB / 398 MB, free: 10.95 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.001375/0.001375, allocations: 187.2 kB / 491.2 MB, free: 1.613 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.595/1.595, allocations: 221.5 MB / 0.7868 GB, free: 13.28 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.0009391/0.0009391, allocations: 95.88 kB / 0.9269 GB, free: 13.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.233e-05/3.235e-05, allocations: 5.938 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3369/0.3369, allocations: 143 MB / 1.212 GB, free: 39.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.135/1.472, allocations: 158.4 MB / 1.367 GB, free: 17.49 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000191/1.473, allocations: 77.75 kB / 1.367 GB, free: 17.49 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02879/1.502, allocations: 12.08 MB / 1.379 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.854e-06/1.502, allocations: 0 / 1.379 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.641e-05/1.502, allocations: 15.59 kB / 1.379 GB, free: 32.05 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.001245/1.503, allocations: 0.8976 MB / 1.38 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/1.503, allocations: 7.688 kB / 1.38 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001378/1.503, allocations: 89.86 kB / 1.38 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000644/1.504, allocations: 481.2 kB / 1.38 GB, free: 31 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.098e-05/1.504, allocations: 23.38 kB / 1.38 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.304e-05/1.504, allocations: 46.38 kB / 1.38 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005992/1.504, allocations: 350.4 kB / 1.381 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006899/1.505, allocations: 485.8 kB / 1.381 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/1.505, allocations: 0 / 1.381 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.896e-05/1.505, allocations: 3.984 kB / 1.381 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.184e-05/1.505, allocations: 23.34 kB / 1.381 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002183/1.507, allocations: 1.922 MB / 1.383 GB, free: 29.66 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001428/1.509, allocations: 0.8191 MB / 1.384 GB, free: 29.33 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002541/1.509, allocations: 222 kB / 1.384 GB, free: 29.3 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.408e-05/1.509, allocations: 7.719 kB / 1.384 GB, free: 29.3 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003302/1.509, allocations: 237.8 kB / 1.384 GB, free: 29.21 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=57): time 1.674e-06/1.51, allocations: 4 kB / 1.384 GB, free: 29.21 MB / 0.8386 GB Notification: Performance of matching and sorting (n=57): time 0.000625/1.51, allocations: 400.7 kB / 1.385 GB, free: 29.1 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.795e-05/1.51, allocations: 118.5 kB / 1.385 GB, free: 28.97 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003314/1.511, allocations: 361.6 kB / 1.385 GB, free: 28.83 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.751e-05/1.511, allocations: 29.61 kB / 1.385 GB, free: 28.8 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.000199/1.511, allocations: 329.8 kB / 1.386 GB, free: 28.61 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001012/1.511, allocations: 171.1 kB / 1.386 GB, free: 28.48 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.981e-05/1.511, allocations: 3.719 kB / 1.386 GB, free: 28.48 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001255/1.511, allocations: 369.2 kB / 1.386 GB, free: 28.15 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002327/1.511, allocations: 157.4 kB / 1.386 GB, free: 28.14 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002979/1.512, allocations: 305 kB / 1.386 GB, free: 27.98 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003557/1.512, allocations: 183.8 kB / 1.387 GB, free: 27.95 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/1.512, allocations: 4 kB / 1.387 GB, free: 27.95 MB / 0.8386 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0007774/1.513, allocations: 0.514 MB / 1.387 GB, free: 27.82 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002372/1.513, allocations: 0.7397 MB / 1.388 GB, free: 27.05 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.567e-05/1.513, allocations: 3.844 kB / 1.388 GB, free: 27.05 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/1.513, allocations: 3.875 kB / 1.388 GB, free: 27.05 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003501/1.513, allocations: 103.7 kB / 1.388 GB, free: 27.03 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/1.513, allocations: 7.828 kB / 1.388 GB, free: 27.03 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004389/1.514, allocations: 105.2 kB / 1.388 GB, free: 26.98 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.804e-05/1.514, allocations: 27.03 kB / 1.388 GB, free: 26.98 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.614e-06/1.514, allocations: 3.812 kB / 1.388 GB, free: 26.98 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006601/1.515, allocations: 426.2 kB / 1.389 GB, free: 26.92 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/1.515, allocations: 7.672 kB / 1.389 GB, free: 26.91 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.829e-06/1.515, allocations: 3.844 kB / 1.389 GB, free: 26.91 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002848/1.515, allocations: 93.98 kB / 1.389 GB, free: 26.89 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.546e-06/1.515, allocations: 4.062 kB / 1.389 GB, free: 26.89 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003726/1.515, allocations: 96.5 kB / 1.389 GB, free: 26.85 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.002e-05/1.515, allocations: 26.3 kB / 1.389 GB, free: 26.85 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.0001267/1.516, allocations: 122.6 kB / 1.389 GB, free: 26.73 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.886e-05/1.516, allocations: 53.91 kB / 1.389 GB, free: 26.71 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001074/1.516, allocations: 60.36 kB / 1.389 GB, free: 26.68 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/1.516, allocations: 11.62 kB / 1.389 GB, free: 26.68 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.824e-06/1.516, allocations: 0 / 1.389 GB, free: 26.68 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.732e-06/1.516, allocations: 3.984 kB / 1.389 GB, free: 26.68 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00115/1.517, allocations: 1.062 MB / 1.39 GB, free: 26.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/1.517, allocations: 3.953 kB / 1.39 GB, free: 26.18 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003368/1.517, allocations: 89.08 kB / 1.39 GB, free: 26.16 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.041e-06/1.517, allocations: 11.89 kB / 1.39 GB, free: 26.16 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.784e-05/1.517, allocations: 3.844 kB / 1.39 GB, free: 26.16 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/1.517, allocations: 0 / 1.39 GB, free: 26.16 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/1.517, allocations: 7.828 kB / 1.39 GB, free: 26.15 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007986/1.518, allocations: 0.7341 MB / 1.391 GB, free: 25.88 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.518e-05/1.518, allocations: 130.5 kB / 1.391 GB, free: 25.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.96e-05/1.518, allocations: 11.12 kB / 1.391 GB, free: 25.74 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002617/1.519, allocations: 31 kB / 1.391 GB, free: 25.73 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.984e-05/1.519, allocations: 37.84 kB / 1.391 GB, free: 25.72 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.669e-05/1.519, allocations: 19.06 kB / 1.391 GB, free: 25.71 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002157/1.519, allocations: 271.8 kB / 1.391 GB, free: 25.61 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.519, allocations: 3.844 kB / 1.391 GB, free: 25.61 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0006328/1.52, allocations: 250.4 kB / 1.392 GB, free: 25.55 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.0002402/1.52, allocations: 170.8 kB / 1.392 GB, free: 25.43 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0009405/1.521, allocations: 0.8471 MB / 1.393 GB, free: 25.18 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/1.521, allocations: 3.938 kB / 1.393 GB, free: 25.18 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.000232/1.521, allocations: 193.9 kB / 1.393 GB, free: 25.16 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005433/1.522, allocations: 92.33 kB / 1.393 GB, free: 25.13 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001146/1.523, allocations: 0.7478 MB / 1.394 GB, free: 24.78 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004051/1.523, allocations: 0.9245 MB / 1.394 GB, free: 23.97 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0003514/1.523, allocations: 107.8 kB / 1.395 GB, free: 23.92 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.827e-05/1.524, allocations: 38.36 kB / 1.395 GB, free: 23.91 MB / 0.8386 GB Notification: Performance of SimCode: time 2.3e-07/1.524, allocations: 4 kB / 1.395 GB, free: 23.9 MB / 0.8386 GB Notification: Performance of Templates: time 0.01297/1.537, allocations: 7.146 MB / 1.402 GB, free: 20.48 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