Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.553/1.553, allocations: 289.9 MB / 297.4 MB, free: 6.336 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001012/0.001012, allocations: 180.9 kB / 366.7 MB, free: 1.637 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.508/1.508, allocations: 205.2 MB / 0.626 GB, free: 7.168 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007786/0.0007786, allocations: 93 kB / 0.74 GB, free: 39.53 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.953e-05/1.977e-05, allocations: 4 kB / 0.8597 GB, free: 13.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6488/0.6488, allocations: 116.3 MB / 0.9733 GB, free: 76.26 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.674/6.323, allocations: 2.349 GB / 3.322 GB, free: 92.28 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002615/6.324, allocations: 96.2 kB / 3.322 GB, free: 92.23 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1406/6.464, allocations: 71.99 MB / 3.392 GB, free: 25.98 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.112e-06/6.464, allocations: 0 / 3.392 GB, free: 25.98 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002261/6.465, allocations: 36 kB / 3.392 GB, free: 25.94 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: 152 * Number of variables: 152 Notification: Performance of Generate backend data structure: time 0.003216/6.468, allocations: 1.809 MB / 3.394 GB, free: 24.08 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/6.468, allocations: 11.59 kB / 3.394 GB, free: 24.07 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005889/6.468, allocations: 233.1 kB / 3.394 GB, free: 23.84 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00382/6.472, allocations: 1.846 MB / 3.396 GB, free: 21.93 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001257/6.472, allocations: 75 kB / 3.396 GB, free: 21.85 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001404/6.473, allocations: 47.84 kB / 3.396 GB, free: 21.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008133/6.473, allocations: 482.5 kB / 3.397 GB, free: 21.33 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008777/6.474, allocations: 0.5782 MB / 3.397 GB, free: 20.74 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.114e-05/6.474, allocations: 0 / 3.397 GB, free: 20.74 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.285e-05/6.474, allocations: 7.984 kB / 3.397 GB, free: 20.73 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/6.474, allocations: 12 kB / 3.397 GB, free: 20.72 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004538/6.479, allocations: 3.565 MB / 3.401 GB, free: 16.92 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000875/6.48, allocations: 0.5993 MB / 3.401 GB, free: 16.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004358/6.48, allocations: 331 kB / 3.402 GB, free: 15.98 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.679e-05/6.48, allocations: 8.562 kB / 3.402 GB, free: 15.97 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004621/6.481, allocations: 361.8 kB / 3.402 GB, free: 15.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=69): time 3.647e-06/6.481, allocations: 7.938 kB / 3.402 GB, free: 15.59 MB / 0.948 GB Notification: Performance of matching and sorting (n=69): time 0.001598/6.482, allocations: 0.9513 MB / 3.403 GB, free: 14.63 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.879e-05/6.482, allocations: 59.97 kB / 3.403 GB, free: 14.56 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004444/6.487, allocations: 2.794 MB / 3.406 GB, free: 11.74 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.421e-05/6.487, allocations: 29.7 kB / 3.406 GB, free: 11.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005735/6.487, allocations: 0.8894 MB / 3.407 GB, free: 10.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000141/6.488, allocations: 213 kB / 3.407 GB, free: 10.59 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.207e-05/6.488, allocations: 0 / 3.407 GB, free: 10.59 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.981e-05/6.488, allocations: 334 kB / 3.407 GB, free: 10.26 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002989/6.488, allocations: 229.5 kB / 3.408 GB, free: 10.04 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003285/6.488, allocations: 351.6 kB / 3.408 GB, free: 9.648 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003515/6.489, allocations: 277.9 kB / 3.408 GB, free: 9.379 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/6.489, allocations: 0 / 3.408 GB, free: 9.379 MB / 0.948 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001637/6.49, allocations: 1.035 MB / 3.409 GB, free: 8.328 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/6.49, allocations: 8 kB / 3.409 GB, free: 8.32 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/6.49, allocations: 7.953 kB / 3.409 GB, free: 8.312 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000641/6.491, allocations: 259.8 kB / 3.409 GB, free: 8.055 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004402/6.492, allocations: 139.8 kB / 3.41 GB, free: 7.918 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003678/6.495, allocations: 4.464 MB / 3.414 GB, free: 3.223 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007624/6.496, allocations: 111.3 kB / 3.414 GB, free: 3.113 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.617e-05/6.496, allocations: 31.95 kB / 3.414 GB, free: 3.082 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 69 * 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 {(3,100.0%) 19,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001501/6.496, allocations: 128 kB / 3.414 GB, free: 2.953 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000339/6.497, allocations: 209.5 kB / 3.414 GB, free: 2.746 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001716/6.498, allocations: 1.054 MB / 3.415 GB, free: 1.676 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/6.498, allocations: 8 kB / 3.415 GB, free: 1.668 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/6.498, allocations: 4 kB / 3.415 GB, free: 1.664 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/6.498, allocations: 7.984 kB / 3.415 GB, free: 1.656 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5042/7.003, allocations: 2.604 MB / 3.418 GB, free: 292.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.231e-06/7.003, allocations: 1.047 kB / 3.418 GB, free: 292.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003861/7.003, allocations: 78.14 kB / 3.418 GB, free: 292.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008238/7.004, allocations: 258.7 kB / 3.418 GB, free: 292.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.055e-05/7.004, allocations: 13.83 kB / 3.418 GB, free: 292.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006406/7.01, allocations: 4.46 MB / 3.423 GB, free: 289.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.453e-06/7.01, allocations: 3.609 kB / 3.423 GB, free: 289.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003823/7.014, allocations: 1.423 MB / 3.424 GB, free: 289.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001293/7.016, allocations: 498.1 kB / 3.424 GB, free: 289.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002315/7.016, allocations: 15.88 kB / 3.424 GB, free: 289.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005969/7.016, allocations: 59.11 kB / 3.425 GB, free: 289.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002974/7.017, allocations: 77.47 kB / 3.425 GB, free: 289.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.336e-05/7.017, allocations: 23.48 kB / 3.425 GB, free: 289.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.00405/7.021, allocations: 2.201 MB / 3.427 GB, free: 289.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.1e-07/7.021, allocations: 2.688 kB / 3.427 GB, free: 289.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001767/7.023, allocations: 426.6 kB / 3.427 GB, free: 289.1 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,assEqu.diff,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,assEqu.satisfied,assEqu.nFai,tableSolRadWindow.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 39 * 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 {(3,100.0%) 19,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001852/7.025, allocations: 0.9748 MB / 3.428 GB, free: 288.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001512/7.026, allocations: 0.9217 MB / 3.429 GB, free: 288.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/7.026, allocations: 2.062 kB / 3.429 GB, free: 288.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009215/7.027, allocations: 0.6351 MB / 3.43 GB, free: 288.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001483/7.028, allocations: 239.1 kB / 3.43 GB, free: 288.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006177/7.035, allocations: 3.555 MB / 3.433 GB, free: 287.8 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001324/7.036, allocations: 1.571 MB / 3.435 GB, free: 287.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0008442/7.037, allocations: 253.4 kB / 3.435 GB, free: 287 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003051/7.037, allocations: 101 kB / 3.435 GB, free: 287 MB / 0.948 GB Notification: Performance of SimCode: time 1.042e-06/7.037, allocations: 0 / 3.435 GB, free: 287 MB / 0.948 GB Notification: Performance of Templates: time 0.03928/7.076, allocations: 18.87 MB / 3.454 GB, free: 285.9 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.makefile (rm -f Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; mkfifo Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; head -c 1048576 < Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe >> ../files/Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.sim & ./Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe 2>&1)