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.001283/0.001283, allocations: 113.9 kB / 16.41 MB, free: 6.484 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.001127/0.001128, allocations: 189.5 kB / 17.34 MB, free: 5.762 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.378/1.378, 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.283/2.283, allocations: 390.3 MB / 0.6655 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 63.89 kB / 0.9516 GB, free: 7.602 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8021/0.8034, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState): time 0.003544/0.807, allocations: 2.09 MB / 1.091 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00193/0.8089, allocations: 1.167 MB / 1.092 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001646/0.8091, allocations: 6.156 kB / 1.092 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004071/0.8095, allocations: 94 kB / 1.092 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003174/0.8099, allocations: 94.72 kB / 1.092 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004616/0.8104, allocations: 186.9 kB / 1.092 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004023/0.8108, allocations: 320 kB / 1.092 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002608/0.811, allocations: 120.7 kB / 1.093 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000198/0.8112, allocations: 141.6 kB / 1.093 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001813/0.8114, allocations: 136.8 kB / 1.093 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.221e-05/0.8115, allocations: 27.94 kB / 1.093 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001874/0.8117, allocations: 73.55 kB / 1.093 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001125/0.8118, allocations: 89.19 kB / 1.093 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001363/0.812, allocations: 139.5 kB / 1.093 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005974/0.8126, allocations: 461.4 kB / 1.094 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.8126, allocations: 1.062 kB / 1.094 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.212e-06/0.8126, allocations: 4 kB / 1.094 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.514e-06/0.8126, allocations: 0 / 1.094 GB, free: 2.348 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.0009346/0.8135, allocations: 0.6088 MB / 1.094 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.8136, allocations: 9.656 kB / 1.094 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.74e-05/0.8137, allocations: 34.36 kB / 1.094 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004318/0.8141, allocations: 343 kB / 1.095 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.041e-05/0.8142, allocations: 28.38 kB / 1.095 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.028e-05/0.8142, allocations: 22.52 kB / 1.095 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003784/0.8146, allocations: 175.1 kB / 1.095 GB, free: 1.418 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.8146, allocations: 0 / 1.095 GB, free: 1.418 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.164e-05/0.8146, allocations: 5.906 kB / 1.095 GB, free: 1.414 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.171e-05/0.8147, allocations: 8.344 kB / 1.095 GB, free: 1.41 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002835/0.8149, allocations: 125.5 kB / 1.095 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001086/0.816, allocations: 0.6546 MB / 1.096 GB, free: 0.9297 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004649/0.8165, allocations: 187 kB / 1.096 GB, free: 0.8438 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001694/0.8167, allocations: 85.42 kB / 1.096 GB, free: 0.8047 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.712e-05/0.8167, allocations: 6.609 kB / 1.096 GB, free: 0.8008 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002773/0.817, allocations: 126.2 kB / 1.096 GB, free: 0.7227 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=18): time 1.754e-06/0.817, allocations: 0.5 kB / 1.096 GB, free: 0.7227 MB / 0.8575 GB Notification: Performance of matching and sorting (n=18): time 0.0005466/0.8176, allocations: 234.9 kB / 1.096 GB, free: 0.6172 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.727e-05/0.8176, allocations: 58.89 kB / 1.096 GB, free: 0.5508 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004268/0.8181, allocations: 362.4 kB / 1.097 GB, free: 380 kB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.969e-05/0.8181, allocations: 34.53 kB / 1.097 GB, free: 344 kB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.84e-05/0.8182, allocations: 169.8 kB / 1.097 GB, free: 196 kB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.509e-05/0.8183, allocations: 47.64 kB / 1.097 GB, free: 160 kB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/0.8184, allocations: 69.42 kB / 1.097 GB, free: 120 kB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.8185, allocations: 339.5 kB / 1.097 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001866/0.8187, allocations: 88.75 kB / 1.097 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000252/0.819, allocations: 152.4 kB / 1.097 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002951/0.8193, allocations: 146.3 kB / 1.098 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.8193, allocations: 1.062 kB / 1.098 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004989/0.8198, allocations: 263.5 kB / 1.098 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.8198, allocations: 5.953 kB / 1.098 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.8198, allocations: 5.031 kB / 1.098 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.8199, allocations: 5.062 kB / 1.098 GB, free: 15.47 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001707/0.82, allocations: 45.06 kB / 1.098 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.8201, allocations: 2.188 kB / 1.098 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001751/0.8202, allocations: 34.25 kB / 1.098 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.003e-05/0.8203, allocations: 7.328 kB / 1.098 GB, free: 15.45 MB / 0.8731 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.0001903/0.8205, allocations: 165.1 kB / 1.098 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.973e-05/0.8205, allocations: 36.27 kB / 1.098 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.614e-05/0.8206, allocations: 31.86 kB / 1.098 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.8206, allocations: 6.094 kB / 1.098 GB, free: 15.26 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.8206, allocations: 48 / 1.098 GB, free: 15.26 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-06/0.8207, allocations: 6.531 kB / 1.098 GB, free: 15.26 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003635/0.821, allocations: 324.2 kB / 1.098 GB, free: 15 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.821, allocations: 0 / 1.098 GB, free: 15 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.073e-05/0.8211, allocations: 16.59 kB / 1.099 GB, free: 15 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.8211, allocations: 1.375 kB / 1.099 GB, free: 15 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.617e-05/0.8211, allocations: 2.578 kB / 1.099 GB, free: 15 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-05/0.8212, allocations: 5.703 kB / 1.099 GB, free: 15 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.8212, allocations: 4 kB / 1.099 GB, free: 15 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003833/0.8216, allocations: 217.5 kB / 1.099 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 8.893e-05/0.8217, allocations: 103.9 kB / 1.099 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.579e-05/0.8217, allocations: 7.688 kB / 1.099 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001172/0.8218, allocations: 17.19 kB / 1.099 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/0.8219, allocations: 34.8 kB / 1.099 GB, free: 14.74 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.85e-05/0.822, allocations: 9.625 kB / 1.099 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002548/0.8222, allocations: 227.3 kB / 1.099 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.81e-07/0.8222, allocations: 3.938 kB / 1.099 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.000309/0.8226, allocations: 59.95 kB / 1.099 GB, free: 14.59 MB / 0.8731 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.001043/0.8236, allocations: 424.1 kB / 1.1 GB, free: 14.4 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004278/0.824, allocations: 205.9 kB / 1.1 GB, free: 14.33 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.8241, allocations: 0 / 1.1 GB, free: 14.33 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001683/0.8242, allocations: 79.45 kB / 1.1 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003749/0.8246, allocations: 54.14 kB / 1.1 GB, free: 14.28 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008771/0.8255, allocations: 0.5001 MB / 1.1 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003885/0.8259, allocations: 0.7713 MB / 1.101 GB, free: 13.26 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.859e-05/0.826, allocations: 32.94 kB / 1.101 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of SimCode: time 2.1e-07/0.826, allocations: 1.438 kB / 1.101 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of Templates: time 0.008215/0.8342, allocations: 4.033 MB / 1.105 GB, free: 12.78 MB / 0.8731 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