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/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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001349/0.001349, allocations: 115.2 kB / 16.42 MB, free: 6.5 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.001431/0.001431, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.401/1.401, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.242/2.242, allocations: 390.3 MB / 0.6655 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001461, allocations: 63.84 kB / 0.9515 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.01/1.011, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling): time 0.007729/1.019, allocations: 6.023 MB / 1.094 GB, free: 1.133 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.006015/1.025, allocations: 2.804 MB / 1.097 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001478/1.026, allocations: 41.16 kB / 1.097 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0003894/1.027, allocations: 117.3 kB / 1.097 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.0003773/1.027, allocations: 117.1 kB / 1.097 GB, free: 14.87 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001455/1.029, allocations: 494.8 kB / 1.098 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001184/1.03, allocations: 0.9038 MB / 1.099 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007393/1.031, allocations: 427.7 kB / 1.099 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004876/1.031, allocations: 318.2 kB / 1.1 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000476/1.032, allocations: 351.2 kB / 1.1 GB, free: 13.53 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001582/1.032, allocations: 88.91 kB / 1.1 GB, free: 13.53 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000388/1.032, allocations: 180 kB / 1.1 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002113/1.032, allocations: 178.1 kB / 1.1 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0003753/1.033, allocations: 370.7 kB / 1.101 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.00136/1.034, allocations: 1.037 MB / 1.102 GB, free: 12.69 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/1.034, allocations: 0 / 1.102 GB, free: 12.69 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.653e-06/1.034, allocations: 1.188 kB / 1.102 GB, free: 12.69 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.835e-05/1.034, allocations: 0 / 1.102 GB, free: 12.69 MB / 0.8731 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.002048/1.036, allocations: 1.085 MB / 1.103 GB, free: 11.91 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/1.036, allocations: 7.75 kB / 1.103 GB, free: 11.91 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00018/1.036, allocations: 89.05 kB / 1.103 GB, free: 11.87 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007369/1.037, allocations: 0.4904 MB / 1.103 GB, free: 11.49 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.384e-05/1.037, allocations: 50.28 kB / 1.103 GB, free: 11.47 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001239/1.037, allocations: 66.77 kB / 1.103 GB, free: 11.45 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001306/1.039, allocations: 0.6027 MB / 1.104 GB, free: 11.17 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.961e-05/1.039, allocations: 192 / 1.104 GB, free: 11.17 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.582e-05/1.039, allocations: 30.84 kB / 1.104 GB, free: 11.15 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-05/1.039, allocations: 15.91 kB / 1.104 GB, free: 11.15 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001139/1.04, allocations: 437.5 kB / 1.104 GB, free: 11.01 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00421/1.044, allocations: 2.285 MB / 1.107 GB, free: 9.496 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002188/1.046, allocations: 0.8233 MB / 1.108 GB, free: 9.117 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000523/1.047, allocations: 251 kB / 1.108 GB, free: 9.023 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 4.439e-05/1.047, allocations: 5.609 kB / 1.108 GB, free: 9.023 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005993/1.048, allocations: 255.6 kB / 1.108 GB, free: 8.91 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=51): time 2.986e-06/1.048, allocations: 0 / 1.108 GB, free: 8.91 MB / 0.8731 GB Notification: Performance of matching and sorting (n=51): time 0.001384/1.049, allocations: 0.5901 MB / 1.109 GB, free: 8.688 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.908e-05/1.049, allocations: 116 kB / 1.109 GB, free: 8.559 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006525/1.05, allocations: 496.3 kB / 1.109 GB, free: 8.316 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 6.915e-05/1.05, allocations: 42.52 kB / 1.109 GB, free: 8.277 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002833/1.05, allocations: 346 kB / 1.11 GB, free: 8.004 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001729/1.05, allocations: 165.1 kB / 1.11 GB, free: 7.875 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000229/1.051, allocations: 127.5 kB / 1.11 GB, free: 7.816 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001801/1.051, allocations: 372.1 kB / 1.11 GB, free: 7.477 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004783/1.051, allocations: 206 kB / 1.11 GB, free: 7.398 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006006/1.052, allocations: 388.1 kB / 1.111 GB, free: 7.109 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008846/1.053, allocations: 0.5208 MB / 1.111 GB, free: 6.77 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/1.053, allocations: 0 / 1.111 GB, free: 6.77 MB / 0.8731 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001299/1.054, allocations: 0.6714 MB / 1.112 GB, free: 6.469 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 4.71e-05/1.054, allocations: 40.25 kB / 1.112 GB, free: 6.434 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.929e-05/1.054, allocations: 6.281 kB / 1.112 GB, free: 6.434 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.259e-05/1.054, allocations: 10.66 kB / 1.112 GB, free: 6.43 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004228/1.055, allocations: 103 kB / 1.112 GB, free: 6.418 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.847e-05/1.055, allocations: 12.8 kB / 1.112 GB, free: 6.414 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00055/1.055, allocations: 103.3 kB / 1.112 GB, free: 6.379 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.982e-05/1.055, allocations: 31 kB / 1.112 GB, free: 6.371 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005251/1.056, allocations: 317.4 kB / 1.112 GB, free: 6.195 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004843/1.056, allocations: 363.5 kB / 1.113 GB, free: 5.918 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006729/1.057, allocations: 487.4 kB / 1.113 GB, free: 5.582 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.307e-06/1.057, allocations: 1.125 kB / 1.113 GB, free: 5.582 MB / 0.8731 GB Notification: Performance of matching and sorting (n=77) (initialization_lambda0): time 0.001164/1.058, allocations: 0.6248 MB / 1.114 GB, free: 5.293 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.439e-05/1.058, allocations: 39.53 kB / 1.114 GB, free: 5.258 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/1.058, allocations: 5.406 kB / 1.114 GB, free: 5.258 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.277e-06/1.058, allocations: 7.344 kB / 1.114 GB, free: 5.258 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003396/1.059, allocations: 93.78 kB / 1.114 GB, free: 5.246 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-05/1.059, allocations: 10.73 kB / 1.114 GB, free: 5.242 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005346/1.059, allocations: 107.8 kB / 1.114 GB, free: 5.207 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.977e-05/1.059, allocations: 34.81 kB / 1.114 GB, free: 5.195 MB / 0.8731 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.0002103/1.059, allocations: 228.5 kB / 1.114 GB, free: 4.984 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.012e-05/1.059, allocations: 60.62 kB / 1.114 GB, free: 4.949 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001321/1.06, allocations: 67.78 kB / 1.115 GB, free: 4.898 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.798e-06/1.06, allocations: 10.12 kB / 1.115 GB, free: 4.891 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/1.06, allocations: 0.75 kB / 1.115 GB, free: 4.891 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001283/1.06, allocations: 139.2 kB / 1.115 GB, free: 4.754 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.662e-05/1.06, allocations: 7.562 kB / 1.115 GB, free: 4.75 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002546/1.06, allocations: 33.27 kB / 1.115 GB, free: 4.742 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001141/1.06, allocations: 35.98 kB / 1.115 GB, free: 4.734 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001103/1.061, allocations: 0.5339 MB / 1.115 GB, free: 4.488 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001371/1.063, allocations: 0.8492 MB / 1.116 GB, free: 4.031 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003875/1.063, allocations: 200.1 kB / 1.116 GB, free: 3.961 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004227/1.064, allocations: 335.8 kB / 1.117 GB, free: 3.801 MB / 0.8731 GB Notification: Performance of Backend: time 2.3e-07/1.064, allocations: 0 / 1.117 GB, free: 3.801 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001919/1.065, allocations: 0.9093 MB / 1.117 GB, free: 3.32 MB / 0.8731 GB Notification: Performance of SimCode: time 0.002113/1.068, allocations: 1.46 MB / 1.119 GB, free: 2.285 MB / 0.8731 GB Notification: Performance of Templates: time 0.02075/1.088, allocations: 9.556 MB / 1.128 GB, free: 1.59 MB / 0.8731 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches