Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001274/0.001274, allocations: 115 kB / 16.81 MB, free: 5.867 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.001248/0.001248, allocations: 192.7 kB / 17.76 MB, free: 5.02 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.542/1.542, allocations: 225.6 MB / 244.2 MB, free: 13.87 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.832/2.832, allocations: 476.7 MB / 0.7556 GB, free: 11.33 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001901/0.001901, allocations: 68.44 kB / 1.097 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3806/0.3825, allocations: 168.7 MB / 1.262 GB, free: 13 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Enable_FreProSta): time 0.004933/0.3875, allocations: 2.926 MB / 1.265 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002531/0.39, allocations: 1.266 MB / 1.266 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003492/0.3904, allocations: 11.94 kB / 1.266 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002868/0.3907, allocations: 86.95 kB / 1.266 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002329/0.3909, allocations: 107 kB / 1.266 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001343/0.3922, allocations: 0.5361 MB / 1.267 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001283/0.3935, allocations: 1.167 MB / 1.268 GB, free: 6.875 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009498/0.3945, allocations: 0.6723 MB / 1.269 GB, free: 6.18 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004302/0.3949, allocations: 402.8 kB / 1.269 GB, free: 5.785 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004879/0.3954, allocations: 430.1 kB / 1.27 GB, free: 5.363 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.000175/0.3956, allocations: 139.9 kB / 1.27 GB, free: 5.227 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002553/0.3958, allocations: 152 kB / 1.27 GB, free: 5.078 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000243/0.3961, allocations: 251.3 kB / 1.27 GB, free: 4.832 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004533/0.3965, allocations: 466 kB / 1.27 GB, free: 4.375 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001733/0.3982, allocations: 1.6 MB / 1.272 GB, free: 2.77 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3982, allocations: 0 / 1.272 GB, free: 2.77 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.024e-06/0.3982, allocations: 4 kB / 1.272 GB, free: 2.766 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.833e-05/0.3983, allocations: 0 / 1.272 GB, free: 2.766 MB / 0.9825 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.001969/0.4002, allocations: 1.092 MB / 1.273 GB, free: 1.602 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.4003, allocations: 12.03 kB / 1.273 GB, free: 1.59 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001995/0.4005, allocations: 96.41 kB / 1.273 GB, free: 1.496 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008493/0.4013, allocations: 0.5325 MB / 1.274 GB, free: 0.9297 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.564e-05/0.4014, allocations: 74.36 kB / 1.274 GB, free: 0.8555 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001543/0.4016, allocations: 100.4 kB / 1.274 GB, free: 0.7578 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001549/0.4031, allocations: 0.8981 MB / 1.275 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.61e-05/0.4031, allocations: 7.875 kB / 1.275 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.952e-05/0.4032, allocations: 35.98 kB / 1.275 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.051e-05/0.4032, allocations: 16 kB / 1.275 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001089/0.4043, allocations: 0.5894 MB / 1.275 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004068/0.4084, allocations: 3.198 MB / 1.279 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001186/0.4096, allocations: 0.5552 MB / 1.279 GB, free: 11.26 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004648/0.41, allocations: 252.6 kB / 1.279 GB, free: 11 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.127e-05/0.4101, allocations: 12.38 kB / 1.279 GB, free: 10.99 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008303/0.4109, allocations: 478.4 kB / 1.28 GB, free: 10.49 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=69): time 2.364e-06/0.4109, allocations: 0 / 1.28 GB, free: 10.49 MB / 0.9981 GB Notification: Performance of matching and sorting (n=69): time 0.001739/0.4127, allocations: 0.8891 MB / 1.281 GB, free: 9.602 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001999/0.4129, allocations: 174.7 kB / 1.281 GB, free: 9.395 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005237/0.4134, allocations: 437.2 kB / 1.281 GB, free: 8.961 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001198/0.4135, allocations: 73.62 kB / 1.281 GB, free: 8.883 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002832/0.4138, allocations: 329.1 kB / 1.282 GB, free: 8.555 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001697/0.414, allocations: 174.7 kB / 1.282 GB, free: 8.383 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000322/0.4143, allocations: 223 kB / 1.282 GB, free: 8.16 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001943/0.4145, allocations: 370.8 kB / 1.282 GB, free: 7.789 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004908/0.415, allocations: 253.9 kB / 1.283 GB, free: 7.543 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007119/0.4157, allocations: 0.5375 MB / 1.283 GB, free: 6.883 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001033/0.4167, allocations: 0.703 MB / 1.284 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/0.4167, allocations: 4 kB / 1.284 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.001649/0.4184, allocations: 0.8733 MB / 1.285 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 7.081e-05/0.4184, allocations: 37.7 kB / 1.285 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.767e-05/0.4185, allocations: 8 kB / 1.285 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.969e-05/0.4185, allocations: 16 kB / 1.285 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003804/0.4189, allocations: 107.8 kB / 1.285 GB, free: 4.988 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.491e-05/0.4189, allocations: 23.81 kB / 1.285 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005413/0.4194, allocations: 115.4 kB / 1.285 GB, free: 4.852 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.537e-05/0.4195, allocations: 47.98 kB / 1.285 GB, free: 4.805 MB / 0.9981 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.0005889/0.4201, allocations: 313.4 kB / 1.285 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001294/0.4202, allocations: 59.62 kB / 1.285 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001353/0.4216, allocations: 0.6997 MB / 1.286 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.545e-05/0.4216, allocations: 11.98 kB / 1.286 GB, free: 3.699 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.4216, allocations: 3.938 kB / 1.286 GB, free: 3.695 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001523/0.4218, allocations: 132.6 kB / 1.286 GB, free: 3.547 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001122/0.4219, allocations: 31.98 kB / 1.286 GB, free: 3.516 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001866/0.4221, allocations: 23.97 kB / 1.286 GB, free: 3.492 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002234/0.4223, allocations: 80.47 kB / 1.286 GB, free: 3.414 MB / 0.9981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00154/0.4238, allocations: 1.105 MB / 1.287 GB, free: 2.301 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001419/0.4252, allocations: 1.172 MB / 1.289 GB, free: 1.105 MB / 0.9981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004809/0.4257, allocations: 272.3 kB / 1.289 GB, free: 0.8398 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00033/0.4261, allocations: 251.2 kB / 1.289 GB, free: 0.5977 MB / 0.9981 GB Notification: Performance of Backend: time 2.81e-07/0.4261, allocations: 7.875 kB / 1.289 GB, free: 0.5898 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002019/0.4281, allocations: 0.5849 MB / 1.29 GB, free: 15.98 MB / 1.014 GB Notification: Performance of SimCode: time 0.002374/0.4305, allocations: 1.4 MB / 1.291 GB, free: 14.53 MB / 1.014 GB Notification: Performance of Templates: time 0.01772/0.4482, allocations: 7.762 MB / 1.299 GB, free: 6.863 MB / 1.014 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Enable_FreProSta.makefile (rm -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Enable_FreProSta.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Enable_FreProSta.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Enable_FreProSta.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Enable_FreProSta.sim & ./Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Enable_FreProSta -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Enable_FreProSta.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Enable_FreProSta_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_Economizers_Subsequences_Validation_Enable_FreProSta.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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