Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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="empty",numberOfIntervals=0,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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="empty",numberOfIntervals=0,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.001187/0.001186, allocations: 108 kB / 15.61 MB, free: 152 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.001431/0.001431, allocations: 194 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.648/1.648, allocations: 205.1 MB / 222.4 MB, free: 4.598 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.719/1.719, allocations: 251.7 MB / 0.5092 GB, free: 3.145 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001653/0.001654, allocations: 71.91 kB / 0.6223 GB, free: 1.484 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6113/0.613, allocations: 104.7 MB / 0.7246 GB, free: 12.96 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState): time 0.003168/0.6162, allocations: 1.807 MB / 0.7263 GB, free: 11.13 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0006693/0.6169, allocations: 307.9 kB / 0.7266 GB, free: 10.83 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.924e-05/0.617, allocations: 0 / 0.7266 GB, free: 10.83 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 5.832e-05/0.6171, allocations: 27.67 kB / 0.7267 GB, free: 10.8 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001142/0.6172, allocations: 23.69 kB / 0.7267 GB, free: 10.78 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00026/0.6175, allocations: 87.88 kB / 0.7268 GB, free: 10.69 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002486/0.6177, allocations: 264 kB / 0.727 GB, free: 10.43 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002081/0.6179, allocations: 101.4 kB / 0.7271 GB, free: 10.34 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001432/0.6181, allocations: 119.5 kB / 0.7272 GB, free: 10.22 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001302/0.6182, allocations: 115.5 kB / 0.7273 GB, free: 10.11 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.887e-05/0.6183, allocations: 28 kB / 0.7274 GB, free: 10.08 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 3.706e-05/0.6183, allocations: 28 kB / 0.7274 GB, free: 10.05 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.00011/0.6184, allocations: 63.81 kB / 0.7274 GB, free: 9.988 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001091/0.6186, allocations: 111.5 kB / 0.7276 GB, free: 9.879 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003215/0.6189, allocations: 340.8 kB / 0.7279 GB, free: 9.547 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.6189, allocations: 0 / 0.7279 GB, free: 9.547 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.144e-06/0.6189, allocations: 0 / 0.7279 GB, free: 9.547 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.438e-06/0.6189, allocations: 0 / 0.7279 GB, free: 9.547 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.001262/0.6202, allocations: 0.5531 MB / 0.7284 GB, free: 8.941 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.446e-05/0.6203, allocations: 12.03 kB / 0.7284 GB, free: 8.93 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.04e-05/0.6204, allocations: 24.66 kB / 0.7285 GB, free: 8.906 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003897/0.6208, allocations: 251.8 kB / 0.7287 GB, free: 8.621 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.131e-05/0.6208, allocations: 20.38 kB / 0.7287 GB, free: 8.602 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.369e-05/0.6208, allocations: 20.38 kB / 0.7287 GB, free: 8.582 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005536/0.6214, allocations: 218 kB / 0.7289 GB, free: 8.363 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.6214, allocations: 192 / 0.7289 GB, free: 8.363 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.113e-05/0.6215, allocations: 7.938 kB / 0.7289 GB, free: 8.355 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.848e-06/0.6215, allocations: 4 kB / 0.729 GB, free: 8.352 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005582/0.6221, allocations: 187.8 kB / 0.7291 GB, free: 8.168 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001172/0.6232, allocations: 0.6326 MB / 0.7297 GB, free: 7.484 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006702/0.6239, allocations: 210.4 kB / 0.7299 GB, free: 7.27 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002903/0.6242, allocations: 92.8 kB / 0.73 GB, free: 7.176 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.561e-05/0.6242, allocations: 0 / 0.73 GB, free: 7.176 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005543/0.6248, allocations: 171.2 kB / 0.7302 GB, free: 6.996 MB / 0.545 GB Notification: Performance of pre-optimization done (n=20): time 1.413e-06/0.6248, allocations: 0 / 0.7302 GB, free: 6.996 MB / 0.545 GB Notification: Performance of matching and sorting (n=20): time 0.0009333/0.6258, allocations: 309.5 kB / 0.7305 GB, free: 6.688 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.446e-05/0.6258, allocations: 59.39 kB / 0.7306 GB, free: 6.617 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000211/0.6261, allocations: 210.1 kB / 0.7308 GB, free: 6.398 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.852e-05/0.6261, allocations: 41.64 kB / 0.7308 GB, free: 6.352 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001168/0.6262, allocations: 132.4 kB / 0.7309 GB, free: 6.215 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.009e-05/0.6263, allocations: 59.34 kB / 0.731 GB, free: 6.156 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001123/0.6264, allocations: 57.69 kB / 0.731 GB, free: 6.094 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.00015/0.6266, allocations: 334.8 kB / 0.7314 GB, free: 5.758 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002995/0.6269, allocations: 99.92 kB / 0.7314 GB, free: 5.66 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003326/0.6272, allocations: 139.4 kB / 0.7316 GB, free: 5.512 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00048/0.6277, allocations: 154.8 kB / 0.7317 GB, free: 5.359 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.6277, allocations: 4 kB / 0.7317 GB, free: 5.355 MB / 0.545 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006162/0.6283, allocations: 261.8 kB / 0.732 GB, free: 5.094 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.6284, allocations: 8 kB / 0.732 GB, free: 5.086 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.6284, allocations: 7.984 kB / 0.732 GB, free: 5.078 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.6284, allocations: 0 / 0.732 GB, free: 5.078 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002112/0.6286, allocations: 43.91 kB / 0.732 GB, free: 5.035 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.777e-06/0.6286, allocations: 4 kB / 0.732 GB, free: 5.031 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002447/0.6289, allocations: 47.7 kB / 0.7321 GB, free: 4.984 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.191e-05/0.6289, allocations: 8 kB / 0.7321 GB, free: 4.977 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 24 (uHea.count,$PRE.uHea.count,uHea.T_start,$PRE.uHea.T_start,uCoo.count,$PRE.uCoo.count,uCoo.T_start,$PRE.uCoo.T_start,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,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.0001511/0.6291, allocations: 147.5 kB / 0.7322 GB, free: 4.824 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.078e-05/0.6291, allocations: 19.84 kB / 0.7323 GB, free: 4.805 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.186e-05/0.6292, allocations: 29.86 kB / 0.7323 GB, free: 4.777 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.6292, allocations: 3.938 kB / 0.7323 GB, free: 4.773 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.79e-06/0.6292, allocations: 0 / 0.7323 GB, free: 4.773 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.6292, allocations: 3.984 kB / 0.7323 GB, free: 4.77 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002926/0.6295, allocations: 301.3 kB / 0.7326 GB, free: 4.426 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.6295, allocations: 4 kB / 0.7326 GB, free: 4.422 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001518/0.6297, allocations: 27.97 kB / 0.7326 GB, free: 4.395 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.6297, allocations: 7.875 kB / 0.7326 GB, free: 4.387 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.875e-05/0.6297, allocations: 4 kB / 0.7326 GB, free: 4.383 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.6297, allocations: 4 kB / 0.7326 GB, free: 4.379 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.6297, allocations: 0 / 0.7326 GB, free: 4.379 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005887/0.6303, allocations: 262.9 kB / 0.7329 GB, free: 4.105 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.45e-05/0.6304, allocations: 92.91 kB / 0.733 GB, free: 3.996 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.823e-05/0.6304, allocations: 8 kB / 0.733 GB, free: 3.988 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002022/0.6306, allocations: 31.95 kB / 0.733 GB, free: 3.957 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000123/0.6308, allocations: 47.94 kB / 0.733 GB, free: 3.91 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.427e-05/0.6308, allocations: 4 kB / 0.733 GB, free: 3.906 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001486/0.6309, allocations: 144.5 kB / 0.7332 GB, free: 3.766 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.631, allocations: 0 / 0.7332 GB, free: 3.766 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002434/0.6312, allocations: 47.84 kB / 0.7332 GB, free: 3.719 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition2,$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,uCoo.T_start,uCoo.count,uHea.T_start,uHea.count) * Number of discrete states: 5 (uCoo.count,uHea.count,zonSta.hysU.y,zonSta.hysUCoo.y,zonSta.hysUHea.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0001592/0.6314, allocations: 111.2 kB / 0.7333 GB, free: 3.598 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0007017/0.6321, allocations: 239.7 kB / 0.7336 GB, free: 3.363 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.6321, allocations: 0 / 0.7336 GB, free: 3.363 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000321/0.6324, allocations: 111.9 kB / 0.7337 GB, free: 3.254 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002725/0.6327, allocations: 23.98 kB / 0.7337 GB, free: 3.23 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008376/0.6335, allocations: 378.5 kB / 0.7341 GB, free: 2.836 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003114/0.6339, allocations: 0.7362 MB / 0.7348 GB, free: 2.074 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.667e-05/0.634, allocations: 21.94 kB / 0.7348 GB, free: 2.055 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.771e-05/0.634, allocations: 23.44 kB / 0.7348 GB, free: 2.031 MB / 0.545 GB Notification: Performance of SimCode: time 2.1e-07/0.6341, allocations: 0 / 0.7348 GB, free: 2.031 MB / 0.545 GB Notification: Performance of Templates: time 0.00613/0.6402, allocations: 2.798 MB / 0.7376 GB, free: 15.28 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe 2>&1)