Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.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.TestCase3,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.TestCase3") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,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.TestCase3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.613/1.613, allocations: 249.3 MB / 261.9 MB, free: 5.879 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.001242/0.001241, allocations: 178.5 kB / 321.3 MB, free: 14.64 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.663/1.663, 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.0009784/0.0009786, allocations: 94.77 kB / 0.6764 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.471e-05/4.473e-05, allocations: 3.984 kB / 0.7879 GB, free: 97.09 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3095/0.3096, allocations: 106.3 MB / 0.8918 GB, free: 6.672 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.12/8.43, allocations: 2.466 GB / 3.358 GB, free: 247 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003368/8.43, allocations: 95.89 kB / 3.358 GB, free: 246.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1294/8.559, allocations: 64.06 MB / 3.42 GB, free: 182.3 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.332e-06/8.559, allocations: 0 / 3.42 GB, free: 182.3 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.862e-05/8.56, allocations: 28 kB / 3.42 GB, free: 182.2 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001769/8.561, allocations: 1.218 MB / 3.422 GB, free: 181 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/8.561, allocations: 8.031 kB / 3.422 GB, free: 181 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001782/8.562, allocations: 138.3 kB / 3.422 GB, free: 180.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002863/8.564, allocations: 1.463 MB / 3.423 GB, free: 179.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001283/8.565, allocations: 70.69 kB / 3.423 GB, free: 179.2 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.755e-05/8.565, allocations: 48 kB / 3.423 GB, free: 179.2 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007286/8.565, allocations: 479 kB / 3.424 GB, free: 178.7 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.858e-05/8.565, allocations: 7.938 kB / 3.424 GB, free: 178.7 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.313e-05/8.566, allocations: 24 kB / 3.424 GB, free: 178.7 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.192e-05/8.566, allocations: 11.98 kB / 3.424 GB, free: 178.7 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005217/8.566, allocations: 335.9 kB / 3.424 GB, free: 178.3 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003051/8.569, allocations: 2.642 MB / 3.427 GB, free: 175.5 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005988/8.57, allocations: 381.5 kB / 3.427 GB, free: 175.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000433/8.57, allocations: 278.5 kB / 3.427 GB, free: 174.9 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.117e-05/8.57, allocations: 4.328 kB / 3.427 GB, free: 174.8 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003674/8.571, allocations: 251.8 kB / 3.428 GB, free: 174.6 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=44): time 2.686e-06/8.571, allocations: 4 kB / 3.428 GB, free: 174.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=44): time 0.0009664/8.572, allocations: 0.5951 MB / 3.428 GB, free: 174 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.495e-05/8.572, allocations: 59.41 kB / 3.428 GB, free: 173.9 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001965/8.574, allocations: 1.54 MB / 3.43 GB, free: 172.4 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.596e-05/8.574, allocations: 37.7 kB / 3.43 GB, free: 172.3 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003065/8.574, allocations: 0.521 MB / 3.43 GB, free: 171.8 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 9.05e-05/8.574, allocations: 142 kB / 3.43 GB, free: 171.6 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.189e-05/8.574, allocations: 12 kB / 3.43 GB, free: 171.6 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.454e-05/8.574, allocations: 330 kB / 3.431 GB, free: 171.3 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002465/8.574, allocations: 161.1 kB / 3.431 GB, free: 171.1 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002837/8.575, allocations: 295.1 kB / 3.431 GB, free: 170.8 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002692/8.575, allocations: 189.6 kB / 3.431 GB, free: 170.6 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/8.575, allocations: 0 / 3.431 GB, free: 170.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0009235/8.576, allocations: 0.7102 MB / 3.432 GB, free: 169.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/8.576, allocations: 11.95 kB / 3.432 GB, free: 169.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/8.576, allocations: 7.984 kB / 3.432 GB, free: 169.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003656/8.576, allocations: 137 kB / 3.432 GB, free: 169.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003507/8.577, allocations: 107.8 kB / 3.432 GB, free: 169.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002083/8.579, allocations: 2.346 MB / 3.435 GB, free: 167.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004534/8.579, allocations: 95.45 kB / 3.435 GB, free: 167.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.44e-05/8.579, allocations: 20 kB / 3.435 GB, free: 167.1 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 19 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition5,$whenCondition4,$PRE.intGai.nextTimeEvent,$whenCondition3,$PRE.reference.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) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 53 * 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 {(1,100.0%) 15} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001182/8.579, allocations: 150.5 kB / 3.435 GB, free: 166.9 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001229/8.58, allocations: 122.6 kB / 3.435 GB, free: 166.8 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009671/8.581, allocations: 0.6499 MB / 3.436 GB, free: 166.1 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/8.581, allocations: 8 kB / 3.436 GB, free: 166.1 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/8.581, allocations: 8 kB / 3.436 GB, free: 166.1 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/8.581, allocations: 3.984 kB / 3.436 GB, free: 166.1 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002166/8.583, allocations: 1.667 MB / 3.437 GB, free: 164.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/8.583, allocations: 0 / 3.437 GB, free: 164.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000219/8.583, allocations: 51.97 kB / 3.437 GB, free: 164.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003316/8.583, allocations: 157.8 kB / 3.437 GB, free: 164.2 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.179e-05/8.583, allocations: 11.98 kB / 3.437 GB, free: 164.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002581/8.586, allocations: 3.661 MB / 3.441 GB, free: 160.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.618e-06/8.586, allocations: 3.984 kB / 3.441 GB, free: 160.2 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001273/8.587, allocations: 0.9128 MB / 3.442 GB, free: 159.3 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004251/8.588, allocations: 299.6 kB / 3.442 GB, free: 159 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.883e-05/8.588, allocations: 12 kB / 3.442 GB, free: 159 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003419/8.588, allocations: 55.81 kB / 3.442 GB, free: 158.9 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001353/8.588, allocations: 63.84 kB / 3.442 GB, free: 158.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.022e-05/8.588, allocations: 15.98 kB / 3.442 GB, free: 158.8 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001364/8.59, allocations: 1.228 MB / 3.443 GB, free: 157.6 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.4e-07/8.59, allocations: 0 / 3.443 GB, free: 157.6 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001067/8.591, allocations: 303.7 kB / 3.444 GB, free: 157.3 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: 12 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y) * Number of discrete states: 7 (intGai.nextTimeEvent,reference.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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%) 12,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001546/8.592, allocations: 0.9055 MB / 3.445 GB, free: 156.5 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0009461/8.593, allocations: 0.5729 MB / 3.445 GB, free: 155.9 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/8.593, allocations: 4.875 kB / 3.445 GB, free: 155.9 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005682/8.594, allocations: 0.4968 MB / 3.446 GB, free: 155.4 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009613/8.595, allocations: 190.5 kB / 3.446 GB, free: 155.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002802/8.598, allocations: 2.015 MB / 3.448 GB, free: 153.1 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005809/8.598, allocations: 1.177 MB / 3.449 GB, free: 151.9 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0005304/8.599, allocations: 140.7 kB / 3.449 GB, free: 151.8 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000252/8.599, allocations: 67.42 kB / 3.449 GB, free: 151.7 MB / 0.8698 GB Notification: Performance of SimCode: time 6.62e-07/8.599, allocations: 0 / 3.449 GB, free: 151.7 MB / 0.8698 GB Notification: Performance of Templates: time 0.04826/8.647, allocations: 20.03 MB / 3.469 GB, free: 131.7 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.makefile (rm -f Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe >> ../files/Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.sim & ./Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3.csv","../files/Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches