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.001464/0.001464, allocations: 105.5 kB / 16.41 MB, free: 6.461 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.001554/0.001555, allocations: 187 kB / 17.34 MB, free: 5.719 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.567/1.567, allocations: 222.9 MB / 241 MB, free: 15.09 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.273/2.273, allocations: 390.3 MB / 0.6655 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001449/0.001449, allocations: 67.89 kB / 0.9516 GB, free: 7.617 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.815/0.8164, allocations: 140.4 MB / 1.089 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState): time 0.003394/0.8199, allocations: 2.083 MB / 1.091 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00193/0.8218, allocations: 1.174 MB / 1.092 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001761/0.822, allocations: 3.438 kB / 1.092 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003922/0.8224, allocations: 94.92 kB / 1.092 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000322/0.8228, allocations: 103.1 kB / 1.092 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005438/0.8233, allocations: 193.8 kB / 1.092 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004387/0.8238, allocations: 323 kB / 1.093 GB, free: 2.871 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002535/0.8241, allocations: 121 kB / 1.093 GB, free: 2.816 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002093/0.8243, allocations: 141.9 kB / 1.093 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001799/0.8245, allocations: 136.8 kB / 1.093 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.091e-05/0.8245, allocations: 28.66 kB / 1.093 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001667/0.8247, allocations: 73.5 kB / 1.093 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001088/0.8248, allocations: 81.91 kB / 1.093 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001223/0.8249, allocations: 138.1 kB / 1.093 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006112/0.8256, allocations: 457.9 kB / 1.094 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.8256, allocations: 1.156 kB / 1.094 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.683e-06/0.8256, allocations: 4 kB / 1.094 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.254e-06/0.8256, allocations: 0 / 1.094 GB, free: 2.344 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.0009826/0.8266, allocations: 0.6183 MB / 1.094 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/0.8266, allocations: 10.38 kB / 1.094 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.022e-05/0.8267, allocations: 33.25 kB / 1.094 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004526/0.8272, allocations: 348 kB / 1.095 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.546e-05/0.8272, allocations: 12.39 kB / 1.095 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.155e-05/0.8273, allocations: 25.91 kB / 1.095 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000404/0.8277, allocations: 174.9 kB / 1.095 GB, free: 1.414 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.8277, allocations: 0 / 1.095 GB, free: 1.414 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.397e-05/0.8277, allocations: 10.11 kB / 1.095 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-06/0.8277, allocations: 4.844 kB / 1.095 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002961/0.828, allocations: 125.1 kB / 1.095 GB, free: 1.363 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001057/0.8291, allocations: 0.6547 MB / 1.096 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004608/0.8296, allocations: 189.9 kB / 1.096 GB, free: 0.8398 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001618/0.8298, allocations: 88.55 kB / 1.096 GB, free: 0.7969 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.894e-05/0.8298, allocations: 2.062 kB / 1.096 GB, free: 0.7969 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002645/0.8301, allocations: 123.4 kB / 1.096 GB, free: 0.7227 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=18): time 2.164e-06/0.8301, allocations: 3.938 kB / 1.096 GB, free: 0.7188 MB / 0.8575 GB Notification: Performance of matching and sorting (n=18): time 0.0005585/0.8306, allocations: 235.6 kB / 1.096 GB, free: 0.6133 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.442e-05/0.8307, allocations: 57.38 kB / 1.096 GB, free: 0.5469 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004442/0.8311, allocations: 363.7 kB / 1.097 GB, free: 376 kB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.755e-05/0.8312, allocations: 37.52 kB / 1.097 GB, free: 336 kB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/0.8313, allocations: 174.2 kB / 1.097 GB, free: 184 kB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.245e-05/0.8313, allocations: 44.08 kB / 1.097 GB, free: 152 kB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000107/0.8314, allocations: 69.27 kB / 1.097 GB, free: 112 kB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.8316, allocations: 339.3 kB / 1.097 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000187/0.8318, allocations: 88.95 kB / 1.097 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002412/0.832, allocations: 148.8 kB / 1.097 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002785/0.8323, allocations: 146.3 kB / 1.098 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.8323, allocations: 0 / 1.098 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004766/0.8328, allocations: 264.4 kB / 1.098 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.8328, allocations: 5.25 kB / 1.098 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.8328, allocations: 1.062 kB / 1.098 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.8329, allocations: 5.766 kB / 1.098 GB, free: 15.47 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001648/0.833, allocations: 44.73 kB / 1.098 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.8331, allocations: 6.906 kB / 1.098 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001723/0.8332, allocations: 33.19 kB / 1.098 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.755e-05/0.8333, allocations: 7.719 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.0001897/0.8335, allocations: 169.9 kB / 1.098 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.835e-05/0.8335, allocations: 27.38 kB / 1.098 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.892e-05/0.8336, allocations: 36.25 kB / 1.098 GB, free: 15.26 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.8336, allocations: 5.5 kB / 1.098 GB, free: 15.26 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.8336, allocations: 1.266 kB / 1.098 GB, free: 15.26 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.8337, allocations: 0.5625 kB / 1.098 GB, free: 15.26 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003363/0.834, allocations: 325.5 kB / 1.098 GB, free: 15 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.834, allocations: 0.6562 kB / 1.098 GB, free: 15 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.508e-05/0.8341, allocations: 14.69 kB / 1.099 GB, free: 15 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.8341, allocations: 1.094 kB / 1.099 GB, free: 15 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.002e-05/0.8341, allocations: 12.28 kB / 1.099 GB, free: 15 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.8341, allocations: 5.062 kB / 1.099 GB, free: 14.99 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.8341, allocations: 4 kB / 1.099 GB, free: 14.99 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000376/0.8345, allocations: 212.8 kB / 1.099 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.553e-05/0.8346, allocations: 99.72 kB / 1.099 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.332e-05/0.8347, allocations: 6.875 kB / 1.099 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001178/0.8348, allocations: 22.06 kB / 1.099 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.66e-05/0.8349, allocations: 32.73 kB / 1.099 GB, free: 14.74 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.98e-05/0.8349, allocations: 7.391 kB / 1.099 GB, free: 14.74 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002625/0.8352, allocations: 234.4 kB / 1.099 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8352, allocations: 0 / 1.099 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003164/0.8355, allocations: 66.05 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.001014/0.8365, allocations: 427.9 kB / 1.1 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004234/0.837, allocations: 201.3 kB / 1.1 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.837, allocations: 0 / 1.1 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001644/0.8371, allocations: 79.16 kB / 1.1 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.0003778/0.8375, allocations: 48.83 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.001015/0.8386, allocations: 0.5029 MB / 1.1 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003983/0.839, allocations: 0.7756 MB / 1.101 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/0.8391, allocations: 33.05 kB / 1.101 GB, free: 13.24 MB / 0.8731 GB Notification: Performance of SimCode: time 3.3e-07/0.8391, allocations: 1.344 kB / 1.101 GB, free: 13.24 MB / 0.8731 GB Notification: Performance of Templates: time 0.008624/0.8477, allocations: 4.024 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