Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_master_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.432/2.432, allocations: 287.9 MB / 302.9 MB, free: 8.266 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001388/0.001388, allocations: 179.3 kB / 371.4 MB, free: 10.68 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.045/2.045, allocations: 205.4 MB / 0.6301 GB, free: 10.4 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001055/0.001055, allocations: 97.23 kB / 0.7434 GB, free: 6.414 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004478/0.000448, allocations: 11 kB / 0.8662 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.155, allocations: 115.3 MB / 0.9788 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5): time 0.7147/0.8698, allocations: 132.9 MB / 1.109 GB, free: 1.477 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.02659/0.8964, allocations: 18.4 MB / 1.127 GB, free: 15.98 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002277/0.8987, allocations: 41.09 kB / 1.127 GB, free: 15.97 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.003719/0.9025, allocations: 2.293 MB / 1.129 GB, free: 15.84 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.006486/0.909, allocations: 2.339 MB / 1.131 GB, free: 15.68 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.004566/0.9136, allocations: 1.122 MB / 1.132 GB, free: 15.42 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.002761/0.9164, allocations: 1.257 MB / 1.133 GB, free: 15.13 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001345/0.9177, allocations: 0.806 MB / 1.134 GB, free: 14.79 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001221/0.919, allocations: 0.7132 MB / 1.135 GB, free: 14.54 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001757/0.9208, allocations: 1.154 MB / 1.136 GB, free: 14.15 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001922/0.921, allocations: 36.06 kB / 1.136 GB, free: 14.15 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003886/0.9214, allocations: 62.23 kB / 1.136 GB, free: 14.15 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0005089/0.9219, allocations: 487.6 kB / 1.137 GB, free: 13.96 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0003935/0.9223, allocations: 315.7 kB / 1.137 GB, free: 13.86 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001735/0.9241, allocations: 1.349 MB / 1.138 GB, free: 13.16 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.118e-06/0.9241, allocations: 0 / 1.138 GB, free: 13.16 MB / 0.698 GB Notification: Performance of FrontEnd: time 5.637e-06/0.9241, allocations: 0 / 1.138 GB, free: 13.16 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.067e-05/0.9241, allocations: 3.938 kB / 1.138 GB, free: 13.16 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.003701/0.9279, allocations: 1.987 MB / 1.14 GB, free: 11.77 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.9279, allocations: 9.656 kB / 1.14 GB, free: 11.77 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004064/0.9283, allocations: 231.6 kB / 1.14 GB, free: 11.65 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001842/0.9302, allocations: 0.9092 MB / 1.141 GB, free: 11.07 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001849/0.9304, allocations: 87.66 kB / 1.141 GB, free: 11.04 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001289/0.9305, allocations: 61.97 kB / 1.141 GB, free: 11.04 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001779/0.9323, allocations: 0.7218 MB / 1.142 GB, free: 10.82 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.856e-05/0.9324, allocations: 3.25 kB / 1.142 GB, free: 10.82 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.561e-05/0.9325, allocations: 22.84 kB / 1.142 GB, free: 10.82 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.906e-05/0.9325, allocations: 18.84 kB / 1.142 GB, free: 10.82 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001646/0.9342, allocations: 0.6117 MB / 1.143 GB, free: 10.7 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006474/0.9406, allocations: 3.381 MB / 1.146 GB, free: 8.637 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002395/0.9431, allocations: 0.835 MB / 1.147 GB, free: 8.473 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.52e-05/0.9432, allocations: 10.98 kB / 1.147 GB, free: 8.469 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001061/0.9443, allocations: 429.1 kB / 1.147 GB, free: 8.32 MB / 0.698 GB Notification: Performance of pre-optimization done (n=68): time 4.313e-06/0.9443, allocations: 0 / 1.147 GB, free: 8.32 MB / 0.698 GB Notification: Performance of matching and sorting (n=68): time 0.005664/0.95, allocations: 1.79 MB / 1.149 GB, free: 7.641 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.157e-05/0.9501, allocations: 66.11 kB / 1.149 GB, free: 7.57 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005809/0.9559, allocations: 3.301 MB / 1.152 GB, free: 6.914 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001963/0.9561, allocations: 43.05 kB / 1.152 GB, free: 6.883 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001682/0.9578, allocations: 0.8869 MB / 1.153 GB, free: 6.652 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005583/0.9584, allocations: 217.5 kB / 1.153 GB, free: 6.504 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.416e-05/0.9585, allocations: 13.94 kB / 1.153 GB, free: 6.504 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002798/0.9588, allocations: 341.6 kB / 1.154 GB, free: 6.184 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001276/0.9601, allocations: 281 kB / 1.154 GB, free: 6.141 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001372/0.9615, allocations: 414 kB / 1.154 GB, free: 5.957 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001488/0.963, allocations: 331.1 kB / 1.155 GB, free: 5.914 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.01e-05/0.9631, allocations: 1.781 kB / 1.155 GB, free: 5.914 MB / 0.698 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.004968/0.9681, allocations: 1.167 MB / 1.156 GB, free: 5.566 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.574e-05/0.9681, allocations: 5 kB / 1.156 GB, free: 5.566 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/0.9682, allocations: 6.812 kB / 1.156 GB, free: 5.562 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009211/0.9691, allocations: 254.9 kB / 1.156 GB, free: 5.504 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00074/0.9699, allocations: 128.2 kB / 1.156 GB, free: 5.477 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01062/0.9805, allocations: 4.448 MB / 1.161 GB, free: 2.488 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001686/0.9822, allocations: 100.2 kB / 1.161 GB, free: 2.441 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001267/0.9824, allocations: 26.34 kB / 1.161 GB, free: 2.441 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 30 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition7,$whenCondition6,$PRE.intGai.nextTimeEvent,$whenCondition5,$PRE.reference.nextTimeEvent,$whenCondition4,$PRE.outdoorTemp.nextTimeEvent,$whenCondition3,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition1,$whenCondition2,reference.nextTimeEvent,$PRE.reference.nextTimeEventScaled,reference.nextTimeEventScaled,$PRE.assEqu.satisfied,assEqu.satisfied,$PRE.mean.y,mean.y,intGai.nextTimeEvent,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEventScaled,outdoorTemp.nextTimeEvent,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 18,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001775/0.9842, allocations: 0.614 MB / 1.161 GB, free: 2.23 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004179/0.9846, allocations: 206.7 kB / 1.162 GB, free: 2.117 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005006/0.9851, allocations: 248.4 kB / 1.162 GB, free: 2.062 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.286e-05/0.9852, allocations: 11.2 kB / 1.162 GB, free: 2.059 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.116e-05/0.9852, allocations: 6.719 kB / 1.162 GB, free: 2.055 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.094e-06/0.9852, allocations: 0 / 1.162 GB, free: 2.055 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004398/0.9896, allocations: 2.199 MB / 1.164 GB, free: 1.266 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.967e-06/0.9896, allocations: 1.969 kB / 1.164 GB, free: 1.266 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003813/0.99, allocations: 70.06 kB / 1.164 GB, free: 1.25 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008367/0.9909, allocations: 246.7 kB / 1.164 GB, free: 1.188 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.345e-05/0.991, allocations: 19.98 kB / 1.164 GB, free: 1.184 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006648/0.9976, allocations: 4.452 MB / 1.169 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.79e-06/0.9977, allocations: 0 / 1.169 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003808/1.002, allocations: 1.589 MB / 1.17 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006717/1.002, allocations: 324.5 kB / 1.17 GB, free: 12.72 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002175/1.002, allocations: 15.16 kB / 1.17 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006416/1.003, allocations: 56.69 kB / 1.171 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002384/1.003, allocations: 71.55 kB / 1.171 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.001e-05/1.003, allocations: 33.53 kB / 1.171 GB, free: 12.63 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.003617/1.007, allocations: 2.418 MB / 1.173 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.707e-06/1.007, allocations: 0 / 1.173 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001495/1.009, allocations: 289 kB / 1.173 GB, free: 11.48 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,mean.x) * Number of discrete variables: 19 ($whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,outdoorTemp.nextTimeEvent,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,assEqu.satisfied,assEqu.nFai,mean.y) * Number of discrete states: 11 (intGai.nextTimeEvent,reference.nextTimeEvent,outdoorTemp.nextTimeEvent,tableSolRadWindow.nextTimeEvent,mean.x,tableSolRadWindow.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,reference.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 18,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001758/1.01, allocations: 485.9 kB / 1.174 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.00254/1.013, allocations: 1.042 MB / 1.175 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.133e-06/1.013, allocations: 0 / 1.175 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001491/1.014, allocations: 0.6868 MB / 1.175 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001668/1.016, allocations: 258.8 kB / 1.176 GB, free: 10 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008144/1.024, allocations: 4.409 MB / 1.18 GB, free: 7.613 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001758/1.026, allocations: 1.561 MB / 1.181 GB, free: 6.441 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0006947/1.027, allocations: 146.1 kB / 1.182 GB, free: 6.297 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002153/1.027, allocations: 63.42 kB / 1.182 GB, free: 6.234 MB / 0.7136 GB Notification: Performance of SimCode: time 1.766e-06/1.027, allocations: 0 / 1.182 GB, free: 6.234 MB / 0.7136 GB Notification: Performance of Templates: time 0.04016/1.067, allocations: 12.66 MB / 1.194 GB, free: 9.691 MB / 0.7292 GB