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.514/1.514, allocations: 249.5 MB / 257 MB, free: 7.004 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.001037/0.001037, allocations: 176.9 kB / 316.3 MB, free: 3.254 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.956/1.956, allocations: 205.3 MB / 0.5671 GB, free: 15.86 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.001153/0.001154, allocations: 94.41 kB / 0.6714 GB, free: 4.984 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.456e-05/1.459e-05, allocations: 0 / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.268/0.268, allocations: 106.3 MB / 0.8852 GB, free: 12.26 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.74/9.008, allocations: 2.466 GB / 3.351 GB, free: 224.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002716/9.008, allocations: 96.94 kB / 3.351 GB, free: 224.8 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1258/9.134, allocations: 63.27 MB / 3.413 GB, free: 171.2 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.784e-06/9.134, allocations: 0 / 3.413 GB, free: 171.2 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.168e-05/9.134, allocations: 24 kB / 3.413 GB, free: 171.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.001862/9.136, allocations: 1.214 MB / 3.414 GB, free: 170 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.42e-05/9.136, allocations: 8.031 kB / 3.414 GB, free: 170 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002052/9.136, allocations: 142.3 kB / 3.415 GB, free: 169.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002902/9.139, allocations: 1.444 MB / 3.416 GB, free: 168.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000127/9.14, allocations: 63 kB / 3.416 GB, free: 168.2 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.195e-05/9.14, allocations: 35.98 kB / 3.416 GB, free: 168.2 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005739/9.14, allocations: 306.5 kB / 3.416 GB, free: 167.9 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006501/9.141, allocations: 421.1 kB / 3.417 GB, free: 167.5 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.298e-05/9.141, allocations: 7.922 kB / 3.417 GB, free: 167.5 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.246e-05/9.141, allocations: 3.984 kB / 3.417 GB, free: 167.5 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.274e-05/9.141, allocations: 20 kB / 3.417 GB, free: 167.5 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003163/9.144, allocations: 2.542 MB / 3.419 GB, free: 164.7 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000622/9.145, allocations: 367.8 kB / 3.42 GB, free: 164.4 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004382/9.145, allocations: 268.2 kB / 3.42 GB, free: 164.1 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.309e-05/9.145, allocations: 4.328 kB / 3.42 GB, free: 164.1 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003894/9.146, allocations: 241.2 kB / 3.42 GB, free: 163.8 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=44): time 2.856e-06/9.146, allocations: 4 kB / 3.42 GB, free: 163.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=44): time 0.001079/9.147, allocations: 0.5561 MB / 3.421 GB, free: 163.3 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.96e-05/9.147, allocations: 59.36 kB / 3.421 GB, free: 163.2 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00198/9.149, allocations: 1.471 MB / 3.422 GB, free: 161.7 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.747e-05/9.149, allocations: 25.7 kB / 3.422 GB, free: 161.7 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003154/9.149, allocations: 0.5174 MB / 3.423 GB, free: 161.2 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 9.08e-05/9.149, allocations: 138 kB / 3.423 GB, free: 161 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.232e-05/9.149, allocations: 0 / 3.423 GB, free: 161 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.659e-05/9.149, allocations: 326 kB / 3.423 GB, free: 160.7 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001987/9.15, allocations: 153.1 kB / 3.423 GB, free: 160.6 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002503/9.15, allocations: 274.1 kB / 3.424 GB, free: 160.2 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002514/9.15, allocations: 186.9 kB / 3.424 GB, free: 160.1 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/9.15, allocations: 0 / 3.424 GB, free: 160.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0009103/9.151, allocations: 0.6452 MB / 3.424 GB, free: 159.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.366e-05/9.151, allocations: 8.094 kB / 3.424 GB, free: 159.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/9.151, allocations: 4 kB / 3.424 GB, free: 159.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004064/9.151, allocations: 132.7 kB / 3.425 GB, free: 159.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004034/9.152, allocations: 115.8 kB / 3.425 GB, free: 159.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00226/9.154, allocations: 2.259 MB / 3.427 GB, free: 156.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005121/9.155, allocations: 79.61 kB / 3.427 GB, free: 156.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.596e-05/9.155, allocations: 20 kB / 3.427 GB, free: 156.7 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 {(2,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001336/9.155, allocations: 126.5 kB / 3.427 GB, free: 156.5 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001357/9.155, allocations: 118.5 kB / 3.427 GB, free: 156.4 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001003/9.156, allocations: 0.611 MB / 3.428 GB, free: 155.8 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/9.156, allocations: 4 kB / 3.428 GB, free: 155.8 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/9.156, allocations: 4 kB / 3.428 GB, free: 155.8 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.044e-06/9.156, allocations: 3.984 kB / 3.428 GB, free: 155.8 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002022/9.158, allocations: 1.556 MB / 3.429 GB, free: 154.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/9.158, allocations: 0 / 3.429 GB, free: 154.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000227/9.158, allocations: 55.91 kB / 3.429 GB, free: 154.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003371/9.159, allocations: 153.6 kB / 3.43 GB, free: 154 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.974e-05/9.159, allocations: 7.984 kB / 3.43 GB, free: 154 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002542/9.161, allocations: 3.526 MB / 3.433 GB, free: 150.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/9.161, allocations: 0 / 3.433 GB, free: 150.2 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001263/9.163, allocations: 0.8698 MB / 3.434 GB, free: 149.3 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003955/9.163, allocations: 295.5 kB / 3.434 GB, free: 149 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001138/9.163, allocations: 12 kB / 3.434 GB, free: 149 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000362/9.163, allocations: 43.86 kB / 3.434 GB, free: 149 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001574/9.164, allocations: 51.91 kB / 3.434 GB, free: 148.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.047e-05/9.164, allocations: 15.98 kB / 3.434 GB, free: 148.9 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001353/9.165, allocations: 1.155 MB / 3.435 GB, free: 147.7 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.1e-07/9.165, allocations: 7.875 kB / 3.435 GB, free: 147.7 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001008/9.166, allocations: 287.7 kB / 3.436 GB, free: 147.4 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.001535/9.168, allocations: 0.975 MB / 3.437 GB, free: 146.5 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001171/9.169, allocations: 0.5525 MB / 3.437 GB, free: 146 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/9.169, allocations: 0 / 3.437 GB, free: 146 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005517/9.169, allocations: 484 kB / 3.438 GB, free: 145.5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009704/9.17, allocations: 170.8 kB / 3.438 GB, free: 145.3 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003014/9.173, allocations: 1.973 MB / 3.44 GB, free: 143.3 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005837/9.174, allocations: 1.177 MB / 3.441 GB, free: 142.1 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0003923/9.174, allocations: 152.6 kB / 3.441 GB, free: 141.9 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001638/9.175, allocations: 63.42 kB / 3.441 GB, free: 141.9 MB / 0.8698 GB Notification: Performance of SimCode: time 9.12e-07/9.175, allocations: 0 / 3.441 GB, free: 141.9 MB / 0.8698 GB Notification: Performance of Templates: time 0.02145/9.196, allocations: 13.17 MB / 3.454 GB, free: 128.8 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