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.001564/0.001564, allocations: 110.8 kB / 16.42 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.001587/0.001587, allocations: 188.3 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.444/1.444, allocations: 222.9 MB / 241.1 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.851/2.851, allocations: 469.4 MB / 0.7428 GB, free: 3.578 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001602/0.001602, allocations: 63.91 kB / 1.065 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.226/1.227, allocations: 159.1 MB / 1.221 GB, free: 2.336 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling): time 0.01046/1.238, allocations: 6.032 MB / 1.227 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.00771/1.246, allocations: 2.773 MB / 1.229 GB, free: 9.488 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002578/1.248, allocations: 35.88 kB / 1.229 GB, free: 9.453 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0007222/1.249, allocations: 122.6 kB / 1.23 GB, free: 9.332 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0009144/1.25, allocations: 114.9 kB / 1.23 GB, free: 9.219 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002024/1.252, allocations: 494.3 kB / 1.23 GB, free: 8.738 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.00174/1.254, allocations: 0.9034 MB / 1.231 GB, free: 7.828 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009916/1.255, allocations: 426.3 kB / 1.231 GB, free: 7.387 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006832/1.256, allocations: 322.7 kB / 1.232 GB, free: 7.07 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006761/1.256, allocations: 346.2 kB / 1.232 GB, free: 6.73 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0003117/1.257, allocations: 84 kB / 1.232 GB, free: 6.648 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005175/1.257, allocations: 171.9 kB / 1.232 GB, free: 6.48 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002791/1.257, allocations: 179.3 kB / 1.233 GB, free: 6.305 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0005322/1.258, allocations: 373.9 kB / 1.233 GB, free: 5.938 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001703/1.26, allocations: 1.029 MB / 1.234 GB, free: 4.91 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/1.26, allocations: 4 kB / 1.234 GB, free: 4.906 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.154e-06/1.26, allocations: 0 / 1.234 GB, free: 4.906 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.317e-05/1.26, allocations: 4 kB / 1.234 GB, free: 4.902 MB / 0.9512 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.003004/1.263, allocations: 1.09 MB / 1.235 GB, free: 3.75 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.756e-05/1.263, allocations: 8.625 kB / 1.235 GB, free: 3.742 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002774/1.263, allocations: 87.91 kB / 1.235 GB, free: 3.656 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009299/1.264, allocations: 498.7 kB / 1.236 GB, free: 3.133 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.151e-05/1.264, allocations: 57.66 kB / 1.236 GB, free: 3.078 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001249/1.264, allocations: 72.38 kB / 1.236 GB, free: 3.008 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001282/1.266, allocations: 0.6003 MB / 1.236 GB, free: 2.383 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.084e-05/1.266, allocations: 4.125 kB / 1.236 GB, free: 2.379 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.163e-05/1.266, allocations: 31.94 kB / 1.236 GB, free: 2.348 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.608e-05/1.266, allocations: 12 kB / 1.236 GB, free: 2.336 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001033/1.267, allocations: 437 kB / 1.237 GB, free: 1.91 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003873/1.271, allocations: 2.273 MB / 1.239 GB, free: 15.52 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00206/1.273, allocations: 0.8318 MB / 1.24 GB, free: 14.65 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004652/1.273, allocations: 244.4 kB / 1.24 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 5.298e-05/1.273, allocations: 12.36 kB / 1.24 GB, free: 14.4 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005339/1.274, allocations: 261.5 kB / 1.24 GB, free: 14.13 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=51): time 5.069e-06/1.274, allocations: 0 / 1.24 GB, free: 14.13 MB / 0.9669 GB Notification: Performance of matching and sorting (n=51): time 0.001441/1.275, allocations: 0.5919 MB / 1.241 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.445e-05/1.275, allocations: 111.2 kB / 1.241 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000677/1.276, allocations: 0.4908 MB / 1.241 GB, free: 12.9 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 8.045e-05/1.276, allocations: 41.7 kB / 1.241 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003008/1.276, allocations: 340.2 kB / 1.242 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001789/1.277, allocations: 161.7 kB / 1.242 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000234/1.277, allocations: 134.2 kB / 1.242 GB, free: 12.22 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001861/1.277, allocations: 370.8 kB / 1.242 GB, free: 11.85 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004578/1.277, allocations: 211.4 kB / 1.243 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006311/1.278, allocations: 387.5 kB / 1.243 GB, free: 11.19 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009341/1.279, allocations: 0.5144 MB / 1.243 GB, free: 10.62 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.662e-06/1.279, allocations: 4 kB / 1.243 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001359/1.28, allocations: 0.6757 MB / 1.244 GB, free: 9.926 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 5.561e-05/1.28, allocations: 41.7 kB / 1.244 GB, free: 9.879 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.272e-05/1.281, allocations: 4 kB / 1.244 GB, free: 9.875 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.207e-05/1.281, allocations: 8 kB / 1.244 GB, free: 9.867 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004248/1.281, allocations: 103.8 kB / 1.244 GB, free: 9.766 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.309e-05/1.281, allocations: 11.92 kB / 1.244 GB, free: 9.754 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005955/1.282, allocations: 111.3 kB / 1.244 GB, free: 9.645 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.998e-05/1.282, allocations: 28 kB / 1.244 GB, free: 9.617 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005828/1.282, allocations: 324 kB / 1.245 GB, free: 9.301 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000502/1.283, allocations: 355.6 kB / 1.245 GB, free: 8.883 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007659/1.284, allocations: 490.7 kB / 1.246 GB, free: 8.344 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.228e-06/1.284, allocations: 4 kB / 1.246 GB, free: 8.34 MB / 0.9669 GB Notification: Performance of matching and sorting (n=77) (initialization_lambda0): time 0.001279/1.285, allocations: 0.6245 MB / 1.246 GB, free: 7.703 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.963e-05/1.285, allocations: 41.7 kB / 1.246 GB, free: 7.656 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/1.285, allocations: 4 kB / 1.246 GB, free: 7.652 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/1.285, allocations: 8.5 kB / 1.246 GB, free: 7.645 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003391/1.285, allocations: 95.83 kB / 1.246 GB, free: 7.551 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.535e-05/1.285, allocations: 8 kB / 1.246 GB, free: 7.543 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006268/1.286, allocations: 95.52 kB / 1.246 GB, free: 7.449 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.493e-05/1.286, allocations: 31.98 kB / 1.246 GB, free: 7.418 MB / 0.9669 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.0003061/1.286, allocations: 234 kB / 1.247 GB, free: 7.184 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001233/1.286, allocations: 59.25 kB / 1.247 GB, free: 7.125 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001743/1.287, allocations: 65.81 kB / 1.247 GB, free: 7.062 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.137e-05/1.287, allocations: 3.984 kB / 1.247 GB, free: 7.059 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/1.287, allocations: 4 kB / 1.247 GB, free: 7.055 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001794/1.287, allocations: 124.3 kB / 1.247 GB, free: 6.914 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.189e-05/1.287, allocations: 15.98 kB / 1.247 GB, free: 6.898 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002647/1.287, allocations: 35.97 kB / 1.247 GB, free: 6.863 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001246/1.287, allocations: 36.33 kB / 1.247 GB, free: 6.828 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00123/1.289, allocations: 0.5347 MB / 1.248 GB, free: 6.281 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00141/1.29, allocations: 0.8409 MB / 1.248 GB, free: 5.426 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003849/1.29, allocations: 203.4 kB / 1.249 GB, free: 5.227 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0004213/1.291, allocations: 330.9 kB / 1.249 GB, free: 4.906 MB / 0.9669 GB Notification: Performance of Backend: time 2.9e-07/1.291, allocations: 0 / 1.249 GB, free: 4.906 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002062/1.293, allocations: 0.9103 MB / 1.25 GB, free: 3.953 MB / 0.9669 GB Notification: Performance of SimCode: time 0.002442/1.295, allocations: 1.477 MB / 1.251 GB, free: 2.422 MB / 0.9669 GB Notification: Performance of Templates: time 0.02124/1.317, allocations: 9.56 MB / 1.26 GB, free: 8.941 MB / 0.9825 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