Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.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_PR1.AHUs.SingleZone.VAV.Validation.ZoneState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=0,variableFilter="time|zonSta.yZonSta|zonSta.uHea|zonSta.uCoo",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState") translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=0,variableFilter="time|zonSta.yZonSta|zonSta.uHea|zonSta.uCoo",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00836/0.00836, allocations: 102.7 kB / 15.73 MB, free: 6.492 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.001588/0.001589, allocations: 198.5 kB / 16.68 MB, free: 6.375 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.538/1.538, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.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.705/2.705, allocations: 390.2 MB / 0.6648 GB, free: 196 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 59.62 kB / 0.9509 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3671/0.3684, allocations: 140.4 MB / 1.088 GB, free: 1.52 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState): time 0.003931/0.3724, allocations: 2.081 MB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002067/0.3745, allocations: 1.178 MB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001792/0.3747, allocations: 4 kB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000476/0.3752, allocations: 87.52 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000336/0.3756, allocations: 111.5 kB / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004972/0.3761, allocations: 187.5 kB / 1.092 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003877/0.3765, allocations: 319.8 kB / 1.092 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002767/0.3768, allocations: 119.6 kB / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002044/0.377, allocations: 143.4 kB / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001706/0.3771, allocations: 143.4 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.553e-05/0.3772, allocations: 28 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001721/0.3774, allocations: 63.97 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001215/0.3775, allocations: 95.67 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001371/0.3777, allocations: 135.2 kB / 1.093 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000529/0.3782, allocations: 462.4 kB / 1.093 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.3782, allocations: 0 / 1.093 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3782, allocations: 0 / 1.093 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.907e-06/0.3782, allocations: 0 / 1.093 GB, free: 12.37 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.001026/0.3793, allocations: 0.6189 MB / 1.094 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.3793, allocations: 8.031 kB / 1.094 GB, free: 11.69 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.693e-05/0.3794, allocations: 32.56 kB / 1.094 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004506/0.3799, allocations: 351.2 kB / 1.094 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.212e-05/0.3799, allocations: 12 kB / 1.094 GB, free: 11.26 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.525e-05/0.3799, allocations: 20 kB / 1.094 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003666/0.3803, allocations: 177.4 kB / 1.094 GB, free: 11.06 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/0.3803, allocations: 0 / 1.094 GB, free: 11.06 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.695e-05/0.3804, allocations: 15.94 kB / 1.094 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.208e-06/0.3804, allocations: 4 kB / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002808/0.3807, allocations: 123.7 kB / 1.094 GB, free: 10.92 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001306/0.382, allocations: 0.6521 MB / 1.095 GB, free: 10.22 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005431/0.3825, allocations: 192.3 kB / 1.095 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001667/0.3827, allocations: 84.77 kB / 1.095 GB, free: 9.938 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 5.271e-05/0.3828, allocations: 7.938 kB / 1.095 GB, free: 9.93 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003143/0.3831, allocations: 123.3 kB / 1.095 GB, free: 9.797 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=18): time 2.054e-06/0.3831, allocations: 0 / 1.095 GB, free: 9.797 MB / 0.8575 GB Notification: Performance of matching and sorting (n=18): time 0.0006326/0.3838, allocations: 239.7 kB / 1.096 GB, free: 9.559 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.6e-05/0.3838, allocations: 59.31 kB / 1.096 GB, free: 9.488 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004372/0.3843, allocations: 358.8 kB / 1.096 GB, free: 9.133 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.49e-05/0.3843, allocations: 37.7 kB / 1.096 GB, free: 9.09 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001694/0.3845, allocations: 168.4 kB / 1.096 GB, free: 8.922 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 6.889e-05/0.3846, allocations: 47.39 kB / 1.096 GB, free: 8.875 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001276/0.3847, allocations: 73.59 kB / 1.096 GB, free: 8.797 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002182/0.3849, allocations: 338.8 kB / 1.097 GB, free: 8.457 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001892/0.3851, allocations: 91.95 kB / 1.097 GB, free: 8.367 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002627/0.3854, allocations: 136.8 kB / 1.097 GB, free: 8.219 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002755/0.3857, allocations: 151.2 kB / 1.097 GB, free: 8.066 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.3857, allocations: 0 / 1.097 GB, free: 8.066 MB / 0.8575 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004376/0.3862, allocations: 261.3 kB / 1.097 GB, free: 7.805 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.3862, allocations: 8 kB / 1.097 GB, free: 7.797 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.3862, allocations: 0 / 1.097 GB, free: 7.797 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.789e-05/0.3862, allocations: 3.938 kB / 1.097 GB, free: 7.793 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001686/0.3864, allocations: 43.91 kB / 1.097 GB, free: 7.75 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.267e-05/0.3864, allocations: 7.938 kB / 1.097 GB, free: 7.742 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001593/0.3866, allocations: 31.91 kB / 1.097 GB, free: 7.711 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.457e-05/0.3866, allocations: 8 kB / 1.097 GB, free: 7.703 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($PRE.uHeaCoo.tab.nextTimeEvent,$whenCondition1,uHeaCoo.tab.nextTimeEventScaled,$PRE.uHeaCoo.tab.nextTimeEventScaled,uHeaCoo.tab.nextTimeEvent,zonSta.addInt.y,zonSta.notHea.y,zonSta.hysU.y,$PRE.zonSta.hysU.y,zonSta.isCoo.y,zonSta.hysUCoo.y,$PRE.zonSta.hysUCoo.y,zonSta.hysUHea.y,$PRE.zonSta.hysUHea.y,zonSta.booToIntDea.y,zonSta.isDea.y,zonSta.booToIntCoo.y,zonSta.booToIntHea.y,zonSta.yZonSta) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * 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.0002173/0.3869, allocations: 175.5 kB / 1.097 GB, free: 7.523 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.422e-05/0.3869, allocations: 27.62 kB / 1.097 GB, free: 7.496 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.011e-05/0.387, allocations: 34.25 kB / 1.097 GB, free: 7.461 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.387, allocations: 3.938 kB / 1.097 GB, free: 7.457 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/0.387, allocations: 4 kB / 1.097 GB, free: 7.453 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.387, allocations: 0 / 1.097 GB, free: 7.453 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003686/0.3874, allocations: 325.4 kB / 1.098 GB, free: 7.086 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3874, allocations: 0 / 1.098 GB, free: 7.086 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.986e-05/0.3875, allocations: 15.98 kB / 1.098 GB, free: 7.07 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.3875, allocations: 0 / 1.098 GB, free: 7.07 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.474e-05/0.3876, allocations: 8 kB / 1.098 GB, free: 7.062 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.426e-06/0.3876, allocations: 7.875 kB / 1.098 GB, free: 7.055 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.3876, allocations: 0 / 1.098 GB, free: 7.055 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004155/0.388, allocations: 211.3 kB / 1.098 GB, free: 6.832 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001034/0.3882, allocations: 112.8 kB / 1.098 GB, free: 6.703 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.971e-05/0.3882, allocations: 11.94 kB / 1.098 GB, free: 6.691 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.3883, allocations: 19.92 kB / 1.098 GB, free: 6.672 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001194/0.3885, allocations: 31.95 kB / 1.098 GB, free: 6.641 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.988e-05/0.3885, allocations: 8 kB / 1.098 GB, free: 6.633 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002716/0.3888, allocations: 229.9 kB / 1.098 GB, free: 6.406 MB / 0.8575 GB Notification: Performance of sort global known variables: time 4.01e-07/0.3888, allocations: 0 / 1.098 GB, free: 6.406 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003281/0.3891, allocations: 59.84 kB / 1.098 GB, free: 6.348 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition1,zonSta.yZonSta,zonSta.booToIntHea.y,zonSta.booToIntCoo.y,zonSta.isDea.y,zonSta.booToIntDea.y,zonSta.hysUHea.y,zonSta.hysUCoo.y,zonSta.isCoo.y,zonSta.hysU.y,zonSta.notHea.y,zonSta.addInt.y,uHeaCoo.tab.nextTimeEvent,uHeaCoo.tab.nextTimeEventScaled) * Number of discrete states: 5 (uHeaCoo.tab.nextTimeEventScaled,zonSta.hysU.y,zonSta.hysUCoo.y,zonSta.hysUHea.y,uHeaCoo.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001285/0.3904, allocations: 432.7 kB / 1.099 GB, free: 6.078 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004836/0.3909, allocations: 191.8 kB / 1.099 GB, free: 5.891 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.3909, allocations: 0 / 1.099 GB, free: 5.891 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001922/0.3911, allocations: 81.16 kB / 1.099 GB, free: 5.812 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000425/0.3915, allocations: 58.28 kB / 1.099 GB, free: 5.754 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009771/0.3925, allocations: 478.2 kB / 1.1 GB, free: 5.262 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004562/0.393, allocations: 0.7714 MB / 1.1 GB, free: 4.465 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001191/0.3931, allocations: 46.25 kB / 1.1 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.49e-05/0.3932, allocations: 35.42 kB / 1.101 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of SimCode: time 5.51e-07/0.3932, allocations: 0 / 1.101 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of Templates: time 0.008593/0.4018, allocations: 3.627 MB / 1.104 GB, free: 0.7969 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_ZoneState.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches