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.557/1.557, allocations: 249.5 MB / 257 MB, free: 7.012 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.001131/0.001131, allocations: 176.9 kB / 316.3 MB, free: 3.293 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.934/1.934, allocations: 205.2 MB / 0.5671 GB, free: 15.82 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.001124/0.001124, allocations: 98.41 kB / 0.6714 GB, free: 4.926 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.896e-05/1.874e-05, allocations: 7.938 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2837/0.2837, allocations: 106.3 MB / 0.8852 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.515/8.799, allocations: 2.466 GB / 3.351 GB, free: 287.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003168/8.799, allocations: 87.95 kB / 3.351 GB, free: 287.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1252/8.924, allocations: 63.28 MB / 3.413 GB, free: 223.7 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.403e-06/8.924, allocations: 0 / 3.413 GB, free: 223.7 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.585e-05/8.925, allocations: 28.12 kB / 3.413 GB, free: 223.7 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.00184/8.926, allocations: 1.218 MB / 3.414 GB, free: 222.4 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.489e-05/8.927, allocations: 8.031 kB / 3.414 GB, free: 222.4 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001973/8.927, allocations: 138.3 kB / 3.415 GB, free: 222.3 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002972/8.93, allocations: 1.444 MB / 3.416 GB, free: 220.8 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001154/8.93, allocations: 62.94 kB / 3.416 GB, free: 220.7 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.806e-05/8.93, allocations: 32 kB / 3.416 GB, free: 220.7 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005302/8.93, allocations: 314.5 kB / 3.416 GB, free: 220.3 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006048/8.931, allocations: 417.1 kB / 3.417 GB, free: 219.9 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.959e-05/8.931, allocations: 0 / 3.417 GB, free: 219.9 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.805e-05/8.931, allocations: 4 kB / 3.417 GB, free: 219.9 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.307e-06/8.931, allocations: 8 kB / 3.417 GB, free: 219.9 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003137/8.934, allocations: 2.63 MB / 3.419 GB, free: 217.1 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005979/8.935, allocations: 368.2 kB / 3.42 GB, free: 216.7 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003734/8.935, allocations: 231.6 kB / 3.42 GB, free: 216.5 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.62e-05/8.935, allocations: 4.328 kB / 3.42 GB, free: 216.5 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005169/8.936, allocations: 251.6 kB / 3.42 GB, free: 216.2 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=45): time 2.985e-06/8.936, allocations: 3.938 kB / 3.42 GB, free: 216.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=45): time 0.001487/8.937, allocations: 0.5955 MB / 3.421 GB, free: 215.6 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.43e-05/8.937, allocations: 55.41 kB / 3.421 GB, free: 215.6 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001962/8.939, allocations: 1.454 MB / 3.422 GB, free: 214.1 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.965e-05/8.939, allocations: 33.7 kB / 3.422 GB, free: 214.1 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003111/8.94, allocations: 0.5058 MB / 3.423 GB, free: 213.5 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 8.439e-05/8.94, allocations: 138 kB / 3.423 GB, free: 213.4 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.223e-05/8.94, allocations: 0 / 3.423 GB, free: 213.4 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.271e-05/8.94, allocations: 330 kB / 3.423 GB, free: 213.1 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00021/8.94, allocations: 145.1 kB / 3.423 GB, free: 212.9 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002349/8.94, allocations: 260.5 kB / 3.424 GB, free: 212.6 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003293/8.941, allocations: 181.2 kB / 3.424 GB, free: 212.5 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/8.941, allocations: 0 / 3.424 GB, free: 212.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0009588/8.942, allocations: 0.6704 MB / 3.424 GB, free: 211.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/8.942, allocations: 4 kB / 3.424 GB, free: 211.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/8.942, allocations: 4 kB / 3.424 GB, free: 211.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004808/8.942, allocations: 154.8 kB / 3.425 GB, free: 211.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003594/8.943, allocations: 107.8 kB / 3.425 GB, free: 211.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002547/8.945, allocations: 2.503 MB / 3.427 GB, free: 208.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005076/8.946, allocations: 83.48 kB / 3.427 GB, free: 208.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.469e-05/8.946, allocations: 20 kB / 3.427 GB, free: 208.8 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.0001265/8.946, allocations: 130.6 kB / 3.427 GB, free: 208.7 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002123/8.946, allocations: 118.5 kB / 3.428 GB, free: 208.5 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001195/8.947, allocations: 0.6379 MB / 3.428 GB, free: 207.9 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/8.947, allocations: 4 kB / 3.428 GB, free: 207.9 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/8.947, allocations: 4 kB / 3.428 GB, free: 207.9 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/8.947, allocations: 7.922 kB / 3.428 GB, free: 207.9 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002114/8.95, allocations: 1.607 MB / 3.43 GB, free: 206.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/8.95, allocations: 4 kB / 3.43 GB, free: 206.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000236/8.95, allocations: 55.91 kB / 3.43 GB, free: 206.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003794/8.95, allocations: 169.5 kB / 3.43 GB, free: 206 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.218e-05/8.95, allocations: 8 kB / 3.43 GB, free: 206 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002786/8.953, allocations: 3.821 MB / 3.434 GB, free: 201.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/8.953, allocations: 0 / 3.434 GB, free: 201.9 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001247/8.954, allocations: 0.9063 MB / 3.435 GB, free: 201 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003675/8.955, allocations: 291.6 kB / 3.435 GB, free: 200.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001099/8.955, allocations: 12 kB / 3.435 GB, free: 200.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003512/8.955, allocations: 51.75 kB / 3.435 GB, free: 200.6 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001288/8.955, allocations: 56.34 kB / 3.435 GB, free: 200.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.983e-05/8.955, allocations: 16 kB / 3.435 GB, free: 200.6 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001185/8.956, allocations: 1.147 MB / 3.436 GB, free: 199.4 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.8e-07/8.956, allocations: 0 / 3.436 GB, free: 199.4 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001067/8.958, allocations: 287.6 kB / 3.436 GB, free: 199.1 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.001581/8.959, allocations: 0.9627 MB / 3.437 GB, free: 198.2 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001006/8.96, allocations: 0.5728 MB / 3.438 GB, free: 197.7 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/8.96, allocations: 4.125 kB / 3.438 GB, free: 197.6 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006108/8.961, allocations: 0.4969 MB / 3.438 GB, free: 197.1 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009922/8.962, allocations: 167.3 kB / 3.439 GB, free: 197 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003138/8.965, allocations: 2.004 MB / 3.44 GB, free: 194.9 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005879/8.966, allocations: 1.173 MB / 3.442 GB, free: 193.7 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0003353/8.966, allocations: 140.5 kB / 3.442 GB, free: 193.6 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001622/8.966, allocations: 67.42 kB / 3.442 GB, free: 193.5 MB / 0.8698 GB Notification: Performance of SimCode: time 8.32e-07/8.966, allocations: 0 / 3.442 GB, free: 193.5 MB / 0.8698 GB Notification: Performance of Templates: time 0.02215/8.988, allocations: 13.4 MB / 3.455 GB, free: 180.2 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