Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.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.TestCase2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_master_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.888/4.888, allocations: 0.5623 GB / 0.5775 GB, free: 3.34 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003693/0.003693, allocations: 366.8 kB / 0.6446 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.267/4.267, allocations: 410.7 MB / 1.113 GB, free: 6.023 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001854/0.001854, allocations: 189.3 kB / 1.226 GB, free: 6.141 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005008/0.000501, allocations: 12 kB / 1.349 GB, free: 8.273 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7683/0.7688, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.029/7.798, allocations: 2.347 GB / 3.808 GB, free: 56.93 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003346/7.799, allocations: 108.1 kB / 3.809 GB, free: 56.87 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.8757/8.674, allocations: 63.53 MB / 3.871 GB, free: 322.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.295e-06/8.674, allocations: 4.188 kB / 3.871 GB, free: 322.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001317/8.674, allocations: 24.25 kB / 3.871 GB, free: 322.1 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.003625/8.678, allocations: 1.402 MB / 3.872 GB, free: 321.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/8.678, allocations: 17.47 kB / 3.872 GB, free: 321.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004619/8.679, allocations: 131.2 kB / 3.872 GB, free: 321.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003489/8.682, allocations: 1.109 MB / 3.873 GB, free: 321 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002029/8.682, allocations: 81.95 kB / 3.873 GB, free: 321 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001348/8.683, allocations: 52.34 kB / 3.873 GB, free: 321 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001478/8.684, allocations: 0.5044 MB / 3.874 GB, free: 320.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.383e-05/8.684, allocations: 0 / 3.874 GB, free: 320.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.623e-05/8.684, allocations: 20.94 kB / 3.874 GB, free: 320.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.44e-05/8.684, allocations: 12.31 kB / 3.874 GB, free: 320.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001348/8.686, allocations: 404.5 kB / 3.874 GB, free: 320.9 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005082/8.691, allocations: 2.563 MB / 3.877 GB, free: 319.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001957/8.693, allocations: 0.4931 MB / 3.877 GB, free: 319.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009645/8.694, allocations: 277.5 kB / 3.877 GB, free: 319.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.081e-05/8.694, allocations: 8.812 kB / 3.877 GB, free: 319.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008964/8.695, allocations: 298.3 kB / 3.878 GB, free: 319.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=43): time 3.807e-06/8.695, allocations: 0 / 3.878 GB, free: 319.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=43): time 0.005726/8.7, allocations: 1.248 MB / 3.879 GB, free: 319.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.225e-05/8.701, allocations: 58.67 kB / 3.879 GB, free: 319.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004891/8.705, allocations: 1.694 MB / 3.881 GB, free: 319 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001505/8.706, allocations: 39.11 kB / 3.881 GB, free: 319 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006432/8.706, allocations: 0.5131 MB / 3.881 GB, free: 318.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002382/8.707, allocations: 140.2 kB / 3.881 GB, free: 318.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.835e-05/8.707, allocations: 11.12 kB / 3.881 GB, free: 318.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.832e-05/8.707, allocations: 323.8 kB / 3.882 GB, free: 318.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007614/8.708, allocations: 186.3 kB / 3.882 GB, free: 318.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007865/8.708, allocations: 298.5 kB / 3.882 GB, free: 318.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007662/8.709, allocations: 223.3 kB / 3.882 GB, free: 318.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.584e-06/8.709, allocations: 1.031 kB / 3.882 GB, free: 318.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.002771/8.712, allocations: 0.7792 MB / 3.883 GB, free: 318.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.136e-05/8.712, allocations: 10.06 kB / 3.883 GB, free: 318.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/8.712, allocations: 2.5 kB / 3.883 GB, free: 318.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008501/8.713, allocations: 168.6 kB / 3.883 GB, free: 318.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006543/8.714, allocations: 90.05 kB / 3.883 GB, free: 318.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004981/8.719, allocations: 2.595 MB / 3.886 GB, free: 316.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001021/8.72, allocations: 81.39 kB / 3.886 GB, free: 316.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.758e-05/8.72, allocations: 23.14 kB / 3.886 GB, free: 316.8 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 19 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition5,$whenCondition4,$PRE.intGai.nextTimeEvent,$whenCondition3,$PRE.reference.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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 46 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001072/8.721, allocations: 386.8 kB / 3.886 GB, free: 316.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004297/8.721, allocations: 126.3 kB / 3.887 GB, free: 316.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002904/8.724, allocations: 0.7386 MB / 3.887 GB, free: 316.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.515e-05/8.724, allocations: 4.406 kB / 3.887 GB, free: 316.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/8.724, allocations: 3.281 kB / 3.887 GB, free: 316.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.477e-05/8.724, allocations: 2.578 kB / 3.887 GB, free: 316.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005079/8.729, allocations: 1.678 MB / 3.889 GB, free: 316.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.556e-06/8.729, allocations: 0.9375 kB / 3.889 GB, free: 316.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004256/8.73, allocations: 51.34 kB / 3.889 GB, free: 316.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007512/8.731, allocations: 177.8 kB / 3.889 GB, free: 316.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.84e-05/8.731, allocations: 13.41 kB / 3.889 GB, free: 316.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005242/8.736, allocations: 3.966 MB / 3.893 GB, free: 313.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/8.736, allocations: 0 / 3.893 GB, free: 313.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003112/8.739, allocations: 1.047 MB / 3.894 GB, free: 313.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007997/8.74, allocations: 302 kB / 3.894 GB, free: 313.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002013/8.74, allocations: 18.5 kB / 3.894 GB, free: 313.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006561/8.741, allocations: 46.89 kB / 3.894 GB, free: 313.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002115/8.741, allocations: 60.56 kB / 3.894 GB, free: 313.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.121e-05/8.741, allocations: 18.81 kB / 3.894 GB, free: 313.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002439/8.744, allocations: 1.237 MB / 3.896 GB, free: 313 MB / 0.948 GB Notification: Performance of sort global known variables: time 6.02e-07/8.744, allocations: 0 / 3.896 GB, free: 313 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00171/8.745, allocations: 304.2 kB / 3.896 GB, free: 312.9 MB / 0.948 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: 12 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y) * Number of discrete states: 7 (intGai.nextTimeEvent,reference.nextTimeEvent,mean.x,reference.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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%) 13,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002214/8.748, allocations: 0.9543 MB / 3.897 GB, free: 312.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002348/8.75, allocations: 0.6916 MB / 3.898 GB, free: 312.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/8.75, allocations: 6.875 kB / 3.898 GB, free: 312.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001475/8.752, allocations: 0.5537 MB / 3.898 GB, free: 312.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00186/8.753, allocations: 190.2 kB / 3.898 GB, free: 312.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006455/8.76, allocations: 2.76 MB / 3.901 GB, free: 311.4 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008813/8.761, allocations: 1.175 MB / 3.902 GB, free: 310.7 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0006535/8.762, allocations: 137 kB / 3.902 GB, free: 310.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002694/8.762, allocations: 66.38 kB / 3.902 GB, free: 310.7 MB / 0.948 GB Notification: Performance of SimCode: time 1.353e-06/8.762, allocations: 0 / 3.902 GB, free: 310.7 MB / 0.948 GB Notification: Performance of Templates: time 0.04767/8.81, allocations: 18.36 MB / 3.92 GB, free: 309.6 MB / 0.948 GB