Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6") translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7652/0.7652, allocations: 140 MB / 156 MB, free: 8.375 MB / 122.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: 172.6 kB / 188.5 MB, free: 8.992 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.44/1.44, allocations: 205.4 MB / 426.4 MB, free: 8.117 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008699/0.0008697, allocations: 90.36 kB / 0.4945 GB, free: 8.051 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001617/0.001617, allocations: 274.6 kB / 0.5728 GB, free: 66.12 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004665/0.0004665, allocations: 16 kB / 0.662 GB, free: 6.715 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3901/0.3906, allocations: 79.3 MB / 0.7395 GB, free: 46.29 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.341/4.732, allocations: 2.318 GB / 3.057 GB, free: 233.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002838/4.732, allocations: 103.9 kB / 3.057 GB, free: 233.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1255/4.858, allocations: 66.77 MB / 3.122 GB, free: 165.9 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.974e-06/4.858, allocations: 3.938 kB / 3.122 GB, free: 165.9 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001621/4.858, allocations: 35.92 kB / 3.122 GB, free: 165.8 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.002865/4.861, allocations: 1.571 MB / 3.124 GB, free: 164.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/4.861, allocations: 12.03 kB / 3.124 GB, free: 164.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004353/4.861, allocations: 159.1 kB / 3.124 GB, free: 164 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002257/4.864, allocations: 1.275 MB / 3.125 GB, free: 162.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001189/4.864, allocations: 79.25 kB / 3.125 GB, free: 162.6 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001058/4.864, allocations: 56.36 kB / 3.125 GB, free: 162.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009276/4.865, allocations: 0.5541 MB / 3.126 GB, free: 162 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.522e-05/4.865, allocations: 15.78 kB / 3.126 GB, free: 162 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.671e-05/4.865, allocations: 19.98 kB / 3.126 GB, free: 162 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.749e-06/4.865, allocations: 16 kB / 3.126 GB, free: 162 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007994/4.866, allocations: 435.7 kB / 3.126 GB, free: 161.5 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003234/4.869, allocations: 2.795 MB / 3.129 GB, free: 158.5 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009991/4.87, allocations: 0.5426 MB / 3.13 GB, free: 158 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005064/4.87, allocations: 305.7 kB / 3.13 GB, free: 157.7 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.195e-05/4.871, allocations: 8 kB / 3.13 GB, free: 157.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000493/4.871, allocations: 321 kB / 3.13 GB, free: 157.3 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=50): time 3.006e-06/4.871, allocations: 0 / 3.13 GB, free: 157.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=50): time 0.002751/4.874, allocations: 1.344 MB / 3.132 GB, free: 155.9 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.896e-05/4.874, allocations: 55.84 kB / 3.132 GB, free: 155.9 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002783/4.877, allocations: 2.049 MB / 3.134 GB, free: 153.8 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.021e-05/4.877, allocations: 45.7 kB / 3.134 GB, free: 153.8 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003566/4.877, allocations: 0.6049 MB / 3.134 GB, free: 153.1 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001007/4.877, allocations: 153.8 kB / 3.134 GB, free: 153 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.376e-05/4.877, allocations: 16 kB / 3.134 GB, free: 153 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.216e-05/4.877, allocations: 329.9 kB / 3.135 GB, free: 152.6 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003573/4.878, allocations: 205.2 kB / 3.135 GB, free: 152.4 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003826/4.878, allocations: 317.8 kB / 3.135 GB, free: 152.1 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007403/4.879, allocations: 0.5139 MB / 3.136 GB, free: 151.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/4.879, allocations: 0 / 3.136 GB, free: 151.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001379/4.88, allocations: 0.8452 MB / 3.137 GB, free: 150.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/4.88, allocations: 8.094 kB / 3.137 GB, free: 150.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/4.88, allocations: 8 kB / 3.137 GB, free: 150.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004471/4.881, allocations: 177 kB / 3.137 GB, free: 150.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003119/4.881, allocations: 99.83 kB / 3.137 GB, free: 150.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002636/4.884, allocations: 2.655 MB / 3.139 GB, free: 147.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005286/4.884, allocations: 79.5 kB / 3.14 GB, free: 147.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.782e-05/4.884, allocations: 20 kB / 3.14 GB, free: 147.5 MB / 0.6823 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 (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%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005759/4.885, allocations: 439.8 kB / 3.14 GB, free: 147.1 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000208/4.885, allocations: 142.2 kB / 3.14 GB, free: 146.9 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001477/4.886, allocations: 0.8432 MB / 3.141 GB, free: 146.1 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/4.887, allocations: 8 kB / 3.141 GB, free: 146.1 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/4.887, allocations: 0 / 3.141 GB, free: 146.1 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/4.887, allocations: 7.984 kB / 3.141 GB, free: 146.1 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002573/4.889, allocations: 1.897 MB / 3.143 GB, free: 144.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/4.889, allocations: 0 / 3.143 GB, free: 144.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002224/4.889, allocations: 51.91 kB / 3.143 GB, free: 144 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003984/4.89, allocations: 181.6 kB / 3.143 GB, free: 143.9 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.645e-05/4.89, allocations: 15.98 kB / 3.143 GB, free: 143.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00305/4.893, allocations: 4.008 MB / 3.147 GB, free: 139.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/4.893, allocations: 0 / 3.147 GB, free: 139.6 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001812/4.895, allocations: 1.15 MB / 3.148 GB, free: 138.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000537/4.895, allocations: 343.3 kB / 3.148 GB, free: 138 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001872/4.895, allocations: 19.94 kB / 3.148 GB, free: 138 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004261/4.896, allocations: 59.86 kB / 3.149 GB, free: 138 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001465/4.896, allocations: 56.34 kB / 3.149 GB, free: 137.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.519e-05/4.896, allocations: 19.98 kB / 3.149 GB, free: 137.9 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001882/4.898, allocations: 1.494 MB / 3.15 GB, free: 136.4 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.9e-07/4.898, allocations: 0 / 3.15 GB, free: 136.4 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001117/4.899, allocations: 343.5 kB / 3.15 GB, free: 136.1 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,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,setTemp.nextTimeEventScaled,reference.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 25 * 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.001489/4.901, allocations: 0.9692 MB / 3.151 GB, free: 135.2 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001346/4.902, allocations: 0.7323 MB / 3.152 GB, free: 134.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/4.902, allocations: 0 / 3.152 GB, free: 134.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0008129/4.903, allocations: 0.5896 MB / 3.153 GB, free: 133.8 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001132/4.904, allocations: 232.9 kB / 3.153 GB, free: 133.6 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003996/4.908, allocations: 3.265 MB / 3.156 GB, free: 130.3 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007337/4.909, allocations: 1.239 MB / 3.157 GB, free: 129.1 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0003724/4.909, allocations: 172.9 kB / 3.157 GB, free: 128.9 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001811/4.909, allocations: 75.42 kB / 3.157 GB, free: 128.8 MB / 0.6823 GB Notification: Performance of SimCode: time 5.21e-07/4.909, allocations: 0 / 3.157 GB, free: 128.8 MB / 0.6823 GB Notification: Performance of Templates: time 0.02673/4.936, allocations: 19.83 MB / 3.177 GB, free: 109.1 MB / 0.6823 GB make -j1 -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.makefile (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.sim & ./BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe 2>&1)