Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Examples.VAVReheat.Controls.Examples.OperationModes.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Examples.VAVReheat.Controls.Examples.OperationModes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Examples.VAVReheat.Controls.Examples.OperationModes") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004369/0.004373, allocations: 236.4 kB / 15.8 MB, free: 6.281 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001171/0.001171, allocations: 182.4 kB / 16.69 MB, free: 5.449 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 3.915/3.915, allocations: 389.1 MB / 406.5 MB, free: 11.84 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.159/4.159, allocations: 472.3 MB / 0.9024 GB, free: 9.223 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.000675/0.0006753, allocations: 12 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1984/0.1991, allocations: 98.73 MB / 1.105 GB, free: 42.01 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.Controls.Examples.OperationModes): time 0.007856/0.207, allocations: 4.041 MB / 1.109 GB, free: 37.95 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.006113/0.2132, allocations: 2.014 MB / 1.111 GB, free: 35.93 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009475/0.2142, allocations: 35.81 kB / 1.111 GB, free: 35.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0004352/0.2147, allocations: 114.9 kB / 1.111 GB, free: 35.78 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0008833/0.2156, allocations: 153.7 kB / 1.111 GB, free: 35.63 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002566/0.2182, allocations: 0.575 MB / 1.111 GB, free: 35.06 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.003305/0.2215, allocations: 1.705 MB / 1.113 GB, free: 33.35 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002547/0.2241, allocations: 1.105 MB / 1.114 GB, free: 32.29 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009022/0.225, allocations: 490 kB / 1.115 GB, free: 31.8 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000937/0.226, allocations: 0.5247 MB / 1.115 GB, free: 31.28 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0002613/0.2263, allocations: 67.12 kB / 1.115 GB, free: 31.21 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003928/0.2267, allocations: 99.84 kB / 1.115 GB, free: 31.12 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0003244/0.227, allocations: 243 kB / 1.115 GB, free: 30.88 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.000397/0.2275, allocations: 268.9 kB / 1.116 GB, free: 30.61 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.00249/0.23, allocations: 1.516 MB / 1.117 GB, free: 29.09 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 9.948e-06/0.23, allocations: 4 kB / 1.117 GB, free: 29.09 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.685e-06/0.23, allocations: 0 / 1.117 GB, free: 29.09 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.393e-05/0.2301, allocations: 0 / 1.117 GB, free: 29.09 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 375 * Number of variables: 375 Notification: Performance of Generate backend data structure: time 0.004619/0.2347, allocations: 1.446 MB / 1.119 GB, free: 27.57 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.449e-05/0.2348, allocations: 8.031 kB / 1.119 GB, free: 27.56 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005173/0.2353, allocations: 173 kB / 1.119 GB, free: 27.39 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002176/0.2375, allocations: 0.7562 MB / 1.12 GB, free: 26.59 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002064/0.2378, allocations: 130.9 kB / 1.12 GB, free: 26.46 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004475/0.2382, allocations: 167.9 kB / 1.12 GB, free: 26.3 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005377/0.2436, allocations: 1.66 MB / 1.121 GB, free: 24.54 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.216e-05/0.2438, allocations: 3.938 kB / 1.121 GB, free: 24.54 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002572/0.244, allocations: 60 kB / 1.122 GB, free: 24.48 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.594e-05/0.2441, allocations: 40 kB / 1.122 GB, free: 24.44 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004572/0.2487, allocations: 1.247 MB / 1.123 GB, free: 23.19 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01275/0.2615, allocations: 5.85 MB / 1.128 GB, free: 17.23 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004148/0.2657, allocations: 1.122 MB / 1.13 GB, free: 16.09 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001927/0.2677, allocations: 0.513 MB / 1.13 GB, free: 15.57 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000185/0.2679, allocations: 21.06 kB / 1.13 GB, free: 15.55 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001723/0.2696, allocations: 0.6464 MB / 1.131 GB, free: 14.89 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=124): time 5.69e-06/0.2697, allocations: 0 / 1.131 GB, free: 14.89 MB / 0.6042 GB Notification: Performance of matching and sorting (n=124): time 0.003845/0.2735, allocations: 1.362 MB / 1.132 GB, free: 13.53 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.918e-05/0.2736, allocations: 106.1 kB / 1.132 GB, free: 13.41 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001061/0.2747, allocations: 0.6594 MB / 1.133 GB, free: 12.75 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0002637/0.275, allocations: 81.69 kB / 1.133 GB, free: 12.66 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004895/0.2755, allocations: 0.5419 MB / 1.133 GB, free: 12.11 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003822/0.2759, allocations: 331.6 kB / 1.134 GB, free: 11.78 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001139/0.276, allocations: 36 kB / 1.134 GB, free: 11.75 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001514/0.2762, allocations: 410.7 kB / 1.134 GB, free: 11.34 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001252/0.2775, allocations: 463.8 kB / 1.135 GB, free: 10.88 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00143/0.2789, allocations: 0.807 MB / 1.135 GB, free: 9.957 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001278/0.2802, allocations: 0.4962 MB / 1.136 GB, free: 9.473 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.174e-05/0.2802, allocations: 4 kB / 1.136 GB, free: 9.469 MB / 0.6042 GB Notification: Performance of matching and sorting (n=198) (initialization): time 0.003648/0.2839, allocations: 1.497 MB / 1.137 GB, free: 7.965 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002668/0.2842, allocations: 417.6 kB / 1.138 GB, free: 7.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.204e-05/0.2843, allocations: 23.88 kB / 1.138 GB, free: 7.406 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.495e-05/0.2843, allocations: 20 kB / 1.138 GB, free: 7.387 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001271/0.2856, allocations: 186.6 kB / 1.138 GB, free: 7.207 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.512e-05/0.2857, allocations: 31.88 kB / 1.138 GB, free: 7.176 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001616/0.2873, allocations: 234.6 kB / 1.138 GB, free: 6.953 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001694/0.2875, allocations: 67.98 kB / 1.138 GB, free: 6.887 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.2875, allocations: 7.594 kB / 1.138 GB, free: 6.883 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00328/0.2908, allocations: 1.426 MB / 1.14 GB, free: 5.457 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.015e-05/0.2908, allocations: 12 kB / 1.14 GB, free: 5.445 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.472e-05/0.2909, allocations: 20 kB / 1.14 GB, free: 5.426 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001153/0.292, allocations: 186 kB / 1.14 GB, free: 5.246 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.824e-05/0.2921, allocations: 23.92 kB / 1.14 GB, free: 5.223 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001482/0.2936, allocations: 213 kB / 1.14 GB, free: 5.02 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001658/0.2938, allocations: 69.77 kB / 1.14 GB, free: 4.953 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 128 ($PRE.operationModes.start.enableFire,$PRE.operationModes.t2.enableFire,$PRE.operationModes.t1.enableFire,$PRE.operationModes.t6.enableFire,$PRE.operationModes.t5.enableFire,$PRE.operationModes.t3.enableFire,$PRE.operationModes.t4.enableFire,$PRE.operationModes.t7.enableFire,$PRE.operationModes.t9.enableFire,$PRE.operationModes.t8.enableFire,operationModes.stateGraphRoot.resume,operationModes.stateGraphRoot.suspend,operationModes.start.condition,operationModes.morPreCoo.inPort[2].set,operationModes.initialStep.inPort[1].set,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition2,$whenCondition1,controlBus.controlMode,operationModes.initialStep.active,$PRE.operationModes.initialStep.localActive,operationModes.initialStep.localActive,$PRE.operationModes.initialStep.newActive,operationModes.initialStep.newActive,$PRE.operationModes.initialStep.oldActive,operationModes.initialStep.oldActive,operationModes.start.enableFire,$PRE.operationModes.unOccOff.localActive,operationModes.unOccOff.localActive,operationModes.unOccOff.inPort[2].occupied,operationModes.unOccOff.inPort[3].occupied,operationModes.unOccOff.outPort[2].available,operationModes.unOccOff.outPort[3].available,operationModes.unOccOff.outPort[4].available,$PRE.operationModes.unOccOff.newActive,operationModes.unOccOff.newActive,$PRE.operationModes.unOccOff.oldActive,operationModes.unOccOff.oldActive,operationModes.unOccOff.active,$PRE.operationModes.unOccNigSetBac.localActive,operationModes.unOccNigSetBac.localActive,operationModes.unOccNigSetBac.outPort[2].available,$PRE.operationModes.unOccNigSetBac.newActive,operationModes.unOccNigSetBac.newActive,$PRE.operationModes.unOccNigSetBac.oldActive,operationModes.unOccNigSetBac.oldActive,operationModes.unOccNigSetBac.active,operationModes.t2.condition,operationModes.t2.enableFire,operationModes.t2.fire,$PRE.operationModes.t2.t_start,operationModes.t2.t_start,operationModes.t1.condition,operationModes.t1.enableFire,operationModes.t1.fire,$PRE.operationModes.t1.t_start,operationModes.t1.t_start,operationModes.stateGraphRoot.activeSteps,$PRE.operationModes.morWarUp.localActive,operationModes.morWarUp.localActive,operationModes.morWarUp.inPort[2].occupied,$PRE.operationModes.morWarUp.newActive,operationModes.morWarUp.newActive,$PRE.operationModes.morWarUp.oldActive,operationModes.morWarUp.oldActive,operationModes.morWarUp.active,operationModes.t6.enableFire,operationModes.t6.fire,$PRE.operationModes.t6.t_start,operationModes.t6.t_start,operationModes.t5.condition,operationModes.t5.enableFire,$PRE.operationModes.occ.localActive,operationModes.occ.localActive,operationModes.occ.inPort[2].occupied,operationModes.occ.inPort[3].occupied,$PRE.operationModes.occ.newActive,operationModes.occ.newActive,$PRE.operationModes.occ.oldActive,operationModes.occ.oldActive,operationModes.occ.active,operationModes.t3.condition,operationModes.t3.enableFire,operationModes.t4.condition,operationModes.t4.enableFire,$PRE.operationModes.morPreCoo.localActive,operationModes.morPreCoo.localActive,operationModes.morPreCoo.inPort[2].occupied,$PRE.operationModes.morPreCoo.newActive,operationModes.morPreCoo.newActive,$PRE.operationModes.morPreCoo.oldActive,operationModes.morPreCoo.oldActive,operationModes.morPreCoo.active,operationModes.t7.condition,operationModes.t7.enableFire,operationModes.booleanExpression.y,operationModes.preCooSta.and3.u[1],operationModes.preCooSta.and3.u[3],operationModes.t9.condition,operationModes.t9.enableFire,operationModes.not1.y,operationModes.t8.enableFire,operationModes.sum.u[1],operationModes.sum.u[2],operationModes.sum.u[3],operationModes.sum.u[4],operationModes.sum.u[5],operationModes.yFan,modSel.y,modSel1.y,$PRE.occSch.occupied,occSch.occupied,$PRE.occSch.nexStaInd,occSch.nexStaInd,$PRE.occSch.nexStoInd,occSch.nexStoInd,$PRE.occSch.iPerSta,occSch.iPerSta,$PRE.occSch.iPerSto,occSch.iPerSto,$PRE.occSch.tOcc,occSch.tOcc,$PRE.occSch.tNonOcc,occSch.tNonOcc,operationModes.preCooSta.and3.u[2],PID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (192): * Single equations (assignments): 191 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009971/0.2948, allocations: 0.4973 MB / 1.141 GB, free: 4.453 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002365/0.295, allocations: 94.86 kB / 1.141 GB, free: 4.359 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00295/0.298, allocations: 1.154 MB / 1.142 GB, free: 3.203 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.952e-05/0.2981, allocations: 3.984 kB / 1.142 GB, free: 3.199 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.141e-06/0.2981, allocations: 0 / 1.142 GB, free: 3.199 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005254/0.2986, allocations: 275.5 kB / 1.142 GB, free: 2.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002165/0.2989, allocations: 31.98 kB / 1.142 GB, free: 2.879 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009403/0.2998, allocations: 90.11 kB / 1.142 GB, free: 2.797 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004434/0.3003, allocations: 161 kB / 1.142 GB, free: 2.637 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003574/0.3039, allocations: 1.334 MB / 1.144 GB, free: 1.309 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.004582/0.3085, allocations: 1.932 MB / 1.146 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001522/0.3101, allocations: 0.5569 MB / 1.146 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0007836/0.3109, allocations: 383.1 kB / 1.147 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of Backend: time 6.51e-07/0.3109, allocations: 0 / 1.147 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.005727/0.3166, allocations: 1.995 MB / 1.148 GB, free: 12.42 MB / 0.6198 GB Notification: Performance of SimCode: time 0.006214/0.3229, allocations: 2.761 MB / 1.151 GB, free: 9.688 MB / 0.6198 GB Notification: Performance of Templates: time 0.599/0.922, allocations: 17.58 MB / 1.168 GB, free: 79.27 MB / 0.6198 GB