Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Alarms.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.TerminalUnits.CoolingOnly.Subsequences.Validation.Alarms,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ala.VDis_flow|ala.VActSet_flow|ala.yLowFloAla|ala.u1Fan|ala.VCooMax_flow|ala.yFloSenAla|ala.uDam|ala.yLeaDamAla",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Alarms") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Alarms,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ala.VDis_flow|ala.VActSet_flow|ala.yLowFloAla|ala.u1Fan|ala.VCooMax_flow|ala.yFloSenAla|ala.uDam|ala.yLeaDamAla",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Alarms") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001222/0.001221, allocations: 111.2 kB / 16.42 MB, free: 6.461 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.001254/0.001254, allocations: 190.7 kB / 17.35 MB, free: 5.715 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.405/1.405, 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 9.1.3-maint.9.1.x/package.mo): time 2.332/2.332, allocations: 390.3 MB / 0.6655 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001538/0.001538, allocations: 63.91 kB / 0.9516 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.054/1.056, allocations: 140.4 MB / 1.089 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Alarms): time 0.003591/1.059, allocations: 2.07 MB / 1.091 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003241/1.062, allocations: 1.729 MB / 1.092 GB, free: 2.809 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006617/1.063, allocations: 15.59 kB / 1.092 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003601/1.064, allocations: 85.34 kB / 1.092 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002551/1.064, allocations: 84.06 kB / 1.093 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001373/1.065, allocations: 472.2 kB / 1.093 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001251/1.067, allocations: 0.8764 MB / 1.094 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006206/1.067, allocations: 360.1 kB / 1.094 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005744/1.068, allocations: 325.8 kB / 1.095 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00041/1.068, allocations: 347.2 kB / 1.095 GB, free: 1.418 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001966/1.068, allocations: 97.17 kB / 1.095 GB, free: 1.414 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002611/1.069, allocations: 107.8 kB / 1.095 GB, free: 1.41 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001831/1.069, allocations: 171.7 kB / 1.095 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000421/1.069, allocations: 363.3 kB / 1.096 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001568/1.071, allocations: 1.081 MB / 1.097 GB, free: 0.668 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/1.071, allocations: 0 / 1.097 GB, free: 0.668 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.653e-06/1.071, allocations: 0 / 1.097 GB, free: 0.668 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.376e-05/1.071, allocations: 1.094 kB / 1.097 GB, free: 0.668 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.00229/1.073, allocations: 1.024 MB / 1.098 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.475e-05/1.073, allocations: 9.688 kB / 1.098 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002168/1.073, allocations: 84.09 kB / 1.098 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001643/1.075, allocations: 0.5641 MB / 1.098 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001022/1.075, allocations: 56.95 kB / 1.098 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001553/1.075, allocations: 70.72 kB / 1.098 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00134/1.077, allocations: 0.4958 MB / 1.099 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.565e-05/1.077, allocations: 0 / 1.099 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.61e-05/1.077, allocations: 21.72 kB / 1.099 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.175e-05/1.077, allocations: 10.53 kB / 1.099 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001156/1.078, allocations: 395.6 kB / 1.099 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003444/1.081, allocations: 1.537 MB / 1.101 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001144/1.083, allocations: 489.1 kB / 1.101 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005493/1.083, allocations: 213 kB / 1.101 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.607e-05/1.083, allocations: 12.11 kB / 1.101 GB, free: 14.03 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009225/1.084, allocations: 395.1 kB / 1.102 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=53): time 3.978e-06/1.084, allocations: 0 / 1.102 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of matching and sorting (n=53): time 0.002186/1.086, allocations: 0.8067 MB / 1.103 GB, free: 13.59 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.289e-05/1.086, allocations: 58.73 kB / 1.103 GB, free: 13.53 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006786/1.087, allocations: 395.3 kB / 1.103 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001427/1.087, allocations: 55.34 kB / 1.103 GB, free: 13.28 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002515/1.088, allocations: 269.4 kB / 1.103 GB, free: 13.06 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001318/1.088, allocations: 123.4 kB / 1.103 GB, free: 12.97 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002648/1.088, allocations: 158.7 kB / 1.104 GB, free: 12.9 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001646/1.088, allocations: 358.4 kB / 1.104 GB, free: 12.57 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005858/1.089, allocations: 218.9 kB / 1.104 GB, free: 12.5 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000744/1.09, allocations: 383.2 kB / 1.105 GB, free: 12.24 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001042/1.091, allocations: 0.5349 MB / 1.105 GB, free: 11.86 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.214e-06/1.091, allocations: 5.344 kB / 1.105 GB, free: 11.86 MB / 0.8731 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001623/1.092, allocations: 0.722 MB / 1.106 GB, free: 11.54 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 6.052e-05/1.092, allocations: 64.44 kB / 1.106 GB, free: 11.48 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/1.092, allocations: 5.938 kB / 1.106 GB, free: 11.48 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.324e-05/1.092, allocations: 8.688 kB / 1.106 GB, free: 11.48 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003681/1.093, allocations: 87.84 kB / 1.106 GB, free: 11.46 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.768e-05/1.093, allocations: 9.531 kB / 1.106 GB, free: 11.46 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008036/1.094, allocations: 131.2 kB / 1.106 GB, free: 11.42 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.593e-05/1.094, allocations: 35.59 kB / 1.106 GB, free: 11.41 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 64 ($PRE.ala.truDel.u,$PRE.ala.truDel1.u,$PRE.ala.truDel2.u,$PRE.ala.truDel3.u,$PRE.ala.truDel.t_next,$whenCondition14,$PRE.ala.truDel1.t_next,$whenCondition11,$PRE.ala.truDel2.t_next,$whenCondition8,$PRE.ala.truDel3.t_next,$whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,ala.truDel.t_next,ala.truDel1.t_next,ala.truDel2.t_next,ala.truDel3.t_next,ala.conInt.y,ala.greThr1.y,ala.booToInt1.y,damSta.y,$PRE.damSta.y,supFan.y,$PRE.supFan.y,ala.not5.y,ala.cloDam.lesHys.y,$PRE.ala.cloDam.lesHys.y,ala.truDel3.y,ala.truDel3.u,ala.not4.y,ala.gre1.greHys.y,$PRE.ala.gre1.greHys.y,ala.truDel2.y,ala.truDel2.u,ala.not2.y,ala.not1.y,ala.booToInt.y,ala.lowFloAla.y,ala.and1.y,ala.and2.y,ala.truDel1.y,ala.truDel1.u,ala.gre.greHys.y,$PRE.ala.gre.greHys.y,ala.greThr.greHys.y,$PRE.ala.greThr.greHys.y,ala.truDel.y,ala.truDel.u,ala.les.lesHys.y,$PRE.ala.les.lesHys.y,ala.yLeaDamAla,ala.yFloSenAla,ala.yLowFloAla,$whenCondition7,$whenCondition6,$whenCondition10,$whenCondition9,$whenCondition13,$whenCondition12,$whenCondition16,$whenCondition15) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 2 * 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.0003951/1.094, allocations: 231.5 kB / 1.106 GB, free: 11.23 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.567e-05/1.094, allocations: 56.7 kB / 1.106 GB, free: 11.2 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001279/1.094, allocations: 55.3 kB / 1.106 GB, free: 11.16 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.407e-06/1.094, allocations: 2.531 kB / 1.106 GB, free: 11.16 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/1.094, allocations: 1.438 kB / 1.106 GB, free: 11.16 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001204/1.094, allocations: 122.7 kB / 1.107 GB, free: 11.04 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.479e-05/1.094, allocations: 23.48 kB / 1.107 GB, free: 11.02 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003713/1.095, allocations: 50.62 kB / 1.107 GB, free: 11.02 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001889/1.095, allocations: 87.61 kB / 1.107 GB, free: 10.99 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001615/1.097, allocations: 0.7014 MB / 1.107 GB, free: 10.7 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001451/1.098, allocations: 0.785 MB / 1.108 GB, free: 10.29 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005951/1.099, allocations: 297 kB / 1.108 GB, free: 10.18 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003209/1.099, allocations: 247.7 kB / 1.109 GB, free: 10.05 MB / 0.8731 GB Notification: Performance of Backend: time 7.51e-07/1.099, allocations: 0 / 1.109 GB, free: 10.05 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001545/1.101, allocations: 0.5826 MB / 1.109 GB, free: 9.734 MB / 0.8731 GB Notification: Performance of SimCode: time 0.001711/1.102, allocations: 1.245 MB / 1.11 GB, free: 8.781 MB / 0.8731 GB Notification: Performance of Templates: time 0.02043/1.123, allocations: 7.792 MB / 1.118 GB, free: 8.258 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Alarms.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Alarms.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Alarms.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Alarms.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Alarms.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Alarms -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Alarms.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Alarms_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_Alarms.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Alarms.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches