Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.507/2.507, allocations: 393.5 MB / 408.4 MB, free: 11.08 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.001796/0.001796, allocations: 189 kB / 0.4902 GB, free: 2.242 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.869/1.869, allocations: 223.1 MB / 0.7992 GB, free: 14.75 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.001133/0.001133, allocations: 100.3 kB / 0.9396 GB, free: 1.91 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000426/0.000426, allocations: 10.06 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3967/0.3971, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.079/6.476, allocations: 2.189 GB / 3.419 GB, free: 201.3 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003443/6.476, allocations: 100.9 kB / 3.419 GB, free: 201.3 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1473/6.624, allocations: 68.4 MB / 3.486 GB, free: 144.5 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.793e-06/6.624, allocations: 0 / 3.486 GB, free: 144.5 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001739/6.624, allocations: 28 kB / 3.486 GB, free: 144.5 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.003437/6.627, allocations: 1.631 MB / 3.487 GB, free: 142.9 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/6.627, allocations: 12.56 kB / 3.487 GB, free: 142.9 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005681/6.628, allocations: 162 kB / 3.487 GB, free: 142.7 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004095/6.632, allocations: 1.594 MB / 3.489 GB, free: 141.3 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001417/6.632, allocations: 77 kB / 3.489 GB, free: 141.3 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001478/6.632, allocations: 53.73 kB / 3.489 GB, free: 141.2 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001117/6.633, allocations: 0.5591 MB / 3.49 GB, free: 140.8 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.829e-05/6.633, allocations: 0 / 3.49 GB, free: 140.8 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.64e-05/6.634, allocations: 22.06 kB / 3.49 GB, free: 140.8 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.45e-05/6.634, allocations: 12 kB / 3.49 GB, free: 140.8 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009209/6.635, allocations: 439.8 kB / 3.49 GB, free: 140.5 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004461/6.639, allocations: 2.963 MB / 3.493 GB, free: 137.8 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001055/6.64, allocations: 0.4968 MB / 3.493 GB, free: 137.5 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.666e-05/6.64, allocations: 8.375 kB / 3.493 GB, free: 137.5 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00056/6.641, allocations: 321.8 kB / 3.494 GB, free: 137.2 MB / 1.167 GB Notification: Performance of pre-optimization done (n=52): time 3.356e-06/6.641, allocations: 0 / 3.494 GB, free: 137.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=52): time 0.003048/6.644, allocations: 1.338 MB / 3.495 GB, free: 136.1 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.051e-05/6.644, allocations: 70.38 kB / 3.495 GB, free: 136 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002971/6.647, allocations: 1.876 MB / 3.497 GB, free: 134.6 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 5.685e-05/6.647, allocations: 38.95 kB / 3.497 GB, free: 134.5 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004602/6.647, allocations: 0.6052 MB / 3.498 GB, free: 134.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001412/6.647, allocations: 174.4 kB / 3.498 GB, free: 134.1 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.974e-05/6.647, allocations: 14.06 kB / 3.498 GB, free: 134.1 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.352e-05/6.648, allocations: 328.2 kB / 3.498 GB, free: 133.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004867/6.648, allocations: 238.8 kB / 3.498 GB, free: 133.6 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005159/6.649, allocations: 363.8 kB / 3.499 GB, free: 133.3 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005017/6.649, allocations: 264.5 kB / 3.499 GB, free: 133.1 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/6.649, allocations: 0 / 3.499 GB, free: 133.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001665/6.651, allocations: 0.9246 MB / 3.5 GB, free: 132.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.566e-05/6.651, allocations: 11.94 kB / 3.5 GB, free: 132.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/6.651, allocations: 4 kB / 3.5 GB, free: 132.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000476/6.651, allocations: 171.4 kB / 3.5 GB, free: 132.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000399/6.652, allocations: 118.5 kB / 3.5 GB, free: 132.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002771/6.655, allocations: 2.754 MB / 3.503 GB, free: 129.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005787/6.655, allocations: 103.5 kB / 3.503 GB, free: 129.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.058e-05/6.655, allocations: 20 kB / 3.503 GB, free: 129.3 MB / 1.167 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_last,mean.y_last,intGai.nextTimeEvent,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEventScaled,setTemp.nextTimeEvent,$PRE.setTemp.nextTimeEventScaled,setTemp.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked 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.0006918/6.656, allocations: 444.5 kB / 3.503 GB, free: 128.8 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001649/6.656, allocations: 150.2 kB / 3.503 GB, free: 128.7 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001437/6.657, allocations: 0.8465 MB / 3.504 GB, free: 127.8 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/6.657, allocations: 4 kB / 3.504 GB, free: 127.8 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/6.658, allocations: 7.984 kB / 3.504 GB, free: 127.8 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/6.658, allocations: 0 / 3.504 GB, free: 127.8 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003125/6.661, allocations: 2.034 MB / 3.506 GB, free: 125.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/6.661, allocations: 0 / 3.506 GB, free: 125.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002611/6.661, allocations: 63.89 kB / 3.506 GB, free: 125.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003957/6.661, allocations: 173.6 kB / 3.507 GB, free: 125.5 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.982e-05/6.661, allocations: 15.98 kB / 3.507 GB, free: 125.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00312/6.665, allocations: 4.108 MB / 3.511 GB, free: 121.1 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/6.665, allocations: 32 / 3.511 GB, free: 121.1 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001804/6.666, allocations: 1.177 MB / 3.512 GB, free: 119.9 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006174/6.667, allocations: 355.1 kB / 3.512 GB, free: 119.5 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001228/6.667, allocations: 16 kB / 3.512 GB, free: 119.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003916/6.668, allocations: 63.75 kB / 3.512 GB, free: 119.4 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001244/6.668, allocations: 60.47 kB / 3.512 GB, free: 119.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.516e-05/6.668, allocations: 19.98 kB / 3.512 GB, free: 119.4 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001598/6.669, allocations: 1.49 MB / 3.514 GB, free: 117.9 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.51e-07/6.669, allocations: 0 / 3.514 GB, free: 117.9 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001105/6.67, allocations: 343.6 kB / 3.514 GB, free: 117.5 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: 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_last) * Number of discrete states: 9 (intGai.nextTimeEvent,reference.nextTimeEvent,setTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,setTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * 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.001733/6.672, allocations: 0.9653 MB / 3.515 GB, free: 116.8 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001467/6.674, allocations: 0.7787 MB / 3.516 GB, free: 116 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/6.674, allocations: 0 / 3.516 GB, free: 116 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007537/6.674, allocations: 0.5829 MB / 3.516 GB, free: 115.4 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009825/6.675, allocations: 211.9 kB / 3.516 GB, free: 115.2 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003943/6.679, allocations: 3.305 MB / 3.52 GB, free: 111.8 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007025/6.68, allocations: 1.27 MB / 3.521 GB, free: 110.5 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0004045/6.68, allocations: 173 kB / 3.521 GB, free: 110.4 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001974/6.681, allocations: 75.42 kB / 3.521 GB, free: 110.3 MB / 1.167 GB Notification: Performance of SimCode: time 7.71e-07/6.681, allocations: 0 / 3.521 GB, free: 110.3 MB / 1.167 GB Notification: Performance of Templates: time 0.02925/6.71, allocations: 20.13 MB / 3.541 GB, free: 90.27 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.makefile (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6.csv","../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches