Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.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.TestCase2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2") translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7617/0.7617, allocations: 140.1 MB / 156 MB, free: 8.406 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.001005/0.001005, allocations: 186.2 kB / 188.5 MB, free: 8.988 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.362/1.362, allocations: 205.4 MB / 426.3 MB, free: 8.062 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.0007438/0.0007438, allocations: 102.3 kB / 0.4945 GB, free: 7.988 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001551/0.001551, allocations: 268.7 kB / 0.5728 GB, free: 66.13 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004584/0.0004584, allocations: 16 kB / 0.662 GB, free: 6.715 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3569/0.3574, allocations: 79.3 MB / 0.7395 GB, free: 46.29 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.709/5.066, allocations: 2.317 GB / 3.057 GB, free: 233.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002461/5.066, allocations: 99.95 kB / 3.057 GB, free: 233.4 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.121/5.187, allocations: 63.64 MB / 3.119 GB, free: 169.3 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.876e-06/5.187, allocations: 0 / 3.119 GB, free: 169.3 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.00012/5.188, allocations: 20 kB / 3.119 GB, free: 169.3 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: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.002557/5.19, allocations: 1.387 MB / 3.12 GB, free: 167.8 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/5.19, allocations: 8.031 kB / 3.12 GB, free: 167.8 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003402/5.19, allocations: 139.2 kB / 3.12 GB, free: 167.7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002058/5.193, allocations: 1.155 MB / 3.122 GB, free: 166.5 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001187/5.193, allocations: 87.12 kB / 3.122 GB, free: 166.4 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.61e-05/5.193, allocations: 44.38 kB / 3.122 GB, free: 166.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008718/5.194, allocations: 0.5034 MB / 3.122 GB, free: 165.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.764e-05/5.194, allocations: 3.938 kB / 3.122 GB, free: 165.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.374e-05/5.194, allocations: 20 kB / 3.122 GB, free: 165.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.707e-06/5.194, allocations: 8 kB / 3.122 GB, free: 165.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007636/5.195, allocations: 411.7 kB / 3.123 GB, free: 165.4 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002938/5.198, allocations: 2.565 MB / 3.125 GB, free: 162.6 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009551/5.198, allocations: 0.4924 MB / 3.126 GB, free: 162.1 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004667/5.199, allocations: 284.5 kB / 3.126 GB, free: 161.8 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.481e-05/5.199, allocations: 4 kB / 3.126 GB, free: 161.8 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000467/5.199, allocations: 287.5 kB / 3.126 GB, free: 161.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=43): time 2.485e-06/5.199, allocations: 0 / 3.126 GB, free: 161.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=43): time 0.002628/5.202, allocations: 1.222 MB / 3.127 GB, free: 160.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.71e-05/5.202, allocations: 59.34 kB / 3.127 GB, free: 160.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002689/5.205, allocations: 1.689 MB / 3.129 GB, free: 158.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.824e-05/5.205, allocations: 37.7 kB / 3.129 GB, free: 158.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003879/5.205, allocations: 0.5289 MB / 3.13 GB, free: 157.9 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001248/5.205, allocations: 138.1 kB / 3.13 GB, free: 157.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.535e-05/5.206, allocations: 19.81 kB / 3.13 GB, free: 157.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001039/5.206, allocations: 326 kB / 3.13 GB, free: 157.4 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003838/5.206, allocations: 189 kB / 3.13 GB, free: 157.3 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004009/5.206, allocations: 289.6 kB / 3.131 GB, free: 156.9 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007439/5.207, allocations: 490.8 kB / 3.131 GB, free: 156.4 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.724e-06/5.207, allocations: 0 / 3.131 GB, free: 156.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001538/5.209, allocations: 0.7795 MB / 3.132 GB, free: 155.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.287e-05/5.209, allocations: 4 kB / 3.132 GB, free: 155.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/5.209, allocations: 4.125 kB / 3.132 GB, free: 155.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005093/5.209, allocations: 173.7 kB / 3.132 GB, free: 155.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002958/5.21, allocations: 87.89 kB / 3.132 GB, free: 155.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00272/5.212, allocations: 2.593 MB / 3.135 GB, free: 152.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005022/5.213, allocations: 79.48 kB / 3.135 GB, free: 152.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.732e-05/5.213, allocations: 16 kB / 3.135 GB, free: 152.6 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: 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 (47): * Single equations (assignments): 46 * 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.0005244/5.213, allocations: 395.3 kB / 3.135 GB, free: 152.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001722/5.214, allocations: 118.5 kB / 3.135 GB, free: 152 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001291/5.215, allocations: 0.7478 MB / 3.136 GB, free: 151.3 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/5.215, allocations: 8 kB / 3.136 GB, free: 151.3 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/5.215, allocations: 0 / 3.136 GB, free: 151.3 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/5.215, allocations: 7.922 kB / 3.136 GB, free: 151.3 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0022/5.217, allocations: 1.667 MB / 3.137 GB, free: 149.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/5.217, allocations: 0 / 3.137 GB, free: 149.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001932/5.217, allocations: 47.95 kB / 3.138 GB, free: 149.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003807/5.218, allocations: 183.6 kB / 3.138 GB, free: 149.3 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.546e-05/5.218, allocations: 12 kB / 3.138 GB, free: 149.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002963/5.221, allocations: 3.954 MB / 3.142 GB, free: 145.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/5.221, allocations: 4.031 kB / 3.142 GB, free: 145.1 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001488/5.222, allocations: 1.049 MB / 3.143 GB, free: 144 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000376/5.223, allocations: 295.6 kB / 3.143 GB, free: 143.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001185/5.223, allocations: 23.94 kB / 3.143 GB, free: 143.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003286/5.223, allocations: 51.81 kB / 3.143 GB, free: 143.6 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/5.223, allocations: 55.84 kB / 3.143 GB, free: 143.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.768e-05/5.223, allocations: 15.98 kB / 3.143 GB, free: 143.5 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001323/5.225, allocations: 1.237 MB / 3.144 GB, free: 142.3 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.7e-07/5.225, allocations: 0 / 3.144 GB, free: 142.3 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0009223/5.226, allocations: 307.7 kB / 3.145 GB, free: 142 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: 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,reference.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 20 * 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.001523/5.227, allocations: 0.9644 MB / 3.145 GB, free: 141.2 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001216/5.228, allocations: 0.68 MB / 3.146 GB, free: 140.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/5.228, allocations: 4 kB / 3.146 GB, free: 140.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007626/5.229, allocations: 0.5485 MB / 3.147 GB, free: 139.9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009551/5.23, allocations: 187.9 kB / 3.147 GB, free: 139.7 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003279/5.233, allocations: 2.772 MB / 3.15 GB, free: 136.9 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005867/5.234, allocations: 1.153 MB / 3.151 GB, free: 135.7 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0003119/5.234, allocations: 140.6 kB / 3.151 GB, free: 135.6 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000138/5.234, allocations: 63.42 kB / 3.151 GB, free: 135.5 MB / 0.6823 GB Notification: Performance of SimCode: time 2.2e-07/5.235, allocations: 0 / 3.151 GB, free: 135.5 MB / 0.6823 GB Notification: Performance of Templates: time 0.02684/5.261, allocations: 18.43 MB / 3.169 GB, free: 117.1 MB / 0.6823 GB make -j1 -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.makefile (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.sim & ./BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe 2>&1)