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.476/1.476, allocations: 251.9 MB / 266.9 MB, free: 11.01 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001166/0.001166, allocations: 175.2 kB / 326.5 MB, free: 2.234 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.997/1.997, allocations: 205.4 MB / 0.5775 GB, free: 20.24 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.0009458/0.0009457, allocations: 86.42 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003231/0.0003231, allocations: 8.031 kB / 0.7962 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2202/0.2205, allocations: 106.3 MB / 0.9001 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.85/5.071, allocations: 2.466 GB / 3.366 GB, free: 91.41 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002485/5.071, allocations: 97.45 kB / 3.366 GB, free: 91.32 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.1246/5.196, allocations: 64.22 MB / 3.429 GB, free: 26.56 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.914e-06/5.196, allocations: 4 kB / 3.429 GB, free: 26.56 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001535/5.196, allocations: 24 kB / 3.429 GB, free: 26.54 MB / 0.8855 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.002893/5.199, allocations: 1.43 MB / 3.43 GB, free: 25.05 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/5.199, allocations: 8.031 kB / 3.43 GB, free: 25.04 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003925/5.199, allocations: 142.3 kB / 3.43 GB, free: 24.9 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003715/5.203, allocations: 1.475 MB / 3.432 GB, free: 23.37 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001594/5.203, allocations: 78.69 kB / 3.432 GB, free: 23.29 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001466/5.203, allocations: 44 kB / 3.432 GB, free: 23.25 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001052/5.204, allocations: 0.5106 MB / 3.432 GB, free: 22.72 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.314e-05/5.204, allocations: 0 / 3.432 GB, free: 22.72 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.865e-05/5.204, allocations: 16 kB / 3.433 GB, free: 22.7 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.168e-05/5.204, allocations: 12 kB / 3.433 GB, free: 22.69 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008072/5.205, allocations: 403.7 kB / 3.433 GB, free: 22.3 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004118/5.209, allocations: 2.661 MB / 3.436 GB, free: 19.44 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008818/5.21, allocations: 456.2 kB / 3.436 GB, free: 18.98 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.01e-05/5.21, allocations: 4.328 kB / 3.436 GB, free: 18.98 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004747/5.211, allocations: 291.8 kB / 3.436 GB, free: 18.68 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=44): time 2.224e-06/5.211, allocations: 0 / 3.436 GB, free: 18.68 MB / 0.8855 GB Notification: Performance of matching and sorting (n=44): time 0.002403/5.213, allocations: 1.159 MB / 3.437 GB, free: 17.47 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.721e-05/5.213, allocations: 55.41 kB / 3.437 GB, free: 17.41 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001986/5.215, allocations: 1.562 MB / 3.439 GB, free: 15.84 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.276e-05/5.215, allocations: 37.7 kB / 3.439 GB, free: 15.79 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003053/5.216, allocations: 0.5249 MB / 3.439 GB, free: 15.27 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 9.378e-05/5.216, allocations: 142 kB / 3.44 GB, free: 15.12 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.416e-05/5.216, allocations: 12 kB / 3.44 GB, free: 15.11 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 6.103e-05/5.216, allocations: 333.9 kB / 3.44 GB, free: 14.78 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004101/5.216, allocations: 221 kB / 3.44 GB, free: 14.57 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004197/5.217, allocations: 351.2 kB / 3.44 GB, free: 14.17 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004257/5.217, allocations: 262.7 kB / 3.441 GB, free: 13.92 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/5.217, allocations: 0 / 3.441 GB, free: 13.92 MB / 0.8855 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001333/5.218, allocations: 0.8368 MB / 3.442 GB, free: 13.07 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/5.218, allocations: 10.66 kB / 3.442 GB, free: 13.06 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.829e-06/5.218, allocations: 4 kB / 3.442 GB, free: 13.06 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004127/5.219, allocations: 149 kB / 3.442 GB, free: 12.91 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003589/5.219, allocations: 111.8 kB / 3.442 GB, free: 12.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002405/5.222, allocations: 2.51 MB / 3.444 GB, free: 10.16 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005296/5.222, allocations: 99.39 kB / 3.444 GB, free: 10.06 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.553e-05/5.222, allocations: 20 kB / 3.444 GB, free: 10.04 MB / 0.8855 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 52 * 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%) 15} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005903/5.223, allocations: 395.3 kB / 3.445 GB, free: 9.648 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001352/5.223, allocations: 122.5 kB / 3.445 GB, free: 9.527 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001172/5.224, allocations: 0.7166 MB / 3.446 GB, free: 8.789 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/5.224, allocations: 4 kB / 3.446 GB, free: 8.785 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/5.224, allocations: 4 kB / 3.446 GB, free: 8.781 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/5.224, allocations: 3.984 kB / 3.446 GB, free: 8.777 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002435/5.227, allocations: 1.73 MB / 3.447 GB, free: 6.988 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/5.227, allocations: 0 / 3.447 GB, free: 6.988 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002251/5.227, allocations: 55.91 kB / 3.447 GB, free: 6.934 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003394/5.227, allocations: 165.6 kB / 3.447 GB, free: 6.766 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.028e-05/5.227, allocations: 11.94 kB / 3.448 GB, free: 6.754 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00253/5.23, allocations: 3.729 MB / 3.451 GB, free: 2.762 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.634e-06/5.23, allocations: 3.953 kB / 3.451 GB, free: 2.758 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001443/5.231, allocations: 1.006 MB / 3.452 GB, free: 1.73 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004854/5.232, allocations: 304 kB / 3.452 GB, free: 1.414 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001109/5.232, allocations: 12 kB / 3.452 GB, free: 1.402 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003372/5.232, allocations: 51.88 kB / 3.452 GB, free: 1.352 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001217/5.232, allocations: 51.91 kB / 3.453 GB, free: 1.301 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.815e-05/5.232, allocations: 15.98 kB / 3.453 GB, free: 1.285 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001269/5.234, allocations: 1.245 MB / 3.454 GB, free: 36 kB / 0.8855 GB Notification: Performance of sort global known variables: time 1.51e-07/5.234, allocations: 4 kB / 3.454 GB, free: 32 kB / 0.8855 GB Notification: Performance of remove unused functions: time 0.4439/5.678, allocations: 296.6 kB / 3.454 GB, free: 286.7 MB / 0.8855 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) * Number of clocked states: 0 () * 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.001975/5.68, allocations: 0.9626 MB / 3.455 GB, free: 286.5 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001621/5.681, allocations: 0.7126 MB / 3.456 GB, free: 286.4 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/5.681, allocations: 3.609 kB / 3.456 GB, free: 286.4 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0007597/5.682, allocations: 0.5365 MB / 3.456 GB, free: 286.2 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001075/5.683, allocations: 178.5 kB / 3.456 GB, free: 286.2 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003557/5.687, allocations: 2.767 MB / 3.459 GB, free: 285.3 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006987/5.687, allocations: 1.176 MB / 3.46 GB, free: 284.6 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0003795/5.688, allocations: 146.2 kB / 3.46 GB, free: 284.5 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002096/5.688, allocations: 67.27 kB / 3.46 GB, free: 284.5 MB / 0.8855 GB Notification: Performance of SimCode: time 6.92e-07/5.688, allocations: 2.875 kB / 3.46 GB, free: 284.5 MB / 0.8855 GB Notification: Performance of Templates: time 0.03682/5.725, allocations: 18.43 MB / 3.478 GB, free: 283.6 MB / 0.8855 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