Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.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.TestCase5,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.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_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.598/2.598, allocations: 390.3 MB / 405.3 MB, free: 13.32 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.001244/0.001245, allocations: 181 kB / 498.1 MB, free: 5.539 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.879/1.879, allocations: 223.2 MB / 0.7948 GB, free: 17.95 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.001121/0.001121, allocations: 108.2 kB / 0.9346 GB, free: 6.215 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003949/0.0003949, allocations: 10.47 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3887/0.3891, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.931/6.32, allocations: 2.189 GB / 3.412 GB, free: 243.3 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003179/6.32, allocations: 99.59 kB / 3.412 GB, free: 243.3 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1502/6.471, allocations: 73.82 MB / 3.484 GB, free: 181.8 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.535e-06/6.471, allocations: 4 kB / 3.484 GB, free: 181.8 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0003039/6.471, allocations: 43.98 kB / 3.484 GB, free: 181.7 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: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.005305/6.476, allocations: 2.187 MB / 3.486 GB, free: 179.6 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/6.476, allocations: 8.031 kB / 3.486 GB, free: 179.6 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008434/6.477, allocations: 237.1 kB / 3.487 GB, free: 179.3 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005002/6.482, allocations: 1.895 MB / 3.488 GB, free: 177.7 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001367/6.482, allocations: 88.31 kB / 3.488 GB, free: 177.6 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001112/6.482, allocations: 67.55 kB / 3.489 GB, free: 177.5 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001232/6.484, allocations: 0.7125 MB / 3.489 GB, free: 177 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.428e-05/6.484, allocations: 3.906 kB / 3.489 GB, free: 177 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.954e-05/6.484, allocations: 26.55 kB / 3.489 GB, free: 177 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.304e-05/6.484, allocations: 19.94 kB / 3.489 GB, free: 177 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009867/6.485, allocations: 0.5792 MB / 3.49 GB, free: 176.6 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005194/6.49, allocations: 3.703 MB / 3.493 GB, free: 173 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001268/6.491, allocations: 0.7017 MB / 3.494 GB, free: 172.2 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 3.322e-05/6.491, allocations: 8.562 kB / 3.494 GB, free: 172.2 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000645/6.492, allocations: 422.8 kB / 3.495 GB, free: 171.8 MB / 1.167 GB Notification: Performance of pre-optimization done (n=69): time 4.548e-06/6.492, allocations: 3.984 kB / 3.495 GB, free: 171.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=69): time 0.004014/6.496, allocations: 1.809 MB / 3.496 GB, free: 169.9 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.745e-05/6.496, allocations: 63.97 kB / 3.496 GB, free: 169.9 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004451/6.501, allocations: 2.953 MB / 3.499 GB, free: 166.9 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001125/6.501, allocations: 45.7 kB / 3.499 GB, free: 166.8 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005981/6.501, allocations: 0.9015 MB / 3.5 GB, free: 165.9 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001759/6.501, allocations: 216.9 kB / 3.5 GB, free: 165.7 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.266e-05/6.501, allocations: 16 kB / 3.5 GB, free: 165.7 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.563e-05/6.502, allocations: 337.9 kB / 3.501 GB, free: 165.4 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000565/6.502, allocations: 317.7 kB / 3.501 GB, free: 165.1 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005805/6.503, allocations: 440.5 kB / 3.501 GB, free: 164.6 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005823/6.503, allocations: 350 kB / 3.502 GB, free: 164.2 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/6.503, allocations: 4 kB / 3.502 GB, free: 164.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002097/6.505, allocations: 1.237 MB / 3.503 GB, free: 163 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.313e-05/6.505, allocations: 7.938 kB / 3.503 GB, free: 163 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.888e-06/6.506, allocations: 4 kB / 3.503 GB, free: 163 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006995/6.506, allocations: 279.5 kB / 3.503 GB, free: 162.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004331/6.507, allocations: 139.8 kB / 3.503 GB, free: 162.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003778/6.51, allocations: 4.526 MB / 3.508 GB, free: 157.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009905/6.511, allocations: 123.4 kB / 3.508 GB, free: 157.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.609e-05/6.512, allocations: 24 kB / 3.508 GB, free: 157.6 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: 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_last,mean.y_last,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 () * Number of clocked 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 {(2,100.0%) 20,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001112/6.513, allocations: 0.6115 MB / 3.509 GB, free: 157 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003746/6.513, allocations: 213.4 kB / 3.509 GB, free: 156.8 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002015/6.515, allocations: 1.191 MB / 3.51 GB, free: 155.6 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.533e-06/6.515, allocations: 8 kB / 3.51 GB, free: 155.6 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/6.515, allocations: 11.98 kB / 3.51 GB, free: 155.6 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/6.515, allocations: 0 / 3.51 GB, free: 155.6 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004521/6.52, allocations: 2.844 MB / 3.513 GB, free: 152.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/6.52, allocations: 0 / 3.513 GB, free: 152.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002975/6.52, allocations: 79.84 kB / 3.513 GB, free: 152.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006047/6.521, allocations: 262 kB / 3.513 GB, free: 152.3 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.885e-05/6.521, allocations: 19.98 kB / 3.513 GB, free: 152.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003692/6.524, allocations: 4.513 MB / 3.518 GB, free: 147.5 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/6.524, allocations: 3.984 kB / 3.518 GB, free: 147.5 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002668/6.527, allocations: 1.613 MB / 3.519 GB, free: 145.9 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001073/6.528, allocations: 0.4904 MB / 3.52 GB, free: 145.4 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001804/6.528, allocations: 24 kB / 3.52 GB, free: 145.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004869/6.529, allocations: 67.84 kB / 3.52 GB, free: 145.3 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001908/6.529, allocations: 80.53 kB / 3.52 GB, free: 145.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.409e-05/6.529, allocations: 23.98 kB / 3.52 GB, free: 145.2 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.002667/6.532, allocations: 2.357 MB / 3.522 GB, free: 142.8 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.91e-07/6.532, allocations: 0 / 3.522 GB, free: 142.8 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001365/6.533, allocations: 468.2 kB / 3.523 GB, free: 142.3 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: 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_last) * 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) * Number of clocked states: 0 () * 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 {(2,100.0%) 20,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001718/6.535, allocations: 0.9871 MB / 3.523 GB, free: 141.5 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001811/6.537, allocations: 1.067 MB / 3.525 GB, free: 140.4 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/6.537, allocations: 4 kB / 3.525 GB, free: 140.4 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0009073/6.538, allocations: 0.701 MB / 3.525 GB, free: 139.7 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001315/6.539, allocations: 264.3 kB / 3.525 GB, free: 139.5 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005852/6.545, allocations: 4.775 MB / 3.53 GB, free: 134.6 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009138/6.546, allocations: 1.579 MB / 3.532 GB, free: 133 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0006224/6.546, allocations: 246 kB / 3.532 GB, free: 132.8 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002602/6.547, allocations: 111.3 kB / 3.532 GB, free: 132.7 MB / 1.167 GB Notification: Performance of SimCode: time 1.041e-06/6.547, allocations: 0 / 3.532 GB, free: 132.7 MB / 1.167 GB Notification: Performance of Templates: time 0.03748/6.584, allocations: 24.59 MB / 3.556 GB, free: 108.2 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.makefile (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.sim & ./Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5.csv","../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches