Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.666/1.666, allocations: 249.3 MB / 261.8 MB, free: 5.918 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001052/0.001052, allocations: 190.6 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.652/1.652, allocations: 205.2 MB / 0.572 GB, free: 10.61 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008593/0.0008594, allocations: 82.53 kB / 0.6764 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.397e-05/3.399e-05, allocations: 8 kB / 0.7879 GB, free: 97.11 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.265/0.265, allocations: 106.3 MB / 0.8918 GB, free: 6.688 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.424/8.689, allocations: 2.467 GB / 3.358 GB, free: 185.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003264/8.69, allocations: 94.16 kB / 3.359 GB, free: 185.7 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1475/8.837, allocations: 72.59 MB / 3.429 GB, free: 119.6 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.714e-06/8.837, allocations: 0 / 3.429 GB, free: 119.6 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001546/8.837, allocations: 39.94 kB / 3.429 GB, free: 119.5 MB / 0.8698 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.003028/8.84, allocations: 1.801 MB / 3.431 GB, free: 117.7 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.543e-05/8.841, allocations: 12.03 kB / 3.431 GB, free: 117.7 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003566/8.841, allocations: 237.1 kB / 3.431 GB, free: 117.4 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0042/8.845, allocations: 1.851 MB / 3.433 GB, free: 115.5 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001446/8.845, allocations: 87 kB / 3.433 GB, free: 115.4 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001065/8.845, allocations: 67.98 kB / 3.433 GB, free: 115.3 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001133/8.847, allocations: 0.6628 MB / 3.434 GB, free: 114.7 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.551e-05/8.847, allocations: 7.938 kB / 3.434 GB, free: 114.7 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.437e-05/8.847, allocations: 28 kB / 3.434 GB, free: 114.6 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.285e-05/8.847, allocations: 12 kB / 3.434 GB, free: 114.6 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008006/8.847, allocations: 0.5049 MB / 3.435 GB, free: 114.1 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00505/8.853, allocations: 3.697 MB / 3.438 GB, free: 110.2 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00108/8.854, allocations: 0.6277 MB / 3.439 GB, free: 109.5 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005554/8.854, allocations: 355 kB / 3.439 GB, free: 109.2 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.136e-05/8.854, allocations: 8.547 kB / 3.439 GB, free: 109.2 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005407/8.855, allocations: 379 kB / 3.44 GB, free: 108.8 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=69): time 3.897e-06/8.855, allocations: 0 / 3.44 GB, free: 108.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=69): time 0.001903/8.857, allocations: 0.9981 MB / 3.441 GB, free: 107.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.498e-05/8.857, allocations: 63.95 kB / 3.441 GB, free: 107.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004204/8.861, allocations: 2.932 MB / 3.443 GB, free: 104.7 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 7.738e-05/8.861, allocations: 41.7 kB / 3.443 GB, free: 104.7 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000646/8.862, allocations: 0.8938 MB / 3.444 GB, free: 103.8 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002042/8.862, allocations: 228.8 kB / 3.445 GB, free: 103.6 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.553e-05/8.862, allocations: 16 kB / 3.445 GB, free: 103.5 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.506e-05/8.862, allocations: 341.8 kB / 3.445 GB, free: 103.2 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003611/8.862, allocations: 241.5 kB / 3.445 GB, free: 103 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004131/8.863, allocations: 377.1 kB / 3.446 GB, free: 102.6 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004362/8.863, allocations: 285.6 kB / 3.446 GB, free: 102.3 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/8.863, allocations: 0 / 3.446 GB, free: 102.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001802/8.865, allocations: 1.111 MB / 3.447 GB, free: 101.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.126e-05/8.865, allocations: 8 kB / 3.447 GB, free: 101.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.306e-05/8.865, allocations: 8.125 kB / 3.447 GB, free: 101.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000799/8.866, allocations: 286.2 kB / 3.447 GB, free: 100.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004702/8.867, allocations: 143.8 kB / 3.447 GB, free: 100.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004287/8.871, allocations: 4.622 MB / 3.452 GB, free: 95.81 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001103/8.872, allocations: 115.4 kB / 3.452 GB, free: 95.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.01e-05/8.872, allocations: 31.98 kB / 3.452 GB, free: 95.67 MB / 0.8698 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.000231/8.872, allocations: 159.9 kB / 3.452 GB, free: 95.5 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003253/8.873, allocations: 217.3 kB / 3.452 GB, free: 95.29 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002457/8.875, allocations: 1.12 MB / 3.453 GB, free: 94.15 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.604e-06/8.875, allocations: 7.953 kB / 3.453 GB, free: 94.14 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/8.875, allocations: 4 kB / 3.453 GB, free: 94.14 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.049e-05/8.875, allocations: 7.984 kB / 3.453 GB, free: 94.13 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004578/8.88, allocations: 2.754 MB / 3.456 GB, free: 91.31 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/8.88, allocations: 3.938 kB / 3.456 GB, free: 91.31 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003168/8.88, allocations: 75.89 kB / 3.456 GB, free: 91.23 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006342/8.881, allocations: 266.4 kB / 3.456 GB, free: 90.97 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.395e-05/8.881, allocations: 23.98 kB / 3.456 GB, free: 90.95 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004747/8.885, allocations: 4.627 MB / 3.461 GB, free: 86.06 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/8.886, allocations: 0 / 3.461 GB, free: 86.06 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002938/8.888, allocations: 1.492 MB / 3.462 GB, free: 84.54 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009249/8.889, allocations: 498.2 kB / 3.463 GB, free: 84.04 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001826/8.89, allocations: 24 kB / 3.463 GB, free: 84.01 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005468/8.89, allocations: 67.83 kB / 3.463 GB, free: 83.95 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002123/8.89, allocations: 80.66 kB / 3.463 GB, free: 83.87 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.782e-05/8.89, allocations: 23.98 kB / 3.463 GB, free: 83.84 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.002964/8.893, allocations: 2.332 MB / 3.465 GB, free: 81.49 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.81e-07/8.893, allocations: 0 / 3.465 GB, free: 81.49 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001521/8.895, allocations: 456.2 kB / 3.466 GB, free: 81.05 MB / 0.8698 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.001712/8.897, allocations: 0.9322 MB / 3.467 GB, free: 80.2 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001678/8.898, allocations: 0.9871 MB / 3.468 GB, free: 79.18 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/8.898, allocations: 0 / 3.468 GB, free: 79.18 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009242/8.899, allocations: 0.6724 MB / 3.468 GB, free: 78.49 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001792/8.901, allocations: 250.9 kB / 3.469 GB, free: 78.24 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007223/8.908, allocations: 3.607 MB / 3.472 GB, free: 74.6 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001525/8.91, allocations: 1.575 MB / 3.474 GB, free: 72.99 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0007757/8.911, allocations: 250 kB / 3.474 GB, free: 72.74 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002741/8.911, allocations: 103.4 kB / 3.474 GB, free: 72.64 MB / 0.8698 GB Notification: Performance of SimCode: time 1.553e-06/8.911, allocations: 0 / 3.474 GB, free: 72.64 MB / 0.8698 GB Notification: Performance of Templates: time 0.04321/8.954, allocations: 26.34 MB / 3.5 GB, free: 46.33 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.makefile (rm -f Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe >> ../files/Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.sim & ./Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5.csv","../files/Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches