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.008787/0.008787, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001599/0.001599, allocations: 195.6 kB / 16.67 MB, free: 5.52 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.443/1.443, allocations: 222.9 MB / 240.4 MB, free: 15.17 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.406/2.406, allocations: 390.2 MB / 0.6648 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001387, allocations: 55.91 kB / 0.9509 GB, free: 7.621 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.152/1.153, allocations: 140.4 MB / 1.088 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState): time 0.005328/1.159, allocations: 2.09 MB / 1.09 GB, free: 4.035 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002733/1.162, allocations: 1.174 MB / 1.091 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002351/1.162, allocations: 2.5 kB / 1.091 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005592/1.162, allocations: 94.67 kB / 1.091 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003747/1.163, allocations: 98.39 kB / 1.091 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006114/1.163, allocations: 191.6 kB / 1.091 GB, free: 3.02 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005314/1.164, allocations: 315 kB / 1.092 GB, free: 2.867 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003419/1.164, allocations: 122.2 kB / 1.092 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002223/1.165, allocations: 139.1 kB / 1.092 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002316/1.165, allocations: 137.2 kB / 1.092 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.852e-05/1.165, allocations: 26.66 kB / 1.092 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002161/1.165, allocations: 69.11 kB / 1.092 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001529/1.165, allocations: 85.28 kB / 1.092 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001685/1.165, allocations: 144 kB / 1.092 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0008364/1.166, allocations: 460.9 kB / 1.093 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/1.166, allocations: 0.75 kB / 1.093 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.472e-06/1.166, allocations: 4 kB / 1.093 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.757e-06/1.166, allocations: 0 / 1.093 GB, free: 2.332 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.001208/1.168, allocations: 0.6087 MB / 1.094 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.552e-05/1.168, allocations: 10 kB / 1.094 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001106/1.168, allocations: 33.19 kB / 1.094 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005758/1.168, allocations: 351.7 kB / 1.094 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.32e-05/1.168, allocations: 13.41 kB / 1.094 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.577e-05/1.168, allocations: 29.7 kB / 1.094 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004733/1.169, allocations: 174.7 kB / 1.094 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/1.169, allocations: 0 / 1.094 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.854e-05/1.169, allocations: 14.14 kB / 1.094 GB, free: 1.391 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.594e-05/1.169, allocations: 4.531 kB / 1.094 GB, free: 1.391 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000359/1.169, allocations: 121.5 kB / 1.094 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001608/1.171, allocations: 0.655 MB / 1.095 GB, free: 0.9141 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006169/1.172, allocations: 187 kB / 1.095 GB, free: 0.8281 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002288/1.172, allocations: 83.95 kB / 1.095 GB, free: 0.7891 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.854e-05/1.172, allocations: 3.672 kB / 1.095 GB, free: 0.7891 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003616/1.172, allocations: 122.4 kB / 1.095 GB, free: 0.7148 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=18): time 1.483e-06/1.172, allocations: 0 / 1.095 GB, free: 0.7148 MB / 0.8575 GB Notification: Performance of matching and sorting (n=18): time 0.000783/1.173, allocations: 239.4 kB / 1.095 GB, free: 0.6055 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.91e-05/1.173, allocations: 58.11 kB / 1.096 GB, free: 0.5391 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006624/1.174, allocations: 358.7 kB / 1.096 GB, free: 372 kB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.607e-05/1.174, allocations: 38.5 kB / 1.096 GB, free: 332 kB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001582/1.174, allocations: 175 kB / 1.096 GB, free: 180 kB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 6.162e-05/1.174, allocations: 42.39 kB / 1.096 GB, free: 148 kB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000154/1.174, allocations: 70.03 kB / 1.096 GB, free: 108 kB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002186/1.174, allocations: 338.8 kB / 1.097 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002553/1.175, allocations: 89.52 kB / 1.097 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000356/1.175, allocations: 147.6 kB / 1.097 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004103/1.176, allocations: 151.1 kB / 1.097 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/1.176, allocations: 0 / 1.097 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006411/1.176, allocations: 261.1 kB / 1.097 GB, free: 15.47 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.625e-05/1.176, allocations: 5.156 kB / 1.097 GB, free: 15.47 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.407e-06/1.176, allocations: 0.9688 kB / 1.097 GB, free: 15.47 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.274e-05/1.176, allocations: 8.812 kB / 1.097 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001904/1.176, allocations: 45.92 kB / 1.097 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.522e-05/1.177, allocations: 1.281 kB / 1.097 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002107/1.177, allocations: 33.64 kB / 1.097 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.079e-05/1.177, allocations: 8.156 kB / 1.097 GB, free: 15.44 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.0002402/1.177, allocations: 174.5 kB / 1.097 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.366e-05/1.177, allocations: 26.88 kB / 1.097 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001002/1.177, allocations: 39.75 kB / 1.097 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.668e-06/1.177, allocations: 5.969 kB / 1.097 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.398e-06/1.177, allocations: 0.75 kB / 1.097 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/1.177, allocations: 1.219 kB / 1.097 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004656/1.178, allocations: 321 kB / 1.098 GB, free: 15 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/1.178, allocations: 0.75 kB / 1.098 GB, free: 15 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.866e-05/1.178, allocations: 19.41 kB / 1.098 GB, free: 14.99 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/1.178, allocations: 5.062 kB / 1.098 GB, free: 14.99 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.386e-05/1.178, allocations: 7.859 kB / 1.098 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/1.178, allocations: 4.453 kB / 1.098 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/1.178, allocations: 5.062 kB / 1.098 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004503/1.178, allocations: 211.8 kB / 1.098 GB, free: 14.85 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001051/1.178, allocations: 99.83 kB / 1.098 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.017e-05/1.178, allocations: 7.469 kB / 1.098 GB, free: 14.74 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001172/1.179, allocations: 21.23 kB / 1.098 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001361/1.179, allocations: 29.97 kB / 1.098 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.465e-05/1.179, allocations: 10.08 kB / 1.098 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003551/1.179, allocations: 235.2 kB / 1.098 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.7e-07/1.179, allocations: 3.938 kB / 1.098 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003486/1.18, allocations: 57.08 kB / 1.098 GB, free: 14.58 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.001224/1.181, allocations: 422.7 kB / 1.099 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005597/1.181, allocations: 201.1 kB / 1.099 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/1.181, allocations: 0 / 1.099 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002/1.182, allocations: 80.25 kB / 1.099 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004091/1.182, allocations: 57.61 kB / 1.099 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001149/1.183, allocations: 474 kB / 1.1 GB, free: 13.99 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004676/1.184, allocations: 0.773 MB / 1.1 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001595/1.184, allocations: 38.8 kB / 1.1 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.998e-05/1.184, allocations: 33.69 kB / 1.1 GB, free: 13.26 MB / 0.8731 GB Notification: Performance of SimCode: time 2.41e-07/1.184, allocations: 3.938 kB / 1.1 GB, free: 13.26 MB / 0.8731 GB Notification: Performance of Templates: time 0.009727/1.194, allocations: 3.62 MB / 1.104 GB, free: 12.95 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/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