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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0009895/0.0009894, allocations: 92 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00135/0.00135, allocations: 185.9 kB / 16.92 MB, free: 6.922 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: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.412/2.412, allocations: 390.9 MB / 0.667 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000379/0.0003791, allocations: 11.98 kB / 0.8167 GB, free: 13.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7577/0.7581, allocations: 142.4 MB / 0.9558 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState): time 0.002357/0.7605, allocations: 1.772 MB / 0.9575 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001726/0.7623, allocations: 1.134 MB / 0.9586 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001188/0.7624, allocations: 2.219 kB / 0.9586 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000351/0.7628, allocations: 81.45 kB / 0.9587 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002225/0.763, allocations: 68.88 kB / 0.9587 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003978/0.7634, allocations: 168.3 kB / 0.9589 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003097/0.7637, allocations: 296.5 kB / 0.9592 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002221/0.764, allocations: 116.7 kB / 0.9593 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001211/0.7641, allocations: 98.42 kB / 0.9594 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001355/0.7642, allocations: 113.9 kB / 0.9595 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.619e-05/0.7643, allocations: 6.875 kB / 0.9595 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001293/0.7644, allocations: 52.84 kB / 0.9596 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.699e-05/0.7645, allocations: 69.62 kB / 0.9596 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.547e-05/0.7646, allocations: 140.3 kB / 0.9598 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000285/0.7649, allocations: 344.8 kB / 0.9601 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.7649, allocations: 0 / 0.9601 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.523e-06/0.7649, allocations: 1.375 kB / 0.9601 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.71e-06/0.7649, allocations: 4 kB / 0.9601 GB, free: 4.336 MB / 0.7169 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.0007979/0.7657, allocations: 0.5687 MB / 0.9607 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.7658, allocations: 9.75 kB / 0.9607 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.672e-05/0.7659, allocations: 32.5 kB / 0.9607 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003975/0.7663, allocations: 357 kB / 0.961 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.841e-05/0.7663, allocations: 12.03 kB / 0.961 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.021e-05/0.7664, allocations: 21.75 kB / 0.9611 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003456/0.7667, allocations: 176.4 kB / 0.9612 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.7667, allocations: 0 / 0.9612 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.09e-05/0.7668, allocations: 9.984 kB / 0.9612 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.267e-06/0.7668, allocations: 4.156 kB / 0.9612 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002526/0.767, allocations: 129.3 kB / 0.9614 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009907/0.768, allocations: 0.6666 MB / 0.962 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004235/0.7685, allocations: 189.5 kB / 0.9622 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000141/0.7686, allocations: 79.98 kB / 0.9623 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.097e-05/0.7687, allocations: 3.375 kB / 0.9623 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002337/0.7689, allocations: 130.7 kB / 0.9624 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=18): time 1.482e-06/0.7689, allocations: 0 / 0.9624 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18): time 0.0005063/0.7694, allocations: 242 kB / 0.9626 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.072e-05/0.7695, allocations: 61.66 kB / 0.9627 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003719/0.7698, allocations: 353.5 kB / 0.963 GB, free: 2.035 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.798e-05/0.7699, allocations: 36.89 kB / 0.9631 GB, free: 1.996 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.353e-05/0.77, allocations: 172.9 kB / 0.9632 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.087e-05/0.77, allocations: 43.61 kB / 0.9633 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.436e-05/0.7701, allocations: 43.28 kB / 0.9633 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.292e-05/0.7702, allocations: 338.7 kB / 0.9636 GB, free: 1.438 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001608/0.7703, allocations: 90.25 kB / 0.9637 GB, free: 1.395 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001942/0.7705, allocations: 142.6 kB / 0.9639 GB, free: 1.297 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002397/0.7708, allocations: 142.1 kB / 0.964 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.7708, allocations: 3.938 kB / 0.964 GB, free: 1.219 MB / 0.7169 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004297/0.7712, allocations: 271.9 kB / 0.9643 GB, free: 1.078 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.7713, allocations: 9.156 kB / 0.9643 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.7713, allocations: 1.25 kB / 0.9643 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.7713, allocations: 5.281 kB / 0.9643 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001626/0.7715, allocations: 40.73 kB / 0.9643 GB, free: 1.059 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.7715, allocations: 7.172 kB / 0.9643 GB, free: 1.055 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000172/0.7716, allocations: 35.64 kB / 0.9644 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.76e-05/0.7717, allocations: 10.53 kB / 0.9644 GB, free: 1.035 MB / 0.7169 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.0001531/0.7718, allocations: 172.8 kB / 0.9645 GB, free: 0.8867 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.585e-05/0.7719, allocations: 24.28 kB / 0.9645 GB, free: 0.875 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.21e-05/0.772, allocations: 32 kB / 0.9646 GB, free: 0.8555 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.772, allocations: 4.875 kB / 0.9646 GB, free: 0.8516 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.772, allocations: 1 kB / 0.9646 GB, free: 0.8516 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.772, allocations: 0 / 0.9646 GB, free: 0.8516 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002521/0.7722, allocations: 334 kB / 0.9649 GB, free: 0.5391 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.7723, allocations: 4 kB / 0.9649 GB, free: 0.5352 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.205e-05/0.7723, allocations: 17.2 kB / 0.9649 GB, free: 0.5312 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.7723, allocations: 1.031 kB / 0.9649 GB, free: 0.5312 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.472e-05/0.7724, allocations: 6.969 kB / 0.9649 GB, free: 0.5273 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.7724, allocations: 3.938 kB / 0.9649 GB, free: 0.5234 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.7724, allocations: 0 / 0.9649 GB, free: 0.5234 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003122/0.7727, allocations: 206.1 kB / 0.9651 GB, free: 396 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.63e-05/0.7728, allocations: 114.5 kB / 0.9652 GB, free: 272 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.905e-05/0.7728, allocations: 6.781 kB / 0.9652 GB, free: 268 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001165/0.7729, allocations: 25.08 kB / 0.9653 GB, free: 256 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.109e-05/0.773, allocations: 29.83 kB / 0.9653 GB, free: 240 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.542e-05/0.773, allocations: 12.7 kB / 0.9653 GB, free: 232 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002016/0.7733, allocations: 226.7 kB / 0.9655 GB, free: 88 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7733, allocations: 0 / 0.9655 GB, free: 88 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002995/0.7736, allocations: 58.91 kB / 0.9656 GB, free: 72 kB / 0.7169 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.001084/0.7747, allocations: 436.3 kB / 0.966 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000417/0.7751, allocations: 197.7 kB / 0.9662 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.7751, allocations: 0.9375 kB / 0.9662 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001828/0.7753, allocations: 81.62 kB / 0.9663 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003815/0.7757, allocations: 47.17 kB / 0.9663 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009795/0.7767, allocations: 0.5952 MB / 0.9669 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003869/0.7771, allocations: 0.7725 MB / 0.9676 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.781e-05/0.7772, allocations: 29.23 kB / 0.9677 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of SimCode: time 4.1e-07/0.7772, allocations: 4 kB / 0.9677 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of Templates: time 0.007514/0.7847, allocations: 3.96 MB / 0.9715 GB, free: 12.48 MB / 0.7325 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/jenkins1/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