Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.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.TestCase4,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.TestCase4") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,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.TestCase4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.517/1.517, allocations: 249.3 MB / 261.8 MB, free: 5.891 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.001646/0.001646, allocations: 178.6 kB / 321.3 MB, free: 14.65 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.699/1.699, allocations: 205.2 MB / 0.572 GB, free: 10.69 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.0008872/0.0008872, allocations: 82.44 kB / 0.6764 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.618e-05/3.629e-05, allocations: 4 kB / 0.7879 GB, free: 97.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2554/0.2555, allocations: 106.3 MB / 0.8918 GB, free: 6.68 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.237/8.493, allocations: 2.466 GB / 3.358 GB, free: 246.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003261/8.493, allocations: 96.91 kB / 3.358 GB, free: 246.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1406/8.634, allocations: 64.06 MB / 3.42 GB, free: 181.9 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.805e-06/8.634, allocations: 0 / 3.42 GB, free: 181.9 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001938/8.634, allocations: 24 kB / 3.42 GB, free: 181.9 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.003052/8.637, allocations: 1.225 MB / 3.422 GB, free: 180.6 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.298e-05/8.637, allocations: 8.031 kB / 3.422 GB, free: 180.6 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000529/8.638, allocations: 138.3 kB / 3.422 GB, free: 180.5 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003866/8.642, allocations: 1.443 MB / 3.423 GB, free: 179 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001506/8.642, allocations: 82.69 kB / 3.423 GB, free: 178.9 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001515/8.642, allocations: 48 kB / 3.423 GB, free: 178.8 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009671/8.643, allocations: 475 kB / 3.424 GB, free: 178.4 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.475e-05/8.643, allocations: 0 / 3.424 GB, free: 178.4 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.299e-05/8.643, allocations: 19.98 kB / 3.424 GB, free: 178.3 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.263e-05/8.643, allocations: 16 kB / 3.424 GB, free: 178.3 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006492/8.644, allocations: 339.8 kB / 3.424 GB, free: 178 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004207/8.648, allocations: 2.721 MB / 3.427 GB, free: 175.1 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007308/8.649, allocations: 375.4 kB / 3.427 GB, free: 174.7 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004044/8.649, allocations: 250.5 kB / 3.427 GB, free: 174.4 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.857e-05/8.649, allocations: 8.312 kB / 3.427 GB, free: 174.4 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000406/8.65, allocations: 262.5 kB / 3.428 GB, free: 174.2 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=45): time 3.777e-06/8.65, allocations: 0 / 3.428 GB, free: 174.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=45): time 0.001338/8.651, allocations: 0.6384 MB / 3.428 GB, free: 173.5 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.804e-05/8.651, allocations: 55.41 kB / 3.428 GB, free: 173.5 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002815/8.654, allocations: 1.528 MB / 3.43 GB, free: 171.9 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.61e-05/8.654, allocations: 37.7 kB / 3.43 GB, free: 171.9 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003963/8.654, allocations: 0.5249 MB / 3.43 GB, free: 171.3 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001755/8.654, allocations: 149.9 kB / 3.43 GB, free: 171.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.224e-05/8.654, allocations: 12 kB / 3.43 GB, free: 171.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.01e-05/8.655, allocations: 333.9 kB / 3.431 GB, free: 170.8 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002591/8.655, allocations: 161.1 kB / 3.431 GB, free: 170.7 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003085/8.655, allocations: 265 kB / 3.431 GB, free: 170.4 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003184/8.655, allocations: 191.7 kB / 3.431 GB, free: 170.2 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/8.656, allocations: 0 / 3.431 GB, free: 170.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001365/8.657, allocations: 0.7213 MB / 3.432 GB, free: 169.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.22e-05/8.657, allocations: 9.094 kB / 3.432 GB, free: 169.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.48e-05/8.657, allocations: 4 kB / 3.432 GB, free: 169.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005223/8.657, allocations: 170.5 kB / 3.432 GB, free: 169.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000384/8.658, allocations: 103.9 kB / 3.432 GB, free: 169.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002953/8.661, allocations: 2.591 MB / 3.435 GB, free: 166.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008186/8.662, allocations: 95.98 kB / 3.435 GB, free: 166.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.542e-05/8.662, allocations: 16 kB / 3.435 GB, free: 166.4 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: 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 (50): * Single equations (assignments): 49 * 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%) 16} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002155/8.662, allocations: 134.7 kB / 3.435 GB, free: 166.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003845/8.662, allocations: 126.5 kB / 3.435 GB, free: 166.1 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001656/8.664, allocations: 0.6808 MB / 3.436 GB, free: 165.4 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/8.664, allocations: 8 kB / 3.436 GB, free: 165.4 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.255e-06/8.664, allocations: 4 kB / 3.436 GB, free: 165.4 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.766e-06/8.664, allocations: 3.953 kB / 3.436 GB, free: 165.4 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00345/8.668, allocations: 1.71 MB / 3.438 GB, free: 163.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/8.668, allocations: 0 / 3.438 GB, free: 163.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002509/8.668, allocations: 51.91 kB / 3.438 GB, free: 163.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004831/8.668, allocations: 179.9 kB / 3.438 GB, free: 163.4 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.728e-05/8.668, allocations: 15.98 kB / 3.438 GB, free: 163.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003431/8.672, allocations: 3.959 MB / 3.442 GB, free: 159.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/8.672, allocations: 0 / 3.442 GB, free: 159.1 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001675/8.674, allocations: 0.961 MB / 3.443 GB, free: 158.2 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007897/8.674, allocations: 307.5 kB / 3.443 GB, free: 157.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002839/8.675, allocations: 12 kB / 3.443 GB, free: 157.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005647/8.675, allocations: 47.81 kB / 3.443 GB, free: 157.8 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001872/8.675, allocations: 60.34 kB / 3.443 GB, free: 157.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.905e-05/8.676, allocations: 15.98 kB / 3.443 GB, free: 157.7 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.002416/8.678, allocations: 1.22 MB / 3.444 GB, free: 156.5 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.2e-07/8.678, allocations: 0 / 3.444 GB, free: 156.5 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001562/8.68, allocations: 315.6 kB / 3.445 GB, free: 156.2 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%) 13,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002027/8.682, allocations: 0.9128 MB / 3.445 GB, free: 155.3 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001452/8.683, allocations: 0.6273 MB / 3.446 GB, free: 154.7 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/8.683, allocations: 0 / 3.446 GB, free: 154.7 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008229/8.684, allocations: 0.5273 MB / 3.447 GB, free: 154.2 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001308/8.685, allocations: 179.8 kB / 3.447 GB, free: 154 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004427/8.69, allocations: 2.022 MB / 3.449 GB, free: 151.9 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001052/8.691, allocations: 1.177 MB / 3.45 GB, free: 150.7 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0005483/8.691, allocations: 148.6 kB / 3.45 GB, free: 150.6 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002418/8.692, allocations: 67.36 kB / 3.45 GB, free: 150.5 MB / 0.8698 GB Notification: Performance of SimCode: time 1.663e-06/8.692, allocations: 0 / 3.45 GB, free: 150.5 MB / 0.8698 GB Notification: Performance of Templates: time 0.03604/8.728, allocations: 20.3 MB / 3.47 GB, free: 130.3 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.makefile (rm -f Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe >> ../files/Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.sim & ./Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4.csv","../files/Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches