Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.436/2.436, allocations: 390.3 MB / 405.3 MB, free: 13.52 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001249/0.001249, allocations: 170.1 kB / 498.1 MB, free: 5.766 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.718/1.718, allocations: 223.2 MB / 0.7949 GB, free: 17.98 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009187/0.0009191, allocations: 87.89 kB / 0.9346 GB, free: 6.297 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004181/0.0004182, allocations: 7.375 kB / 1.084 GB, free: 221.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3623/0.3628, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.817/6.18, allocations: 2.191 GB / 3.414 GB, free: 296.3 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002885/6.18, allocations: 101.7 kB / 3.414 GB, free: 296.2 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1573/6.338, allocations: 81.27 MB / 3.493 GB, free: 214.3 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.923e-06/6.338, allocations: 0 / 3.493 GB, free: 214.3 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001811/6.338, allocations: 47.94 kB / 3.493 GB, free: 214.2 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 205 * Number of variables: 205 Notification: Performance of Generate backend data structure: time 0.004422/6.342, allocations: 2.811 MB / 3.496 GB, free: 211.4 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/6.342, allocations: 12.03 kB / 3.496 GB, free: 211.3 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004732/6.343, allocations: 320.3 kB / 3.496 GB, free: 211 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005322/6.348, allocations: 2.466 MB / 3.499 GB, free: 208.5 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001384/6.348, allocations: 107.7 kB / 3.499 GB, free: 208.4 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001212/6.349, allocations: 84 kB / 3.499 GB, free: 208.3 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001482/6.35, allocations: 0.9498 MB / 3.5 GB, free: 207.4 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.427e-05/6.35, allocations: 7.891 kB / 3.5 GB, free: 207.3 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.294e-05/6.35, allocations: 32 kB / 3.5 GB, free: 207.3 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.263e-05/6.35, allocations: 20 kB / 3.5 GB, free: 207.3 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001262/6.351, allocations: 0.8158 MB / 3.501 GB, free: 206.5 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007136/6.359, allocations: 4.706 MB / 3.505 GB, free: 201.5 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001707/6.36, allocations: 0.9784 MB / 3.506 GB, free: 200.5 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 4.173e-05/6.36, allocations: 9 kB / 3.506 GB, free: 200.5 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000851/6.361, allocations: 0.5672 MB / 3.507 GB, free: 199.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=94): time 4.228e-06/6.361, allocations: 4 kB / 3.507 GB, free: 199.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=94): time 0.005461/6.367, allocations: 2.464 MB / 3.509 GB, free: 197.4 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.175e-05/6.367, allocations: 60.41 kB / 3.509 GB, free: 197.3 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005997/6.373, allocations: 3.974 MB / 3.513 GB, free: 193.3 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0002145/6.373, allocations: 49.69 kB / 3.513 GB, free: 193.3 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007974/6.374, allocations: 1.195 MB / 3.515 GB, free: 192.1 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002551/6.374, allocations: 299.8 kB / 3.515 GB, free: 191.8 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.342e-05/6.374, allocations: 20 kB / 3.515 GB, free: 191.8 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.329e-05/6.374, allocations: 349.9 kB / 3.515 GB, free: 191.4 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007127/6.375, allocations: 417.7 kB / 3.516 GB, free: 191 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007446/6.376, allocations: 0.5711 MB / 3.516 GB, free: 190.4 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007321/6.377, allocations: 467 kB / 3.517 GB, free: 189.9 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/6.377, allocations: 0 / 3.517 GB, free: 189.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002737/6.379, allocations: 1.621 MB / 3.518 GB, free: 188.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/6.379, allocations: 4 kB / 3.518 GB, free: 188.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.878e-06/6.379, allocations: 4 kB / 3.518 GB, free: 188.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008556/6.38, allocations: 354.9 kB / 3.519 GB, free: 187.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005724/6.381, allocations: 167.8 kB / 3.519 GB, free: 187.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004408/6.385, allocations: 5.11 MB / 3.524 GB, free: 182.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001282/6.386, allocations: 151.1 kB / 3.524 GB, free: 182.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.661e-05/6.387, allocations: 32 kB / 3.524 GB, free: 182.2 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 36 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition8,$whenCondition7,$PRE.intGai.nextTimeEvent,$whenCondition6,$PRE.reference.nextTimeEvent,$whenCondition5,$PRE.outdoorTemp1.nextTimeEvent,$whenCondition4,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition3,$PRE.tableSolRadWall.nextTimeEvent,$whenCondition1,$whenCondition2,reference.nextTimeEvent,$PRE.reference.nextTimeEventScaled,reference.nextTimeEventScaled,$PRE.assEqu.satisfied,assEqu.satisfied,$PRE.mean.y_last,mean.y_last,intGai.nextTimeEvent,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEventScaled,outdoorTemp1.nextTimeEvent,$PRE.outdoorTemp1.nextTimeEventScaled,outdoorTemp1.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,greaterThreshold2.y,tableSolRadWall.nextTimeEvent,$PRE.tableSolRadWall.nextTimeEventScaled,tableSolRadWall.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 90 * 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 {(1,100.0%) 3,(2,100.0%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00138/6.388, allocations: 0.7832 MB / 3.525 GB, free: 181.4 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005609/6.389, allocations: 288.4 kB / 3.525 GB, free: 181.1 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002762/6.391, allocations: 1.636 MB / 3.526 GB, free: 179.5 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.228e-06/6.391, allocations: 12 kB / 3.526 GB, free: 179.5 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.104e-06/6.391, allocations: 7.938 kB / 3.526 GB, free: 179.5 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.488e-06/6.391, allocations: 11.92 kB / 3.527 GB, free: 179.5 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006165/6.398, allocations: 3.813 MB / 3.53 GB, free: 175.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/6.398, allocations: 0 / 3.53 GB, free: 175.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004161/6.398, allocations: 107.9 kB / 3.53 GB, free: 175.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000736/6.399, allocations: 330.6 kB / 3.531 GB, free: 175.1 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.127e-05/6.399, allocations: 31.91 kB / 3.531 GB, free: 175.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004539/6.403, allocations: 5.112 MB / 3.536 GB, free: 169.7 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/6.403, allocations: 3.953 kB / 3.536 GB, free: 169.7 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003688/6.407, allocations: 2.202 MB / 3.538 GB, free: 167.5 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001601/6.409, allocations: 0.6339 MB / 3.538 GB, free: 166.8 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004853/6.409, allocations: 35.98 kB / 3.538 GB, free: 166.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009311/6.41, allocations: 79.88 kB / 3.539 GB, free: 166.7 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002442/6.41, allocations: 108.8 kB / 3.539 GB, free: 166.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.594e-05/6.41, allocations: 27.98 kB / 3.539 GB, free: 166.6 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.005097/6.416, allocations: 3.173 MB / 3.542 GB, free: 163.4 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.7e-07/6.416, allocations: 0 / 3.542 GB, free: 163.4 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002113/6.418, allocations: 0.5775 MB / 3.542 GB, free: 162.8 MB / 1.167 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: 23 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,outdoorTemp1.nextTimeEvent,outdoorTemp1.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,greaterThreshold2.y,tableSolRadWall.nextTimeEvent,tableSolRadWall.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 13 (intGai.nextTimeEvent,reference.nextTimeEvent,outdoorTemp1.nextTimeEvent,tableSolRadWindow.nextTimeEvent,tableSolRadWall.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,tableSolRadWall.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,outdoorTemp1.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * 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%) 25,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001921/6.42, allocations: 0.9827 MB / 3.543 GB, free: 162 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002623/6.422, allocations: 1.366 MB / 3.545 GB, free: 160.7 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/6.422, allocations: 0 / 3.545 GB, free: 160.7 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001282/6.424, allocations: 0.8775 MB / 3.546 GB, free: 159.7 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002082/6.426, allocations: 327 kB / 3.546 GB, free: 159.4 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009678/6.435, allocations: 6.296 MB / 3.552 GB, free: 153.1 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002065/6.437, allocations: 1.883 MB / 3.554 GB, free: 151.2 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001065/6.439, allocations: 347.5 kB / 3.554 GB, free: 150.8 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005527/6.439, allocations: 131.4 kB / 3.554 GB, free: 150.7 MB / 1.167 GB Notification: Performance of SimCode: time 1.112e-06/6.439, allocations: 0 / 3.554 GB, free: 150.7 MB / 1.167 GB Notification: Performance of Templates: time 0.05171/6.491, allocations: 29.79 MB / 3.583 GB, free: 121.1 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.makefile (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.sim & ./Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase8.csv","../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches