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.009169/0.009169, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001877/0.001877, allocations: 196.9 kB / 16.67 MB, free: 5.973 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.499/1.499, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.662/2.662, allocations: 390.2 MB / 0.6648 GB, free: 228 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.001221, allocations: 62.7 kB / 0.9509 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3848/0.3861, allocations: 140.4 MB / 1.088 GB, free: 1.512 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState): time 0.004893/0.391, allocations: 2.077 MB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002799/0.3939, allocations: 1.178 MB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003292/0.3942, allocations: 4 kB / 1.091 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005094/0.3947, allocations: 87.52 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0005108/0.3953, allocations: 103.5 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007612/0.3961, allocations: 197.5 kB / 1.092 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0006065/0.3967, allocations: 323.8 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000333/0.3971, allocations: 121 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003279/0.3974, allocations: 135.5 kB / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002827/0.3977, allocations: 139.4 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.64e-05/0.3978, allocations: 32 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002288/0.398, allocations: 75.95 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001365/0.3981, allocations: 87.69 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001675/0.3983, allocations: 139.2 kB / 1.093 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0008765/0.3992, allocations: 466 kB / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.3992, allocations: 0 / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.086e-06/0.3992, allocations: 0 / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.871e-05/0.3993, allocations: 0 / 1.093 GB, free: 12.36 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.001584/0.4009, allocations: 0.6263 MB / 1.094 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.526e-05/0.4009, allocations: 8.031 kB / 1.094 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001461/0.4011, allocations: 36.7 kB / 1.094 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005983/0.4017, allocations: 343.6 kB / 1.094 GB, free: 11.26 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.741e-05/0.4017, allocations: 12 kB / 1.094 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.222e-05/0.4018, allocations: 20 kB / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003821/0.4022, allocations: 173.4 kB / 1.094 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.4022, allocations: 3.984 kB / 1.094 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.556e-05/0.4022, allocations: 12 kB / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.077e-05/0.4022, allocations: 8 kB / 1.094 GB, free: 11.03 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002691/0.4025, allocations: 127.7 kB / 1.094 GB, free: 10.9 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001276/0.4038, allocations: 0.6522 MB / 1.095 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005158/0.4043, allocations: 194.9 kB / 1.095 GB, free: 10 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001575/0.4045, allocations: 80.83 kB / 1.095 GB, free: 9.918 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.967e-05/0.4045, allocations: 4 kB / 1.095 GB, free: 9.914 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002596/0.4048, allocations: 127.3 kB / 1.095 GB, free: 9.777 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=18): time 2.465e-06/0.4048, allocations: 4 kB / 1.095 GB, free: 9.773 MB / 0.8575 GB Notification: Performance of matching and sorting (n=18): time 0.000641/0.4055, allocations: 234.9 kB / 1.096 GB, free: 9.539 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.928e-05/0.4055, allocations: 55.41 kB / 1.096 GB, free: 9.473 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000444/0.406, allocations: 358.9 kB / 1.096 GB, free: 9.117 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.415e-05/0.406, allocations: 41.69 kB / 1.096 GB, free: 9.07 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001527/0.4062, allocations: 164.5 kB / 1.096 GB, free: 8.906 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.909e-05/0.4063, allocations: 47.67 kB / 1.096 GB, free: 8.859 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001342/0.4064, allocations: 65.69 kB / 1.096 GB, free: 8.789 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001695/0.4066, allocations: 342.8 kB / 1.097 GB, free: 8.445 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001863/0.4068, allocations: 99.89 kB / 1.097 GB, free: 8.348 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002231/0.407, allocations: 136.8 kB / 1.097 GB, free: 8.199 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002785/0.4073, allocations: 151.1 kB / 1.097 GB, free: 8.047 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.4073, allocations: 4 kB / 1.097 GB, free: 8.043 MB / 0.8575 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004839/0.4078, allocations: 273.4 kB / 1.097 GB, free: 7.77 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.4078, allocations: 4 kB / 1.097 GB, free: 7.766 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.834e-06/0.4078, allocations: 0 / 1.097 GB, free: 7.766 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.503e-05/0.4079, allocations: 7.938 kB / 1.097 GB, free: 7.758 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001589/0.4081, allocations: 39.92 kB / 1.097 GB, free: 7.719 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.4081, allocations: 0 / 1.097 GB, free: 7.719 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001889/0.4083, allocations: 35.86 kB / 1.097 GB, free: 7.684 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.772e-05/0.4083, allocations: 11.97 kB / 1.097 GB, free: 7.672 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.000208/0.4085, allocations: 175.5 kB / 1.097 GB, free: 7.492 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.314e-05/0.4086, allocations: 27.81 kB / 1.097 GB, free: 7.465 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.046e-05/0.4087, allocations: 34.25 kB / 1.098 GB, free: 7.43 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/0.4087, allocations: 7.938 kB / 1.098 GB, free: 7.422 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.4087, allocations: 0 / 1.098 GB, free: 7.422 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.4087, allocations: 3.984 kB / 1.098 GB, free: 7.418 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000333/0.409, allocations: 321.4 kB / 1.098 GB, free: 7.055 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.105e-06/0.4091, allocations: 4 kB / 1.098 GB, free: 7.051 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.751e-05/0.4091, allocations: 15.98 kB / 1.098 GB, free: 7.035 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.4092, allocations: 0 / 1.098 GB, free: 7.035 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.756e-05/0.4092, allocations: 8 kB / 1.098 GB, free: 7.027 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.011e-06/0.4092, allocations: 7.922 kB / 1.098 GB, free: 7.02 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.4092, allocations: 3.938 kB / 1.098 GB, free: 7.016 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003659/0.4096, allocations: 215 kB / 1.098 GB, free: 6.789 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 9.644e-05/0.4097, allocations: 96.97 kB / 1.098 GB, free: 6.676 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.722e-05/0.4097, allocations: 12 kB / 1.098 GB, free: 6.664 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.4098, allocations: 19.92 kB / 1.098 GB, free: 6.645 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/0.41, allocations: 27.95 kB / 1.098 GB, free: 6.617 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.278e-05/0.41, allocations: 11.98 kB / 1.098 GB, free: 6.605 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002701/0.4103, allocations: 225.9 kB / 1.098 GB, free: 6.383 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4103, allocations: 4 kB / 1.098 GB, free: 6.379 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003309/0.4106, allocations: 59.83 kB / 1.099 GB, free: 6.32 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.001258/0.4119, allocations: 432.2 kB / 1.099 GB, free: 6.051 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004717/0.4124, allocations: 191.8 kB / 1.099 GB, free: 5.863 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.4124, allocations: 3.938 kB / 1.099 GB, free: 5.859 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001785/0.4126, allocations: 79.91 kB / 1.099 GB, free: 5.781 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004104/0.413, allocations: 56.31 kB / 1.099 GB, free: 5.727 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001001/0.414, allocations: 485.5 kB / 1.1 GB, free: 5.227 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004477/0.4145, allocations: 0.7713 MB / 1.1 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001441/0.4146, allocations: 38.28 kB / 1.101 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.183e-05/0.4147, allocations: 35.42 kB / 1.101 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of SimCode: time 6.91e-07/0.4147, allocations: 0 / 1.101 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of Templates: time 0.00945/0.4242, allocations: 3.639 MB / 1.104 GB, free: 0.7578 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