Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.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.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01066/0.01066, allocations: 109.8 kB / 15.05 MB, free: 5.965 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.001196/0.001195, allocations: 184.4 kB / 15.94 MB, free: 5.93 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 2.124/2.124, allocations: 194.6 MB / 211.3 MB, free: 11.3 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.299/2.299, allocations: 236.2 MB / 492.6 MB, free: 11.38 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008317/0.0008319, allocations: 16 kB / 0.5869 GB, free: 2.188 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5473/0.5482, allocations: 98.72 MB / 0.6833 GB, free: 16.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1838/0.732, allocations: 125.2 MB / 0.8056 GB, free: 1.121 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002559/0.7323, allocations: 75.95 kB / 0.8056 GB, free: 1.047 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.01495/0.7473, allocations: 3.29 MB / 0.8088 GB, free: 13.75 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.972e-06/0.7474, allocations: 0 / 0.8088 GB, free: 13.75 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.75e-06/0.7474, allocations: 0 / 0.8088 GB, free: 13.75 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001053/0.7484, allocations: 0.549 MB / 0.8094 GB, free: 13.14 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.7485, allocations: 12.03 kB / 0.8094 GB, free: 13.12 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001182/0.7486, allocations: 35.75 kB / 0.8094 GB, free: 13.09 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006832/0.7493, allocations: 266.7 kB / 0.8097 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.992e-05/0.7494, allocations: 19.98 kB / 0.8097 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.788e-05/0.7495, allocations: 28 kB / 0.8097 GB, free: 12.74 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006718/0.7502, allocations: 258.5 kB / 0.81 GB, free: 12.47 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.7502, allocations: 0 / 0.81 GB, free: 12.47 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.877e-05/0.7503, allocations: 7.984 kB / 0.81 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.81e-06/0.7503, allocations: 4 kB / 0.81 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003682/0.7507, allocations: 99.86 kB / 0.8101 GB, free: 12.36 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005809/0.7513, allocations: 382.2 kB / 0.8104 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005852/0.7519, allocations: 254.7 kB / 0.8107 GB, free: 11.65 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.323e-05/0.7519, allocations: 4.062 kB / 0.8107 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006565/0.7526, allocations: 277.1 kB / 0.811 GB, free: 11.35 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=24): time 3.426e-06/0.7526, allocations: 0 / 0.811 GB, free: 11.35 MB / 0.6355 GB Notification: Performance of matching and sorting (n=24): time 0.001643/0.7542, allocations: 0.5292 MB / 0.8115 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001132/0.7544, allocations: 140.8 kB / 0.8116 GB, free: 10.65 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000176/0.7546, allocations: 141.5 kB / 0.8117 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.874e-05/0.7547, allocations: 45.7 kB / 0.8118 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/0.7548, allocations: 104.6 kB / 0.8119 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 9.637e-05/0.7549, allocations: 63.19 kB / 0.8119 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.341e-05/0.755, allocations: 12 kB / 0.812 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001773/0.7551, allocations: 326.8 kB / 0.8123 GB, free: 9.941 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004314/0.7556, allocations: 179.9 kB / 0.8124 GB, free: 9.766 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004498/0.7561, allocations: 215.1 kB / 0.8126 GB, free: 9.543 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004474/0.7565, allocations: 233.9 kB / 0.8129 GB, free: 9.305 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.203e-06/0.7565, allocations: 3.938 kB / 0.8129 GB, free: 9.301 MB / 0.6355 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001583/0.7581, allocations: 0.7217 MB / 0.8136 GB, free: 8.562 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001087/0.7583, allocations: 83.44 kB / 0.8137 GB, free: 8.469 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.7583, allocations: 8 kB / 0.8137 GB, free: 8.461 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.066e-05/0.7583, allocations: 0 / 0.8137 GB, free: 8.461 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001434/0.7585, allocations: 23.86 kB / 0.8137 GB, free: 8.438 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.175e-05/0.7585, allocations: 3.984 kB / 0.8137 GB, free: 8.434 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004845/0.759, allocations: 79.83 kB / 0.8138 GB, free: 8.355 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.181e-05/0.7591, allocations: 23.98 kB / 0.8138 GB, free: 8.332 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition3,$whenCondition4,$PRE.occSchWee.occupied,occSchWee.occupied,$PRE.occSchWee.nexStaInd,occSchWee.nexStaInd,$PRE.occSchWee.nexStoInd,occSchWee.nexStoInd,$PRE.occSchWee.iPerSta,occSchWee.iPerSta,$PRE.occSchWee.iPerSto,occSchWee.iPerSto,$PRE.occSchWee.tOcc,occSchWee.tOcc,$PRE.occSchWee.tNonOcc,occSchWee.tNonOcc,$whenCondition1,$whenCondition2,$PRE.occSchDay.occupied,occSchDay.occupied,$PRE.occSchDay.nexStaInd,occSchDay.nexStaInd,$PRE.occSchDay.nexStoInd,occSchDay.nexStoInd,$PRE.occSchDay.iPerSta,occSchDay.iPerSta,$PRE.occSchDay.iPerSto,occSchDay.iPerSto,$PRE.occSchDay.tOcc,occSchDay.tOcc,$PRE.occSchDay.tNonOcc,occSchDay.tNonOcc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 2 * 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.0002711/0.7594, allocations: 154.6 kB / 0.8139 GB, free: 8.172 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.181e-05/0.7594, allocations: 27.75 kB / 0.814 GB, free: 8.145 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.14e-05/0.7595, allocations: 16.72 kB / 0.814 GB, free: 8.125 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.399e-06/0.7595, allocations: 4 kB / 0.814 GB, free: 8.121 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.7595, allocations: 0 / 0.814 GB, free: 8.121 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.642e-06/0.7596, allocations: 3.984 kB / 0.814 GB, free: 8.117 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003462/0.7599, allocations: 269.4 kB / 0.8142 GB, free: 7.805 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.766e-06/0.7599, allocations: 4 kB / 0.8143 GB, free: 7.801 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.683e-05/0.76, allocations: 15.98 kB / 0.8143 GB, free: 7.785 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.652e-06/0.7601, allocations: 0 / 0.8143 GB, free: 7.785 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.324e-05/0.7601, allocations: 15.94 kB / 0.8143 GB, free: 7.77 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.099e-06/0.7601, allocations: 4 kB / 0.8143 GB, free: 7.766 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.278e-06/0.7601, allocations: 0 / 0.8143 GB, free: 7.766 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001186/0.7613, allocations: 0.4927 MB / 0.8148 GB, free: 7.227 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.701e-05/0.7614, allocations: 92.91 kB / 0.8149 GB, free: 7.117 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.228e-05/0.7615, allocations: 19.98 kB / 0.8149 GB, free: 7.098 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001931/0.7617, allocations: 19.98 kB / 0.8149 GB, free: 7.078 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.611e-05/0.7618, allocations: 31.95 kB / 0.8149 GB, free: 7.047 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.647e-05/0.7619, allocations: 19.98 kB / 0.8149 GB, free: 7.027 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001369/0.762, allocations: 115.2 kB / 0.8151 GB, free: 6.914 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.081e-06/0.7621, allocations: 0 / 0.8151 GB, free: 6.914 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005433/0.7626, allocations: 87.92 kB / 0.8151 GB, free: 6.828 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition3,$whenCondition4,occSchWee.occupied,occSchWee.nexStaInd,occSchWee.nexStoInd,occSchWee.iPerSta,occSchWee.iPerSto,occSchWee.tOcc,occSchWee.tNonOcc,$whenCondition1,$whenCondition2,occSchDay.occupied,occSchDay.nexStaInd,occSchDay.nexStoInd,occSchDay.iPerSta,occSchDay.iPerSto,occSchDay.tOcc,occSchDay.tNonOcc) * Number of discrete states: 14 (occSchDay.tNonOcc,occSchDay.iPerSto,occSchDay.nexStoInd,occSchDay.occupied,occSchDay.tOcc,occSchDay.nexStaInd,occSchDay.iPerSta,occSchWee.tNonOcc,occSchWee.iPerSto,occSchWee.nexStoInd,occSchWee.occupied,occSchWee.tOcc,occSchWee.nexStaInd,occSchWee.iPerSta) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000256/0.7629, allocations: 147.8 kB / 0.8153 GB, free: 6.676 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001372/0.7643, allocations: 0.6859 MB / 0.8159 GB, free: 5.965 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.04e-06/0.7643, allocations: 4 kB / 0.816 GB, free: 5.961 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0004758/0.7648, allocations: 163.8 kB / 0.8161 GB, free: 5.801 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001942/0.765, allocations: 15.98 kB / 0.8161 GB, free: 5.785 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001028/0.766, allocations: 397.4 kB / 0.8165 GB, free: 5.359 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004133/0.7665, allocations: 0.7208 MB / 0.8172 GB, free: 4.613 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.34e-05/0.7665, allocations: 21.36 kB / 0.8172 GB, free: 4.594 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.288e-05/0.7666, allocations: 19.38 kB / 0.8172 GB, free: 4.574 MB / 0.6355 GB Notification: Performance of SimCode: time 1.731e-06/0.7666, allocations: 3.938 kB / 0.8172 GB, free: 4.57 MB / 0.6355 GB Notification: Performance of Templates: time 0.009169/0.7758, allocations: 3.16 MB / 0.8203 GB, free: 1.441 MB / 0.6355 GB