Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Enable_FreProSta.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Enable_FreProSta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|enaDis.yOutDam_max|enaDis.yRetDam_min|enaDis.yRetDam_max|enaDis.andEnaDis.y|enaDis.truFalHol.y|freProSta1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Enable_FreProSta") translateModel(Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Enable_FreProSta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|enaDis.yOutDam_max|enaDis.yRetDam_min|enaDis.yRetDam_max|enaDis.andEnaDis.y|enaDis.truFalHol.y|freProSta1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Enable_FreProSta") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001153/0.001153, allocations: 106.2 kB / 16.41 MB, free: 6.387 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.001449/0.001449, allocations: 187.3 kB / 17.34 MB, free: 5.84 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.427/1.427, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.646/2.646, allocations: 472.7 MB / 0.746 GB, free: 436 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.0014/0.0014, allocations: 63.91 kB / 1.07 GB, free: 9.496 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8527/0.8541, allocations: 159.9 MB / 1.226 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Enable_FreProSta): time 0.004329/0.8585, allocations: 2.904 MB / 1.229 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002247/0.8607, allocations: 1.262 MB / 1.23 GB, free: 9.32 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00043/0.8612, allocations: 15.94 kB / 1.231 GB, free: 9.305 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0003434/0.8616, allocations: 90.94 kB / 1.231 GB, free: 9.215 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0003026/0.8619, allocations: 99.06 kB / 1.231 GB, free: 9.117 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001229/0.8631, allocations: 0.5374 MB / 1.231 GB, free: 8.582 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001192/0.8643, allocations: 1.175 MB / 1.232 GB, free: 7.406 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001064/0.8654, allocations: 0.8051 MB / 1.233 GB, free: 6.578 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005582/0.8659, allocations: 402.8 kB / 1.234 GB, free: 6.184 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004961/0.8665, allocations: 422.2 kB / 1.234 GB, free: 5.77 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0002312/0.8667, allocations: 132 kB / 1.234 GB, free: 5.641 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002571/0.867, allocations: 152 kB / 1.234 GB, free: 5.492 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002243/0.8672, allocations: 259.3 kB / 1.234 GB, free: 5.238 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0004788/0.8677, allocations: 466.1 kB / 1.235 GB, free: 4.781 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001436/0.8691, allocations: 1.596 MB / 1.236 GB, free: 3.188 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.8691, allocations: 0 / 1.236 GB, free: 3.188 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.212e-06/0.8691, allocations: 0 / 1.236 GB, free: 3.188 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.074e-05/0.8692, allocations: 4 kB / 1.236 GB, free: 3.184 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.001865/0.871, allocations: 1.104 MB / 1.238 GB, free: 2.008 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.8711, allocations: 8.031 kB / 1.238 GB, free: 2 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001676/0.8713, allocations: 96.41 kB / 1.238 GB, free: 1.906 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007095/0.872, allocations: 0.5287 MB / 1.238 GB, free: 1.344 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.51e-05/0.8721, allocations: 74.36 kB / 1.238 GB, free: 1.27 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001236/0.8722, allocations: 100.4 kB / 1.238 GB, free: 1.172 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001384/0.8736, allocations: 0.8941 MB / 1.239 GB, free: 236 kB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.082e-05/0.8736, allocations: 7.938 kB / 1.239 GB, free: 228 kB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.923e-05/0.8737, allocations: 35.98 kB / 1.239 GB, free: 192 kB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.583e-05/0.8737, allocations: 20 kB / 1.239 GB, free: 172 kB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001037/0.8748, allocations: 0.5816 MB / 1.24 GB, free: 15.59 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00346/0.8782, allocations: 3.209 MB / 1.243 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001034/0.8793, allocations: 0.617 MB / 1.244 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004151/0.8797, allocations: 293.5 kB / 1.244 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.719e-05/0.8798, allocations: 4.438 kB / 1.244 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006716/0.8804, allocations: 478.4 kB / 1.244 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=69): time 2.204e-06/0.8804, allocations: 0 / 1.244 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of matching and sorting (n=69): time 0.001516/0.882, allocations: 0.8856 MB / 1.245 GB, free: 9.914 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.542e-05/0.8821, allocations: 182.6 kB / 1.245 GB, free: 9.699 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004041/0.8825, allocations: 433.2 kB / 1.246 GB, free: 9.27 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 8.478e-05/0.8826, allocations: 69.69 kB / 1.246 GB, free: 9.195 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002136/0.8828, allocations: 329.1 kB / 1.246 GB, free: 8.867 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.000131/0.8829, allocations: 170.7 kB / 1.246 GB, free: 8.699 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002901/0.8832, allocations: 222.6 kB / 1.247 GB, free: 8.473 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.8834, allocations: 370.8 kB / 1.247 GB, free: 8.102 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004517/0.8838, allocations: 249.9 kB / 1.247 GB, free: 7.859 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006265/0.8845, allocations: 0.5375 MB / 1.248 GB, free: 7.195 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008784/0.8853, allocations: 0.6993 MB / 1.248 GB, free: 6.363 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/0.8854, allocations: 7.938 kB / 1.248 GB, free: 6.355 MB / 0.9669 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.001368/0.8867, allocations: 0.8617 MB / 1.249 GB, free: 5.48 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.416e-05/0.8868, allocations: 43.11 kB / 1.249 GB, free: 5.434 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.396e-05/0.8868, allocations: 12 kB / 1.249 GB, free: 5.422 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.551e-05/0.8868, allocations: 15.98 kB / 1.249 GB, free: 5.406 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003314/0.8872, allocations: 115.7 kB / 1.249 GB, free: 5.293 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.393e-05/0.8872, allocations: 23.88 kB / 1.249 GB, free: 5.27 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004415/0.8877, allocations: 107.4 kB / 1.249 GB, free: 5.164 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.815e-05/0.8877, allocations: 47.98 kB / 1.25 GB, free: 5.117 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 92 ($PRE.enaDis.truFalHol.onDel1.u,$PRE.enaDis.truFalHol.onDel2.u,$PRE.enaDis.truFalHol.toTrue.enableFire,$PRE.enaDis.truFalHol.toFalse.enableFire,$PRE.enaDis.truFalHol.toTrue1.enableFire,$PRE.enaDis.truFalHol.toFalse1.enableFire,$PRE.enaDis.delOutDamOsc.u,$PRE.enaDis.delRetDam.u,$whenCondition13,$whenCondition14,$PRE.enaDis.delRetDam.t_next,$whenCondition10,$PRE.enaDis.delOutDamOsc.t_next,$whenCondition7,$PRE.enaDis.truFalHol.onDel2.t_next,$whenCondition4,$PRE.enaDis.truFalHol.onDel1.t_next,$whenCondition1,enaDis.delRetDam.t_next,enaDis.delOutDamOsc.t_next,enaDis.truFalHol.onDel2.t_next,enaDis.truFalHol.onDel1.t_next,enaDis.truFalHol.toTrue.t_start,$PRE.enaDis.truFalHol.toTrue.t_start,enaDis.truFalHol.toFalse.t_start,$PRE.enaDis.truFalHol.toFalse.t_start,enaDis.truFalHol.toTrue1.t_start,$PRE.enaDis.truFalHol.toTrue1.t_start,enaDis.truFalHol.toFalse1.t_start,$PRE.enaDis.truFalHol.toFalse1.t_start,enaDis.truFalHol.stateGraphRoot.resume,enaDis.truFalHol.stateGraphRoot.suspend,enaDis.conInt.y,freProSta1.y,booPul1.y,$PRE.booPul1.y,enaDis.delRetDam.y,enaDis.delRetDam.u,enaDis.delOutDamOsc.y,enaDis.delOutDamOsc.u,enaDis.and2.y,enaDis.outDamSwitch.u2,enaDis.hysOutEnt.y,$PRE.enaDis.hysOutEnt.y,enaDis.hysOutTem.y,$PRE.enaDis.hysOutTem.y,enaDis.andEnaDis.u2,enaDis.andEnaDis.u1,enaDis.truFalHol.toFalse1.enableFire,enaDis.truFalHol.toTrue1.enableFire,enaDis.truFalHol.initialStep.oldActive,$PRE.enaDis.truFalHol.initialStep.oldActive,enaDis.truFalHol.initialStep.newActive,$PRE.enaDis.truFalHol.initialStep.newActive,enaDis.truFalHol.initialStep.outPort[2].available,enaDis.truFalHol.initialStep.localActive,$PRE.enaDis.truFalHol.initialStep.localActive,enaDis.truFalHol.initialStep.active,enaDis.truFalHol.toFalse.enableFire,enaDis.truFalHol.toFalse.localCondition,enaDis.truFalHol.outputTrue.active,enaDis.truFalHol.outputTrue.oldActive,$PRE.enaDis.truFalHol.outputTrue.oldActive,enaDis.truFalHol.outputTrue.newActive,$PRE.enaDis.truFalHol.outputTrue.newActive,enaDis.truFalHol.outputTrue.inPort[2].occupied,enaDis.truFalHol.outputTrue.localActive,$PRE.enaDis.truFalHol.outputTrue.localActive,enaDis.truFalHol.toTrue.enableFire,enaDis.truFalHol.toTrue.localCondition,enaDis.truFalHol.outputFalse.active,enaDis.truFalHol.outputFalse.oldActive,$PRE.enaDis.truFalHol.outputFalse.oldActive,enaDis.truFalHol.outputFalse.newActive,$PRE.enaDis.truFalHol.outputFalse.newActive,enaDis.truFalHol.outputFalse.inPort[2].occupied,enaDis.truFalHol.outputFalse.localActive,$PRE.enaDis.truFalHol.outputFalse.localActive,enaDis.truFalHol.stateGraphRoot.activeSteps,enaDis.truFalHol.onDel2.y,enaDis.truFalHol.onDel2.u,enaDis.truFalHol.onDel1.y,enaDis.truFalHol.onDel1.u,enaDis.truFalHol.u,$whenCondition3,$whenCondition2,$whenCondition6,$whenCondition5,$whenCondition9,$whenCondition8,$whenCondition12,$whenCondition11) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (120): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * 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.00036/0.8881, allocations: 317 kB / 1.25 GB, free: 4.793 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.283e-05/0.8882, allocations: 63.62 kB / 1.25 GB, free: 4.73 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001168/0.8894, allocations: 0.6919 MB / 1.251 GB, free: 4.027 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.044e-05/0.8894, allocations: 7.922 kB / 1.251 GB, free: 4.02 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.8894, allocations: 7.938 kB / 1.251 GB, free: 4.012 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001054/0.8895, allocations: 136.6 kB / 1.251 GB, free: 3.859 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.024e-05/0.8896, allocations: 27.98 kB / 1.251 GB, free: 3.832 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001723/0.8898, allocations: 23.97 kB / 1.251 GB, free: 3.809 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001699/0.89, allocations: 88.41 kB / 1.251 GB, free: 3.723 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001304/0.8913, allocations: 1.105 MB / 1.252 GB, free: 2.613 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001187/0.8925, allocations: 1.176 MB / 1.253 GB, free: 1.41 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004338/0.8929, allocations: 344.3 kB / 1.253 GB, free: 1.078 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0002308/0.8932, allocations: 255.2 kB / 1.254 GB, free: 0.8281 MB / 0.9669 GB Notification: Performance of Backend: time 5.01e-07/0.8932, allocations: 0 / 1.254 GB, free: 0.8281 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001483/0.8946, allocations: 0.6197 MB / 1.254 GB, free: 188 kB / 0.9669 GB Notification: Performance of SimCode: time 0.001545/0.8962, allocations: 1.407 MB / 1.256 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of Templates: time 0.01352/0.9097, allocations: 7.529 MB / 1.263 GB, free: 7.293 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Enable_FreProSta.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Enable_FreProSta.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Enable_FreProSta.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Enable_FreProSta.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Enable_FreProSta.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Enable_FreProSta -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Enable_FreProSta.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Enable_FreProSta_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_Economizers_Subsequences_Validation_Enable_FreProSta.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Enable_FreProSta.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches