Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.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.TestCase6,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.TestCase6") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6,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.TestCase6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.38/1.38, allocations: 251.9 MB / 266.9 MB, free: 11 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.001049/0.001049, allocations: 176 kB / 326.5 MB, free: 2.23 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.608/1.608, allocations: 205.4 MB / 0.5775 GB, free: 20.23 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.0009651/0.0009651, allocations: 98.03 kB / 0.6821 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000338/0.000338, allocations: 8.562 kB / 0.7962 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2125/0.2129, allocations: 106.3 MB / 0.9001 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.19/5.402, allocations: 2.466 GB / 3.366 GB, free: 90.97 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003027/5.403, allocations: 107.1 kB / 3.367 GB, free: 90.87 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.1294/5.532, allocations: 67.35 MB / 3.432 GB, free: 22.99 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.823e-06/5.532, allocations: 0 / 3.432 GB, free: 22.99 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001515/5.533, allocations: 24 kB / 3.432 GB, free: 22.96 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: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.00312/5.536, allocations: 1.616 MB / 3.434 GB, free: 21.29 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/5.536, allocations: 8.031 kB / 3.434 GB, free: 21.28 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005073/5.536, allocations: 170 kB / 3.434 GB, free: 21.11 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003572/5.54, allocations: 1.575 MB / 3.436 GB, free: 19.48 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001289/5.54, allocations: 82.69 kB / 3.436 GB, free: 19.4 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001088/5.54, allocations: 55.91 kB / 3.436 GB, free: 19.34 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009603/5.541, allocations: 0.5575 MB / 3.436 GB, free: 18.77 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.339e-05/5.541, allocations: 3.938 kB / 3.436 GB, free: 18.77 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.751e-05/5.541, allocations: 19.98 kB / 3.436 GB, free: 18.75 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.145e-05/5.541, allocations: 15.98 kB / 3.436 GB, free: 18.73 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008236/5.542, allocations: 439.7 kB / 3.437 GB, free: 18.3 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003806/5.546, allocations: 2.947 MB / 3.44 GB, free: 15.11 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009285/5.547, allocations: 0.4963 MB / 3.44 GB, free: 14.61 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.691e-05/5.547, allocations: 16.31 kB / 3.44 GB, free: 14.59 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005174/5.547, allocations: 325.1 kB / 3.44 GB, free: 14.27 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=52): time 2.495e-06/5.547, allocations: 0 / 3.44 GB, free: 14.27 MB / 0.8855 GB Notification: Performance of matching and sorting (n=52): time 0.002772/5.55, allocations: 1.337 MB / 3.442 GB, free: 12.88 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.446e-05/5.55, allocations: 59.84 kB / 3.442 GB, free: 12.81 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002568/5.553, allocations: 1.874 MB / 3.444 GB, free: 10.93 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.23e-05/5.553, allocations: 41.64 kB / 3.444 GB, free: 10.88 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003701/5.553, allocations: 0.605 MB / 3.444 GB, free: 10.27 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001207/5.553, allocations: 169.6 kB / 3.444 GB, free: 10.1 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.655e-05/5.553, allocations: 12 kB / 3.444 GB, free: 10.09 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 6.13e-05/5.553, allocations: 330 kB / 3.445 GB, free: 9.762 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004609/5.554, allocations: 245.2 kB / 3.445 GB, free: 9.523 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004638/5.554, allocations: 353.8 kB / 3.445 GB, free: 9.137 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000473/5.555, allocations: 275.7 kB / 3.446 GB, free: 8.871 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/5.555, allocations: 4 kB / 3.446 GB, free: 8.867 MB / 0.8855 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001479/5.556, allocations: 0.9257 MB / 3.446 GB, free: 7.934 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/5.556, allocations: 8 kB / 3.446 GB, free: 7.926 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/5.556, allocations: 0 / 3.446 GB, free: 7.926 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004268/5.557, allocations: 168.7 kB / 3.447 GB, free: 7.758 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003738/5.557, allocations: 119.9 kB / 3.447 GB, free: 7.641 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002631/5.56, allocations: 2.755 MB / 3.449 GB, free: 4.758 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005548/5.56, allocations: 111.5 kB / 3.45 GB, free: 4.648 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.095e-05/5.56, allocations: 20 kB / 3.45 GB, free: 4.629 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 24 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition6,$whenCondition5,$PRE.intGai.nextTimeEvent,$whenCondition4,$PRE.reference.nextTimeEvent,$whenCondition3,$PRE.setTemp.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,setTemp.nextTimeEvent,$PRE.setTemp.nextTimeEventScaled,setTemp.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 56 * 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%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005334/5.561, allocations: 431.8 kB / 3.45 GB, free: 4.195 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001659/5.561, allocations: 146.2 kB / 3.45 GB, free: 4.051 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001331/5.562, allocations: 0.8503 MB / 3.451 GB, free: 3.176 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/5.562, allocations: 4 kB / 3.451 GB, free: 3.172 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/5.563, allocations: 4 kB / 3.451 GB, free: 3.168 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/5.563, allocations: 0 / 3.451 GB, free: 3.168 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002818/5.565, allocations: 2.022 MB / 3.453 GB, free: 1.078 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/5.565, allocations: 7.938 kB / 3.453 GB, free: 1.07 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000237/5.566, allocations: 63.84 kB / 3.453 GB, free: 1.008 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003648/5.566, allocations: 173.6 kB / 3.453 GB, free: 0.832 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.777e-05/5.566, allocations: 23.98 kB / 3.453 GB, free: 0.8086 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4902/6.056, allocations: 4.095 MB / 3.457 GB, free: 282.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/6.056, allocations: 2.109 kB / 3.457 GB, free: 282.7 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002108/6.058, allocations: 1.18 MB / 3.458 GB, free: 282.5 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006308/6.059, allocations: 352.9 kB / 3.459 GB, free: 282.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001253/6.059, allocations: 20.5 kB / 3.459 GB, free: 282.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00038/6.06, allocations: 47.36 kB / 3.459 GB, free: 282.4 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001356/6.06, allocations: 61.78 kB / 3.459 GB, free: 282.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.648e-05/6.06, allocations: 16.22 kB / 3.459 GB, free: 282.4 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001792/6.062, allocations: 1.497 MB / 3.46 GB, free: 282.3 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.11e-07/6.062, allocations: 0 / 3.46 GB, free: 282.3 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001067/6.063, allocations: 350.5 kB / 3.461 GB, free: 282.2 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: 15 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,setTemp.nextTimeEvent,setTemp.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y) * Number of discrete states: 9 (intGai.nextTimeEvent,reference.nextTimeEvent,setTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,setTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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%) 14,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001708/6.064, allocations: 0.9728 MB / 3.462 GB, free: 282.1 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001493/6.066, allocations: 0.7706 MB / 3.462 GB, free: 282 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/6.066, allocations: 2.906 kB / 3.462 GB, free: 282 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0008305/6.067, allocations: 0.5891 MB / 3.463 GB, free: 281.7 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009653/6.068, allocations: 209.5 kB / 3.463 GB, free: 281.7 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005089/6.073, allocations: 3.278 MB / 3.466 GB, free: 280.6 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001158/6.074, allocations: 1.271 MB / 3.468 GB, free: 279.9 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.000463/6.074, allocations: 171.8 kB / 3.468 GB, free: 279.9 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002295/6.075, allocations: 77.95 kB / 3.468 GB, free: 279.9 MB / 0.8855 GB Notification: Performance of SimCode: time 1.022e-06/6.075, allocations: 1.641 kB / 3.468 GB, free: 279.9 MB / 0.8855 GB Notification: Performance of Templates: time 0.03453/6.109, allocations: 20.11 MB / 3.487 GB, free: 278.8 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.makefile (rm -f Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe >> ../files/Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.sim & ./Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6.csv","../files/Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches