Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.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.TestCase6,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.TestCase6") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6,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.TestCase6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.469/1.469, allocations: 249.5 MB / 257 MB, free: 6.926 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.001245/0.001245, allocations: 191.9 kB / 316.3 MB, free: 3.227 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.919/1.919, allocations: 205.3 MB / 0.5671 GB, free: 15.88 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.001009/0.001009, allocations: 95.5 kB / 0.6714 GB, free: 4.996 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.762e-05/2.764e-05, allocations: 0 / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2691/0.2691, allocations: 106.3 MB / 0.8852 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.941/9.211, allocations: 2.467 GB / 3.352 GB, free: 225.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003123/9.211, allocations: 93.22 kB / 3.352 GB, free: 225 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1312/9.342, allocations: 66.35 MB / 3.417 GB, free: 168.4 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.663e-06/9.342, allocations: 0 / 3.417 GB, free: 168.4 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001033/9.342, allocations: 31.94 kB / 3.417 GB, free: 168.3 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: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.00224/9.345, allocations: 1.361 MB / 3.418 GB, free: 166.9 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.354e-05/9.345, allocations: 12.03 kB / 3.418 GB, free: 166.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002895/9.345, allocations: 158 kB / 3.418 GB, free: 166.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003369/9.348, allocations: 1.541 MB / 3.42 GB, free: 165.2 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001309/9.348, allocations: 70.92 kB / 3.42 GB, free: 165.1 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.234e-05/9.349, allocations: 32 kB / 3.42 GB, free: 165.1 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006203/9.349, allocations: 346.5 kB / 3.42 GB, free: 164.7 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006973/9.35, allocations: 461 kB / 3.421 GB, free: 164.3 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.597e-05/9.35, allocations: 7.984 kB / 3.421 GB, free: 164.3 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.277e-05/9.35, allocations: 0 / 3.421 GB, free: 164.3 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.381e-05/9.35, allocations: 12 kB / 3.421 GB, free: 164.2 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003709/9.354, allocations: 2.854 MB / 3.423 GB, free: 161.2 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006513/9.354, allocations: 400.3 kB / 3.424 GB, free: 160.8 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003649/9.355, allocations: 257.5 kB / 3.424 GB, free: 160.5 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.95e-05/9.355, allocations: 8.359 kB / 3.424 GB, free: 160.5 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003967/9.355, allocations: 272.3 kB / 3.424 GB, free: 160.2 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=52): time 3.206e-06/9.355, allocations: 0 / 3.424 GB, free: 160.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=52): time 0.001218/9.356, allocations: 0.6677 MB / 3.425 GB, free: 159.6 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.71e-05/9.357, allocations: 67.78 kB / 3.425 GB, free: 159.5 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002346/9.359, allocations: 1.764 MB / 3.427 GB, free: 157.7 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.018e-05/9.359, allocations: 29.7 kB / 3.427 GB, free: 157.7 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004021/9.359, allocations: 0.5969 MB / 3.427 GB, free: 157.1 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000107/9.359, allocations: 157.8 kB / 3.427 GB, free: 156.9 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.406e-05/9.36, allocations: 4 kB / 3.427 GB, free: 156.9 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.019e-05/9.36, allocations: 326 kB / 3.428 GB, free: 156.6 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002833/9.36, allocations: 169.5 kB / 3.428 GB, free: 156.4 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002774/9.36, allocations: 265.6 kB / 3.428 GB, free: 156.1 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002844/9.36, allocations: 200.1 kB / 3.428 GB, free: 155.9 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/9.36, allocations: 0 / 3.428 GB, free: 155.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001092/9.362, allocations: 0.729 MB / 3.429 GB, free: 155.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.485e-05/9.362, allocations: 8.344 kB / 3.429 GB, free: 155.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/9.362, allocations: 8 kB / 3.429 GB, free: 155.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004473/9.362, allocations: 157.2 kB / 3.429 GB, free: 155 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003992/9.363, allocations: 119.8 kB / 3.429 GB, free: 154.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002689/9.365, allocations: 2.544 MB / 3.432 GB, free: 152.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005672/9.366, allocations: 91.39 kB / 3.432 GB, free: 152.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.075e-05/9.366, allocations: 31.98 kB / 3.432 GB, free: 152.1 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 24 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition6,$whenCondition5,$PRE.intGai.nextTimeEvent,$whenCondition4,$PRE.reference.nextTimeEvent,$whenCondition3,$PRE.setTemp.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,setTemp.nextTimeEvent,$PRE.setTemp.nextTimeEventScaled,setTemp.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 56 * 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%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001635/9.366, allocations: 127 kB / 3.432 GB, free: 152 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001687/9.366, allocations: 138.3 kB / 3.432 GB, free: 151.8 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00128/9.367, allocations: 0.729 MB / 3.433 GB, free: 151.1 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/9.367, allocations: 4 kB / 3.433 GB, free: 151.1 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/9.367, allocations: 4 kB / 3.433 GB, free: 151.1 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.999e-06/9.368, allocations: 7.938 kB / 3.433 GB, free: 151.1 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002553/9.37, allocations: 1.824 MB / 3.435 GB, free: 149.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/9.37, allocations: 4 kB / 3.435 GB, free: 149.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002561/9.37, allocations: 59.95 kB / 3.435 GB, free: 149.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004009/9.371, allocations: 165.6 kB / 3.435 GB, free: 149 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.671e-05/9.371, allocations: 15.98 kB / 3.435 GB, free: 149 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003022/9.374, allocations: 3.87 MB / 3.439 GB, free: 144.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/9.374, allocations: 4 kB / 3.439 GB, free: 144.9 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001483/9.375, allocations: 1.013 MB / 3.44 GB, free: 143.8 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004849/9.376, allocations: 351.2 kB / 3.44 GB, free: 143.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001357/9.376, allocations: 8 kB / 3.44 GB, free: 143.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004724/9.376, allocations: 47.89 kB / 3.44 GB, free: 143.4 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001498/9.377, allocations: 60.47 kB / 3.44 GB, free: 143.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.525e-05/9.377, allocations: 19.98 kB / 3.44 GB, free: 143.3 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001587/9.378, allocations: 1.388 MB / 3.442 GB, free: 141.9 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.7e-07/9.378, allocations: 0 / 3.442 GB, free: 141.9 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001183/9.379, allocations: 327.5 kB / 3.442 GB, free: 141.6 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: 15 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,setTemp.nextTimeEvent,setTemp.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y) * Number of discrete states: 9 (intGai.nextTimeEvent,reference.nextTimeEvent,setTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,setTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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%) 14,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00174/9.381, allocations: 0.9592 MB / 3.443 GB, free: 140.7 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001198/9.382, allocations: 0.6436 MB / 3.443 GB, free: 140.1 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/9.382, allocations: 0 / 3.443 GB, free: 140.1 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006002/9.383, allocations: 0.5096 MB / 3.444 GB, free: 139.5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001127/9.384, allocations: 201.5 kB / 3.444 GB, free: 139.3 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00373/9.388, allocations: 2.375 MB / 3.446 GB, free: 136.9 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007297/9.389, allocations: 1.27 MB / 3.448 GB, free: 135.6 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0004107/9.389, allocations: 164.8 kB / 3.448 GB, free: 135.4 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001932/9.389, allocations: 75.42 kB / 3.448 GB, free: 135.4 MB / 0.8698 GB Notification: Performance of SimCode: time 1.654e-06/9.389, allocations: 0 / 3.448 GB, free: 135.4 MB / 0.8698 GB Notification: Performance of Templates: time 0.02697/9.416, allocations: 14.71 MB / 3.462 GB, free: 120.7 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.makefile (rm -f Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe >> ../files/Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.sim & ./Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6.csv","../files/Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches