Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.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.TestCase5,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.TestCase5") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5,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.TestCase5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.49/1.49, allocations: 249.5 MB / 257 MB, free: 6.902 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.001168/0.001168, allocations: 172.9 kB / 316.3 MB, free: 3.258 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.886/1.886, allocations: 205.3 MB / 0.5671 GB, free: 15.85 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.0009299/0.0009302, allocations: 91.38 kB / 0.6714 GB, free: 4.973 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.675e-05/1.669e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2891/0.2891, allocations: 106.3 MB / 0.8852 GB, free: 12.3 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.767/9.056, allocations: 2.467 GB / 3.352 GB, free: 224 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003895/9.057, allocations: 102.2 kB / 3.352 GB, free: 223.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1481/9.205, allocations: 71.7 MB / 3.422 GB, free: 162 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.223e-06/9.205, allocations: 0 / 3.422 GB, free: 162 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001342/9.205, allocations: 36 kB / 3.422 GB, free: 162 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: 152 * Number of variables: 152 Notification: Performance of Generate backend data structure: time 0.002664/9.208, allocations: 1.809 MB / 3.424 GB, free: 160.1 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/9.208, allocations: 8.031 kB / 3.424 GB, free: 160.1 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003127/9.208, allocations: 233.1 kB / 3.424 GB, free: 159.9 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003664/9.212, allocations: 1.855 MB / 3.426 GB, free: 158 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001326/9.212, allocations: 67 kB / 3.426 GB, free: 157.9 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.344e-05/9.212, allocations: 40 kB / 3.426 GB, free: 157.9 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008199/9.213, allocations: 486.5 kB / 3.427 GB, free: 157.4 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008678/9.214, allocations: 0.5821 MB / 3.427 GB, free: 156.8 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.145e-05/9.214, allocations: 3.938 kB / 3.427 GB, free: 156.8 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.134e-05/9.214, allocations: 3.984 kB / 3.427 GB, free: 156.8 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.35e-05/9.214, allocations: 16 kB / 3.427 GB, free: 156.8 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004483/9.218, allocations: 3.564 MB / 3.431 GB, free: 153 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008931/9.219, allocations: 0.5947 MB / 3.431 GB, free: 152.4 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004274/9.22, allocations: 339 kB / 3.432 GB, free: 152 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.619e-05/9.22, allocations: 12.55 kB / 3.432 GB, free: 152 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004717/9.22, allocations: 353.8 kB / 3.432 GB, free: 151.7 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=69): time 3.837e-06/9.22, allocations: 0 / 3.432 GB, free: 151.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=69): time 0.00161/9.222, allocations: 0.9513 MB / 3.433 GB, free: 150.7 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.226e-05/9.222, allocations: 55.97 kB / 3.433 GB, free: 150.6 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003732/9.226, allocations: 2.798 MB / 3.436 GB, free: 147.8 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 6.797e-05/9.226, allocations: 33.7 kB / 3.436 GB, free: 147.8 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005796/9.226, allocations: 0.8856 MB / 3.437 GB, free: 146.9 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001528/9.226, allocations: 212.9 kB / 3.437 GB, free: 146.7 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.019e-05/9.227, allocations: 0 / 3.437 GB, free: 146.7 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.737e-05/9.227, allocations: 334 kB / 3.437 GB, free: 146.3 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003049/9.227, allocations: 229.4 kB / 3.437 GB, free: 146.1 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003473/9.227, allocations: 359.5 kB / 3.438 GB, free: 145.7 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003535/9.228, allocations: 276.5 kB / 3.438 GB, free: 145.4 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/9.228, allocations: 4 kB / 3.438 GB, free: 145.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001549/9.229, allocations: 1.037 MB / 3.439 GB, free: 144.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.458e-05/9.229, allocations: 11.95 kB / 3.439 GB, free: 144.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/9.229, allocations: 4 kB / 3.439 GB, free: 144.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007351/9.23, allocations: 267.6 kB / 3.439 GB, free: 144.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004498/9.23, allocations: 135.8 kB / 3.439 GB, free: 144 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003828/9.234, allocations: 4.462 MB / 3.444 GB, free: 139.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009275/9.235, allocations: 103.3 kB / 3.444 GB, free: 139.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.556e-05/9.235, allocations: 31.98 kB / 3.444 GB, free: 139.1 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 30 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition7,$whenCondition6,$PRE.intGai.nextTimeEvent,$whenCondition5,$PRE.reference.nextTimeEvent,$whenCondition4,$PRE.outdoorTemp.nextTimeEvent,$whenCondition3,$PRE.tableSolRadWindow.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,outdoorTemp.nextTimeEvent,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 69 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,100.0%) 19,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001947/9.236, allocations: 132 kB / 3.444 GB, free: 139 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002636/9.236, allocations: 213.4 kB / 3.444 GB, free: 138.8 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001911/9.238, allocations: 1.046 MB / 3.445 GB, free: 137.7 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/9.238, allocations: 8 kB / 3.445 GB, free: 137.7 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/9.238, allocations: 4 kB / 3.445 GB, free: 137.7 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.917e-06/9.238, allocations: 4.125 kB / 3.445 GB, free: 137.7 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003524/9.241, allocations: 2.622 MB / 3.448 GB, free: 135 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/9.241, allocations: 0 / 3.448 GB, free: 135 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003275/9.242, allocations: 79.83 kB / 3.448 GB, free: 135 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005761/9.242, allocations: 264.5 kB / 3.448 GB, free: 134.7 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.383e-05/9.242, allocations: 7.984 kB / 3.448 GB, free: 134.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003526/9.246, allocations: 4.465 MB / 3.452 GB, free: 130 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/9.246, allocations: 0 / 3.452 GB, free: 130 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002087/9.248, allocations: 1.422 MB / 3.454 GB, free: 128.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006947/9.249, allocations: 498.2 kB / 3.454 GB, free: 128 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001954/9.249, allocations: 23.98 kB / 3.454 GB, free: 128 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004949/9.249, allocations: 44.05 kB / 3.454 GB, free: 128 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001814/9.25, allocations: 84.64 kB / 3.455 GB, free: 127.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.042e-05/9.25, allocations: 23.98 kB / 3.455 GB, free: 127.9 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.002392/9.252, allocations: 2.204 MB / 3.457 GB, free: 125.6 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.31e-07/9.252, allocations: 0 / 3.457 GB, free: 125.6 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001371/9.253, allocations: 428.2 kB / 3.457 GB, free: 125.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: 19 ($whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,outdoorTemp.nextTimeEvent,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,assEqu.satisfied,assEqu.nFai,mean.y) * Number of discrete states: 11 (intGai.nextTimeEvent,reference.nextTimeEvent,outdoorTemp.nextTimeEvent,tableSolRadWindow.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,tableSolRadWindow.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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 {(3,100.0%) 19,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00146/9.255, allocations: 0.983 MB / 3.458 GB, free: 124.3 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001368/9.256, allocations: 0.9171 MB / 3.459 GB, free: 123.4 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.626e-06/9.256, allocations: 4.062 kB / 3.459 GB, free: 123.4 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007173/9.257, allocations: 0.6335 MB / 3.46 GB, free: 122.7 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001308/9.258, allocations: 243.4 kB / 3.46 GB, free: 122.5 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004956/9.263, allocations: 3.554 MB / 3.463 GB, free: 118.9 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008945/9.264, allocations: 1.571 MB / 3.465 GB, free: 117.3 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0006337/9.265, allocations: 253.7 kB / 3.465 GB, free: 117 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002556/9.265, allocations: 103.4 kB / 3.465 GB, free: 116.9 MB / 0.8698 GB Notification: Performance of SimCode: time 1.052e-06/9.265, allocations: 0 / 3.465 GB, free: 116.9 MB / 0.8698 GB Notification: Performance of Templates: time 0.03237/9.297, allocations: 18.84 MB / 3.484 GB, free: 98.12 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.makefile (rm -f Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe >> ../files/Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.sim & ./Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5.csv","../files/Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches