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/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001923/0.001923, allocations: 108.6 kB / 16.41 MB, free: 6.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002101/0.002101, allocations: 189.6 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.898/1.898, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 4.262/4.262, allocations: 461.9 MB / 0.7355 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001943/0.001943, allocations: 63.84 kB / 1.055 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.559/1.561, allocations: 157.4 MB / 1.208 GB, free: 13.72 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling): time 0.01356/1.574, allocations: 6.03 MB / 1.214 GB, free: 7.668 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.008865/1.583, allocations: 2.754 MB / 1.217 GB, free: 4.906 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002562/1.586, allocations: 43.81 kB / 1.217 GB, free: 4.863 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0005971/1.586, allocations: 122.7 kB / 1.217 GB, free: 4.742 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0006473/1.587, allocations: 110.9 kB / 1.217 GB, free: 4.633 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002071/1.589, allocations: 492.5 kB / 1.218 GB, free: 4.156 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001585/1.591, allocations: 0.9034 MB / 1.219 GB, free: 3.246 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009799/1.592, allocations: 422.3 kB / 1.219 GB, free: 2.812 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005843/1.592, allocations: 322.7 kB / 1.219 GB, free: 2.496 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006141/1.593, allocations: 354.2 kB / 1.22 GB, free: 2.148 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001737/1.593, allocations: 84 kB / 1.22 GB, free: 2.066 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005066/1.594, allocations: 175.9 kB / 1.22 GB, free: 1.895 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0003007/1.594, allocations: 179.3 kB / 1.22 GB, free: 1.719 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0005183/1.595, allocations: 370 kB / 1.22 GB, free: 1.355 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001913/1.596, allocations: 1.033 MB / 1.221 GB, free: 332 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/1.596, allocations: 0 / 1.221 GB, free: 332 kB / 0.9356 GB Notification: Performance of FrontEnd: time 3.527e-06/1.596, allocations: 4 kB / 1.221 GB, free: 328 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.332e-05/1.596, allocations: 0 / 1.221 GB, free: 328 kB / 0.9356 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.003079/1.6, allocations: 1.082 MB / 1.222 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 6.478e-05/1.6, allocations: 8.031 kB / 1.222 GB, free: 15.17 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000259/1.6, allocations: 95.84 kB / 1.223 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001083/1.601, allocations: 494.8 kB / 1.223 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.11e-05/1.601, allocations: 49.69 kB / 1.223 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001774/1.601, allocations: 72.28 kB / 1.223 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001714/1.603, allocations: 0.6081 MB / 1.224 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.735e-05/1.603, allocations: 192 / 1.224 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.631e-05/1.603, allocations: 35.88 kB / 1.224 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.508e-05/1.603, allocations: 12 kB / 1.224 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001513/1.605, allocations: 448.9 kB / 1.224 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005141/1.61, allocations: 2.269 MB / 1.226 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003101/1.613, allocations: 0.82 MB / 1.227 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007257/1.614, allocations: 249.9 kB / 1.227 GB, free: 9.82 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 6.396e-05/1.614, allocations: 8.359 kB / 1.227 GB, free: 9.812 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008188/1.615, allocations: 261.3 kB / 1.228 GB, free: 9.547 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=51): time 6.161e-06/1.615, allocations: 0 / 1.228 GB, free: 9.547 MB / 0.9512 GB Notification: Performance of matching and sorting (n=51): time 0.002194/1.617, allocations: 0.5883 MB / 1.228 GB, free: 8.949 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001222/1.617, allocations: 111.2 kB / 1.228 GB, free: 8.816 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001007/1.618, allocations: 0.4909 MB / 1.229 GB, free: 8.312 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001056/1.618, allocations: 41.7 kB / 1.229 GB, free: 8.266 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004563/1.619, allocations: 340.2 kB / 1.229 GB, free: 7.93 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002438/1.619, allocations: 165.6 kB / 1.229 GB, free: 7.766 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000351/1.619, allocations: 130.2 kB / 1.23 GB, free: 7.633 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0002867/1.62, allocations: 370.8 kB / 1.23 GB, free: 7.262 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007552/1.62, allocations: 211.4 kB / 1.23 GB, free: 7.055 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009809/1.621, allocations: 383.6 kB / 1.23 GB, free: 6.605 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001501/1.623, allocations: 0.5183 MB / 1.231 GB, free: 6.031 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.202e-06/1.623, allocations: 0 / 1.231 GB, free: 6.031 MB / 0.9512 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002107/1.625, allocations: 0.6718 MB / 1.232 GB, free: 5.344 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 7.99e-05/1.625, allocations: 48.14 kB / 1.232 GB, free: 5.293 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.058e-05/1.625, allocations: 7.984 kB / 1.232 GB, free: 5.285 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.321e-05/1.625, allocations: 8 kB / 1.232 GB, free: 5.277 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006993/1.626, allocations: 99.83 kB / 1.232 GB, free: 5.18 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.31e-05/1.626, allocations: 12.05 kB / 1.232 GB, free: 5.168 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009325/1.627, allocations: 113.7 kB / 1.232 GB, free: 5.059 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.732e-05/1.627, allocations: 24 kB / 1.232 GB, free: 5.035 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009065/1.628, allocations: 329.4 kB / 1.232 GB, free: 4.711 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008442/1.629, allocations: 359.6 kB / 1.233 GB, free: 4.285 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001335/1.63, allocations: 494.7 kB / 1.233 GB, free: 3.742 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.075e-06/1.63, allocations: 4 kB / 1.233 GB, free: 3.738 MB / 0.9512 GB Notification: Performance of matching and sorting (n=77) (initialization_lambda0): time 0.001669/1.632, allocations: 0.6207 MB / 1.234 GB, free: 3.105 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 7.507e-05/1.632, allocations: 41.7 kB / 1.234 GB, free: 3.059 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.786e-05/1.632, allocations: 7.984 kB / 1.234 GB, free: 3.051 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/1.632, allocations: 8 kB / 1.234 GB, free: 3.043 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005379/1.633, allocations: 92.33 kB / 1.234 GB, free: 2.953 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.581e-05/1.633, allocations: 12 kB / 1.234 GB, free: 2.941 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008281/1.633, allocations: 99.5 kB / 1.234 GB, free: 2.844 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.76e-05/1.634, allocations: 28 kB / 1.234 GB, free: 2.816 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition1,$whenCondition2,pul.booPul.y,$PRE.pul.booPul.y,occSch.tNext,$PRE.occSch.tNext,occSch.tNonOcc,$PRE.occSch.tNonOcc,occSch.tOcc,$PRE.occSch.tOcc,occSch.occupied,$PRE.occSch.occupied,optSta.falEdg.not_u,$PRE.optSta.falEdg.not_u,optSta.falEdg.y,optSta.hysSta.greHys.y,$PRE.optSta.hysSta.greHys.y,$whenCondition3,conPID.con1.y,conPID1.con1.y,optSta.con3.y,optSta.con.y,optSta.optOn,TRoo.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003659/1.634, allocations: 229.8 kB / 1.234 GB, free: 2.586 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000136/1.634, allocations: 59.28 kB / 1.234 GB, free: 2.527 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001853/1.634, allocations: 61.81 kB / 1.234 GB, free: 2.465 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.417e-05/1.634, allocations: 3.984 kB / 1.234 GB, free: 2.461 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/1.634, allocations: 0 / 1.234 GB, free: 2.461 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002211/1.635, allocations: 140.2 kB / 1.234 GB, free: 2.305 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001099/1.635, allocations: 12 kB / 1.234 GB, free: 2.293 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003738/1.635, allocations: 31.97 kB / 1.234 GB, free: 2.262 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000158/1.635, allocations: 44.27 kB / 1.234 GB, free: 2.219 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001832/1.637, allocations: 0.5309 MB / 1.235 GB, free: 1.68 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002231/1.639, allocations: 0.8409 MB / 1.236 GB, free: 0.8203 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005809/1.64, allocations: 203.4 kB / 1.236 GB, free: 0.625 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.000634/1.641, allocations: 334.9 kB / 1.236 GB, free: 308 kB / 0.9512 GB Notification: Performance of Backend: time 8.01e-07/1.641, allocations: 0 / 1.236 GB, free: 308 kB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.003036/1.644, allocations: 0.9029 MB / 1.237 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of SimCode: time 0.003142/1.647, allocations: 1.476 MB / 1.239 GB, free: 13.83 MB / 0.9669 GB Notification: Performance of Templates: time 0.03041/1.677, allocations: 9.805 MB / 1.248 GB, free: 4.109 MB / 0.9669 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches