Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.001424/0.001424, allocations: 115.2 kB / 16.42 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.001664/0.001664, allocations: 183.9 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.373/1.373, allocations: 222.9 MB / 241.1 MB, free: 15.18 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.219/2.219, allocations: 390.3 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 55.91 kB / 0.9516 GB, free: 7.574 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8455/0.8468, allocations: 140.4 MB / 1.089 GB, free: 5.484 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Enable_FreProSta): time 0.004041/0.8509, allocations: 2.908 MB / 1.092 GB, free: 3.426 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002397/0.8533, allocations: 1.247 MB / 1.093 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005338/0.8539, allocations: 18.81 kB / 1.093 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003146/0.8542, allocations: 85.39 kB / 1.093 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000307/0.8545, allocations: 99.05 kB / 1.093 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00128/0.8558, allocations: 0.5388 MB / 1.093 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001165/0.857, allocations: 1.173 MB / 1.095 GB, free: 1.426 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001092/0.8581, allocations: 0.7929 MB / 1.095 GB, free: 1.027 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004103/0.8585, allocations: 404.2 kB / 1.096 GB, free: 0.8047 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004531/0.859, allocations: 426.3 kB / 1.096 GB, free: 0.5586 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.000242/0.8592, allocations: 134.3 kB / 1.096 GB, free: 0.5586 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002937/0.8595, allocations: 154.2 kB / 1.096 GB, free: 0.5547 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001896/0.8597, allocations: 255.1 kB / 1.097 GB, free: 384 kB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000377/0.8601, allocations: 470.2 kB / 1.097 GB, free: 48 kB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001849/0.862, allocations: 1.588 MB / 1.099 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.862, allocations: 1.031 kB / 1.099 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.763e-06/0.862, allocations: 0 / 1.099 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.843e-05/0.862, allocations: 0 / 1.099 GB, free: 15.49 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.001925/0.8639, allocations: 1.083 MB / 1.1 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.864, allocations: 12.12 kB / 1.1 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000188/0.8642, allocations: 91.64 kB / 1.1 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008078/0.865, allocations: 0.5196 MB / 1.1 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.537e-05/0.8651, allocations: 75.39 kB / 1.1 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001548/0.8653, allocations: 100.1 kB / 1.101 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001608/0.8669, allocations: 0.8998 MB / 1.101 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.822e-05/0.8669, allocations: 1.375 kB / 1.101 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.505e-05/0.867, allocations: 37.06 kB / 1.101 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.219e-05/0.867, allocations: 23.47 kB / 1.101 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001149/0.8682, allocations: 0.5831 MB / 1.102 GB, free: 13.47 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003876/0.8721, allocations: 3.184 MB / 1.105 GB, free: 11.21 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001189/0.8733, allocations: 0.6132 MB / 1.106 GB, free: 10.87 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004503/0.8737, allocations: 280.8 kB / 1.106 GB, free: 10.73 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.183e-05/0.8738, allocations: 11 kB / 1.106 GB, free: 10.72 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007743/0.8746, allocations: 477.8 kB / 1.106 GB, free: 10.49 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=69): time 2.765e-06/0.8746, allocations: 1.125 kB / 1.106 GB, free: 10.49 MB / 0.8731 GB Notification: Performance of matching and sorting (n=69): time 0.001712/0.8763, allocations: 0.8875 MB / 1.107 GB, free: 10.14 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.979e-05/0.8764, allocations: 179.3 kB / 1.108 GB, free: 9.941 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000504/0.8769, allocations: 432.6 kB / 1.108 GB, free: 9.703 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 9.922e-05/0.877, allocations: 69.23 kB / 1.108 GB, free: 9.648 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002408/0.8772, allocations: 333.8 kB / 1.108 GB, free: 9.379 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001452/0.8774, allocations: 159.9 kB / 1.108 GB, free: 9.258 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003327/0.8777, allocations: 217.2 kB / 1.109 GB, free: 9.164 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001611/0.8779, allocations: 371 kB / 1.109 GB, free: 8.824 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004988/0.8784, allocations: 248.2 kB / 1.109 GB, free: 8.73 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006951/0.8791, allocations: 0.5353 MB / 1.11 GB, free: 8.273 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009553/0.8801, allocations: 0.6971 MB / 1.11 GB, free: 7.699 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.384e-06/0.8801, allocations: 6.375 kB / 1.11 GB, free: 7.695 MB / 0.8731 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.001482/0.8816, allocations: 0.8675 MB / 1.111 GB, free: 7.301 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 4.792e-05/0.8816, allocations: 38.2 kB / 1.111 GB, free: 7.27 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.648e-05/0.8817, allocations: 13.06 kB / 1.111 GB, free: 7.266 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.265e-05/0.8817, allocations: 19.64 kB / 1.111 GB, free: 7.262 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003727/0.8821, allocations: 108.8 kB / 1.112 GB, free: 7.238 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.658e-05/0.8821, allocations: 23.89 kB / 1.112 GB, free: 7.23 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005481/0.8827, allocations: 115.6 kB / 1.112 GB, free: 7.168 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.697e-05/0.8828, allocations: 46.27 kB / 1.112 GB, free: 7.16 MB / 0.8731 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.000491/0.8833, allocations: 308.2 kB / 1.112 GB, free: 6.93 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001096/0.8834, allocations: 58.12 kB / 1.112 GB, free: 6.902 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001314/0.8847, allocations: 0.7057 MB / 1.113 GB, free: 6.598 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.237e-05/0.8847, allocations: 5.062 kB / 1.113 GB, free: 6.598 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.8847, allocations: 0.8438 kB / 1.113 GB, free: 6.598 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/0.8849, allocations: 131 kB / 1.113 GB, free: 6.469 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001109/0.885, allocations: 30.47 kB / 1.113 GB, free: 6.453 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001926/0.8852, allocations: 23.52 kB / 1.113 GB, free: 6.445 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002055/0.8854, allocations: 86.14 kB / 1.113 GB, free: 6.418 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001498/0.8869, allocations: 1.098 MB / 1.114 GB, free: 5.75 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001388/0.8883, allocations: 1.168 MB / 1.115 GB, free: 4.984 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005301/0.8888, allocations: 348.5 kB / 1.116 GB, free: 4.836 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003284/0.8892, allocations: 251.4 kB / 1.116 GB, free: 4.703 MB / 0.8731 GB Notification: Performance of Backend: time 5.11e-07/0.8892, allocations: 0 / 1.116 GB, free: 4.703 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001643/0.8908, allocations: 0.6341 MB / 1.116 GB, free: 4.391 MB / 0.8731 GB Notification: Performance of SimCode: time 0.00189/0.8927, allocations: 1.378 MB / 1.118 GB, free: 3.395 MB / 0.8731 GB Notification: Performance of Templates: time 0.0171/0.9098, allocations: 7.505 MB / 1.125 GB, free: 2.816 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Enable_FreProSta.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Enable_FreProSta.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Enable_FreProSta.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Enable_FreProSta.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Enable_FreProSta.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Enable_FreProSta -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Enable_FreProSta.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Enable_FreProSta_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_Economizers_Subsequences_Validation_Enable_FreProSta.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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