Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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.TestCase4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4") translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8519/0.8519, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001018/0.001018, allocations: 181.1 kB / 187.3 MB, free: 11.88 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.402/1.402, allocations: 221.3 MB / 441.4 MB, free: 4.594 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008465/0.0008465, allocations: 96.2 kB / 0.5124 GB, free: 24.22 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001887/0.001887, allocations: 269.1 kB / 0.5939 GB, free: 7.973 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.703e-05/4.706e-05, allocations: 0 / 0.6834 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5363/0.5363, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.904/6.441, allocations: 2.148 GB / 2.913 GB, free: 175.9 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002582/6.441, allocations: 95.88 kB / 2.913 GB, free: 175.8 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1245/6.565, allocations: 64.9 MB / 2.976 GB, free: 110.4 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.663e-06/6.566, allocations: 0 / 2.976 GB, free: 110.4 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.338e-05/6.566, allocations: 24.19 kB / 2.976 GB, free: 110.4 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.001751/6.567, allocations: 1.23 MB / 2.977 GB, free: 109.1 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/6.567, allocations: 8.031 kB / 2.977 GB, free: 109.1 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001712/6.568, allocations: 138.3 kB / 2.977 GB, free: 109 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002868/6.57, allocations: 1.447 MB / 2.979 GB, free: 107.5 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00012/6.571, allocations: 82.58 kB / 2.979 GB, free: 107.4 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.973e-05/6.571, allocations: 47.98 kB / 2.979 GB, free: 107.4 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007128/6.571, allocations: 483 kB / 2.979 GB, free: 106.9 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.821e-05/6.571, allocations: 0 / 2.979 GB, free: 106.9 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.228e-05/6.571, allocations: 16 kB / 2.979 GB, free: 106.9 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.287e-06/6.572, allocations: 8 kB / 2.979 GB, free: 106.8 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005115/6.572, allocations: 343.8 kB / 2.98 GB, free: 106.5 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00314/6.575, allocations: 2.737 MB / 2.982 GB, free: 103.6 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006237/6.576, allocations: 382.4 kB / 2.983 GB, free: 103.2 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003611/6.576, allocations: 249.4 kB / 2.983 GB, free: 102.9 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.085e-05/6.576, allocations: 4.328 kB / 2.983 GB, free: 102.9 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000377/6.577, allocations: 262.3 kB / 2.983 GB, free: 102.7 MB / 0.698 GB Notification: Performance of pre-optimization done (n=45): time 2.565e-06/6.577, allocations: 0 / 2.983 GB, free: 102.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=45): time 0.001036/6.578, allocations: 0.6227 MB / 2.984 GB, free: 102 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.208e-05/6.578, allocations: 55.41 kB / 2.984 GB, free: 102 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001994/6.58, allocations: 1.54 MB / 2.985 GB, free: 100.4 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.791e-05/6.58, allocations: 37.7 kB / 2.986 GB, free: 100.4 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003176/6.58, allocations: 0.5218 MB / 2.986 GB, free: 99.85 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.974e-05/6.58, allocations: 146 kB / 2.986 GB, free: 99.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.286e-05/6.58, allocations: 8 kB / 2.986 GB, free: 99.7 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.685e-05/6.58, allocations: 330 kB / 2.986 GB, free: 99.37 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002264/6.581, allocations: 157.1 kB / 2.987 GB, free: 99.21 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002687/6.581, allocations: 273 kB / 2.987 GB, free: 98.9 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002729/6.581, allocations: 190.4 kB / 2.987 GB, free: 98.72 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/6.581, allocations: 4 kB / 2.987 GB, free: 98.71 MB / 0.698 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001078/6.582, allocations: 0.7251 MB / 2.988 GB, free: 97.98 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/6.582, allocations: 4 kB / 2.988 GB, free: 97.98 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/6.582, allocations: 4 kB / 2.988 GB, free: 97.97 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004424/6.583, allocations: 170.2 kB / 2.988 GB, free: 97.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003459/6.583, allocations: 103.9 kB / 2.988 GB, free: 97.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002478/6.586, allocations: 2.589 MB / 2.991 GB, free: 94.98 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005253/6.586, allocations: 95.45 kB / 2.991 GB, free: 94.89 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.612e-05/6.586, allocations: 23.95 kB / 2.991 GB, free: 94.87 MB / 0.698 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_last,mean.y_last,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.0001353/6.586, allocations: 146.5 kB / 2.991 GB, free: 94.72 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001391/6.586, allocations: 122.6 kB / 2.991 GB, free: 94.6 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001174/6.588, allocations: 0.6847 MB / 2.992 GB, free: 93.9 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/6.588, allocations: 7.938 kB / 2.992 GB, free: 93.89 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/6.588, allocations: 4 kB / 2.992 GB, free: 93.89 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/6.588, allocations: 0 / 2.992 GB, free: 93.89 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002269/6.59, allocations: 1.706 MB / 2.993 GB, free: 92.12 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/6.59, allocations: 0 / 2.993 GB, free: 92.12 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000252/6.59, allocations: 59.89 kB / 2.993 GB, free: 92.07 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004018/6.591, allocations: 171.5 kB / 2.994 GB, free: 91.89 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.639e-05/6.591, allocations: 11.98 kB / 2.994 GB, free: 91.88 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003034/6.594, allocations: 3.962 MB / 2.997 GB, free: 87.65 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/6.594, allocations: 3.969 kB / 2.997 GB, free: 87.65 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00135/6.595, allocations: 0.9535 MB / 2.998 GB, free: 86.67 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004003/6.595, allocations: 303.5 kB / 2.999 GB, free: 86.36 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001055/6.596, allocations: 16 kB / 2.999 GB, free: 86.34 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003435/6.596, allocations: 47.91 kB / 2.999 GB, free: 86.29 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001556/6.596, allocations: 56.34 kB / 2.999 GB, free: 86.24 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.197e-05/6.596, allocations: 15.98 kB / 2.999 GB, free: 86.22 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001468/6.598, allocations: 1.227 MB / 3 GB, free: 84.99 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.1e-07/6.598, allocations: 0 / 3 GB, free: 84.99 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001072/6.599, allocations: 311.7 kB / 3 GB, free: 84.68 MB / 0.698 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_last) * 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.001618/6.6, allocations: 0.91 MB / 3.001 GB, free: 83.91 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001061/6.601, allocations: 0.6135 MB / 3.002 GB, free: 83.29 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/6.601, allocations: 3.938 kB / 3.002 GB, free: 83.28 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006071/6.602, allocations: 0.5187 MB / 3.002 GB, free: 82.74 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008975/6.603, allocations: 192.3 kB / 3.002 GB, free: 82.55 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002878/6.606, allocations: 2.03 MB / 3.004 GB, free: 80.49 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005902/6.606, allocations: 1.177 MB / 3.006 GB, free: 79.28 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003455/6.607, allocations: 136.7 kB / 3.006 GB, free: 79.15 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001618/6.607, allocations: 63.42 kB / 3.006 GB, free: 79.09 MB / 0.698 GB Notification: Performance of SimCode: time 1.894e-06/6.607, allocations: 0 / 3.006 GB, free: 79.09 MB / 0.698 GB Notification: Performance of Templates: time 0.02861/6.636, allocations: 20.35 MB / 3.026 GB, free: 58.79 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.makefile (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.sim & ./BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1)