Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001365/0.001365, allocations: 107.8 kB / 16.41 MB, free: 6.496 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.001402/0.001402, allocations: 192.3 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.485/1.485, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.623/2.623, allocations: 437.1 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001553/0.001553, allocations: 71.89 kB / 1.019 GB, free: 9.406 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.013/1.015, allocations: 151.6 MB / 1.167 GB, free: 3.828 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling): time 0.009213/1.024, allocations: 6.026 MB / 1.173 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.007346/1.032, allocations: 2.813 MB / 1.176 GB, free: 10.95 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002232/1.034, allocations: 43.81 kB / 1.176 GB, free: 10.9 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0007759/1.035, allocations: 126.6 kB / 1.176 GB, free: 10.78 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0008905/1.036, allocations: 110.9 kB / 1.176 GB, free: 10.67 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001917/1.038, allocations: 492.1 kB / 1.177 GB, free: 10.19 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001652/1.039, allocations: 0.9034 MB / 1.178 GB, free: 9.281 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008987/1.04, allocations: 422.3 kB / 1.178 GB, free: 8.848 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006418/1.041, allocations: 330.8 kB / 1.178 GB, free: 8.523 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006373/1.042, allocations: 342.2 kB / 1.179 GB, free: 8.188 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002804/1.042, allocations: 88 kB / 1.179 GB, free: 8.102 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004786/1.042, allocations: 179.9 kB / 1.179 GB, free: 7.926 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002893/1.043, allocations: 175.3 kB / 1.179 GB, free: 7.754 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0006049/1.043, allocations: 366 kB / 1.179 GB, free: 7.395 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001629/1.045, allocations: 1.041 MB / 1.18 GB, free: 6.355 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/1.045, allocations: 0 / 1.18 GB, free: 6.355 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.054e-06/1.045, allocations: 4 kB / 1.18 GB, free: 6.352 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.853e-05/1.045, allocations: 0 / 1.18 GB, free: 6.352 MB / 0.9044 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.002909/1.048, allocations: 1.09 MB / 1.181 GB, free: 5.199 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.966e-05/1.048, allocations: 8.922 kB / 1.181 GB, free: 5.191 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002739/1.048, allocations: 87.91 kB / 1.182 GB, free: 5.105 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009508/1.049, allocations: 498.8 kB / 1.182 GB, free: 4.578 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.843e-05/1.049, allocations: 53.62 kB / 1.182 GB, free: 4.527 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001417/1.049, allocations: 72.28 kB / 1.182 GB, free: 4.457 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001251/1.051, allocations: 0.5964 MB / 1.183 GB, free: 3.836 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.951e-05/1.051, allocations: 8.188 kB / 1.183 GB, free: 3.828 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.04e-05/1.051, allocations: 23.94 kB / 1.183 GB, free: 3.805 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.956e-05/1.051, allocations: 19.94 kB / 1.183 GB, free: 3.785 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009024/1.052, allocations: 440.9 kB / 1.183 GB, free: 3.355 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003213/1.055, allocations: 2.269 MB / 1.185 GB, free: 0.9727 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002124/1.057, allocations: 0.8277 MB / 1.186 GB, free: 100 kB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004557/1.058, allocations: 243.6 kB / 1.186 GB, free: 15.86 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 4.225e-05/1.058, allocations: 8.797 kB / 1.186 GB, free: 15.85 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005335/1.058, allocations: 261.3 kB / 1.187 GB, free: 15.59 MB / 0.92 GB Notification: Performance of pre-optimization done (n=51): time 3.136e-06/1.058, allocations: 0 / 1.187 GB, free: 15.59 MB / 0.92 GB Notification: Performance of matching and sorting (n=51): time 0.001393/1.06, allocations: 0.5958 MB / 1.187 GB, free: 14.98 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001003/1.06, allocations: 119.2 kB / 1.187 GB, free: 14.84 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006434/1.06, allocations: 490.7 kB / 1.188 GB, free: 14.35 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 6.929e-05/1.06, allocations: 41.7 kB / 1.188 GB, free: 14.3 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003176/1.061, allocations: 336.2 kB / 1.188 GB, free: 13.97 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001593/1.061, allocations: 169.6 kB / 1.188 GB, free: 13.8 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002129/1.061, allocations: 130.2 kB / 1.189 GB, free: 13.67 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001995/1.061, allocations: 370.8 kB / 1.189 GB, free: 13.3 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004823/1.062, allocations: 207.4 kB / 1.189 GB, free: 13.09 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000777/1.063, allocations: 383.5 kB / 1.189 GB, free: 12.64 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001093/1.064, allocations: 0.5183 MB / 1.19 GB, free: 12.07 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.543e-06/1.064, allocations: 8 kB / 1.19 GB, free: 12.06 MB / 0.92 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.00141/1.065, allocations: 0.6717 MB / 1.191 GB, free: 11.38 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 6.978e-05/1.065, allocations: 37.7 kB / 1.191 GB, free: 11.33 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.927e-05/1.065, allocations: 7.984 kB / 1.191 GB, free: 11.32 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.503e-05/1.065, allocations: 8 kB / 1.191 GB, free: 11.32 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000424/1.066, allocations: 99.83 kB / 1.191 GB, free: 11.22 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-05/1.066, allocations: 15.92 kB / 1.191 GB, free: 11.2 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005757/1.066, allocations: 115.5 kB / 1.191 GB, free: 11.09 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-05/1.067, allocations: 24 kB / 1.191 GB, free: 11.07 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005568/1.067, allocations: 317.4 kB / 1.191 GB, free: 10.75 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005766/1.068, allocations: 359.5 kB / 1.192 GB, free: 10.33 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009053/1.069, allocations: 498.7 kB / 1.192 GB, free: 9.785 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.084e-06/1.069, allocations: 0 / 1.192 GB, free: 9.785 MB / 0.92 GB Notification: Performance of matching and sorting (n=77) (initialization_lambda0): time 0.001099/1.07, allocations: 0.6246 MB / 1.193 GB, free: 9.145 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.154e-05/1.07, allocations: 37.7 kB / 1.193 GB, free: 9.102 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/1.07, allocations: 4.5 kB / 1.193 GB, free: 9.098 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/1.07, allocations: 12 kB / 1.193 GB, free: 9.086 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003234/1.07, allocations: 95.83 kB / 1.193 GB, free: 8.992 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/1.07, allocations: 4 kB / 1.193 GB, free: 8.988 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005254/1.071, allocations: 104.6 kB / 1.193 GB, free: 8.887 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.58e-05/1.071, allocations: 24 kB / 1.193 GB, free: 8.863 MB / 0.92 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.0003053/1.071, allocations: 241.8 kB / 1.193 GB, free: 8.621 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.817e-05/1.071, allocations: 51.34 kB / 1.193 GB, free: 8.57 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001548/1.071, allocations: 65.81 kB / 1.193 GB, free: 8.508 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.212e-05/1.071, allocations: 7.922 kB / 1.193 GB, free: 8.5 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/1.071, allocations: 0 / 1.193 GB, free: 8.5 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001675/1.071, allocations: 140.2 kB / 1.193 GB, free: 8.344 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.588e-05/1.072, allocations: 12 kB / 1.193 GB, free: 8.332 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002451/1.072, allocations: 35.97 kB / 1.193 GB, free: 8.297 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001425/1.072, allocations: 40.33 kB / 1.193 GB, free: 8.258 MB / 0.92 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001455/1.073, allocations: 0.5309 MB / 1.194 GB, free: 7.719 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001409/1.075, allocations: 0.8447 MB / 1.195 GB, free: 6.859 MB / 0.92 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000369/1.075, allocations: 207.4 kB / 1.195 GB, free: 6.656 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0004844/1.076, allocations: 330.9 kB / 1.195 GB, free: 6.336 MB / 0.92 GB Notification: Performance of Backend: time 5.11e-07/1.076, allocations: 0 / 1.195 GB, free: 6.336 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001961/1.078, allocations: 0.9067 MB / 1.196 GB, free: 5.391 MB / 0.92 GB Notification: Performance of SimCode: time 0.002272/1.08, allocations: 1.468 MB / 1.198 GB, free: 3.867 MB / 0.92 GB Notification: Performance of Templates: time 0.02069/1.101, allocations: 9.554 MB / 1.207 GB, free: 10.39 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.makefile (rm -f Buildings_10_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.sim & ./Buildings_10_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_Utilities_Validation_OptimalStartNoHeatingNoCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches