Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.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.TestCase1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1") translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8193/0.8193, allocations: 143.4 MB / 158.3 MB, free: 5.668 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 177 kB / 191.5 MB, free: 5.664 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.634/1.634, allocations: 223.2 MB / 447.7 MB, free: 4.832 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.001031/0.001031, allocations: 96.27 kB / 0.5188 GB, free: 1.188 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001737/0.001737, allocations: 285 kB / 0.6005 GB, free: 48.77 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005575/0.0005574, allocations: 19.72 kB / 0.6929 GB, free: 59.54 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2021/0.2027, allocations: 82.79 MB / 0.7737 GB, free: 13.87 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.236/6.438, allocations: 2.148 GB / 2.922 GB, free: 219.8 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003095/6.439, allocations: 100.5 kB / 2.922 GB, free: 219.8 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.1334/6.572, allocations: 65.04 MB / 2.986 GB, free: 157.7 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.574e-06/6.572, allocations: 4 kB / 2.986 GB, free: 157.7 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001014/6.572, allocations: 31.92 kB / 2.986 GB, free: 157.7 MB / 0.7136 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.002493/6.575, allocations: 1.439 MB / 2.987 GB, free: 156.2 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.604e-05/6.575, allocations: 16.77 kB / 2.987 GB, free: 156.2 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002163/6.575, allocations: 134.3 kB / 2.987 GB, free: 156.1 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003211/6.578, allocations: 1.475 MB / 2.989 GB, free: 154.5 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001353/6.578, allocations: 86.62 kB / 2.989 GB, free: 154.4 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.333e-05/6.579, allocations: 47.94 kB / 2.989 GB, free: 154.4 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008792/6.579, allocations: 0.5067 MB / 2.989 GB, free: 153.9 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.369e-05/6.579, allocations: 0 / 2.989 GB, free: 153.9 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.513e-05/6.58, allocations: 16 kB / 2.989 GB, free: 153.9 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/6.58, allocations: 12 kB / 2.989 GB, free: 153.9 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007252/6.58, allocations: 411.7 kB / 2.99 GB, free: 153.4 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003848/6.584, allocations: 2.657 MB / 2.992 GB, free: 150.6 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009458/6.585, allocations: 454.2 kB / 2.993 GB, free: 150.1 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.78e-05/6.585, allocations: 8.312 kB / 2.993 GB, free: 150.1 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005133/6.586, allocations: 279.5 kB / 2.993 GB, free: 149.9 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=44): time 3.026e-06/6.586, allocations: 0 / 2.993 GB, free: 149.9 MB / 0.7136 GB Notification: Performance of matching and sorting (n=44): time 0.002737/6.588, allocations: 1.167 MB / 2.994 GB, free: 148.6 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.315e-05/6.589, allocations: 63.39 kB / 2.994 GB, free: 148.6 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002526/6.591, allocations: 1.558 MB / 2.996 GB, free: 147 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.87e-05/6.591, allocations: 33.7 kB / 2.996 GB, free: 147 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004613/6.592, allocations: 0.5211 MB / 2.996 GB, free: 146.4 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001424/6.592, allocations: 145.9 kB / 2.996 GB, free: 146.3 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.322e-05/6.592, allocations: 12 kB / 2.997 GB, free: 146.3 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.371e-05/6.592, allocations: 330 kB / 2.997 GB, free: 145.9 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004452/6.592, allocations: 225 kB / 2.997 GB, free: 145.7 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000487/6.593, allocations: 351.3 kB / 2.997 GB, free: 145.3 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004758/6.593, allocations: 266.4 kB / 2.998 GB, free: 145.1 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/6.593, allocations: 3.938 kB / 2.998 GB, free: 145.1 MB / 0.7136 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001451/6.595, allocations: 0.8324 MB / 2.998 GB, free: 144.2 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.354e-05/6.595, allocations: 8 kB / 2.998 GB, free: 144.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/6.595, allocations: 4 kB / 2.998 GB, free: 144.2 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004512/6.595, allocations: 158.1 kB / 2.999 GB, free: 144.1 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003856/6.596, allocations: 111.8 kB / 2.999 GB, free: 144 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002542/6.598, allocations: 2.509 MB / 3.001 GB, free: 141.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006538/6.599, allocations: 99.55 kB / 3.001 GB, free: 141.2 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.984e-05/6.599, allocations: 23.94 kB / 3.001 GB, free: 141.2 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 52 * 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%) 15} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007162/6.6, allocations: 387.3 kB / 3.002 GB, free: 140.8 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001674/6.6, allocations: 126.5 kB / 3.002 GB, free: 140.7 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001236/6.601, allocations: 0.7167 MB / 3.002 GB, free: 139.9 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/6.601, allocations: 4 kB / 3.002 GB, free: 139.9 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/6.601, allocations: 4 kB / 3.002 GB, free: 139.9 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.563e-06/6.601, allocations: 0 / 3.002 GB, free: 139.9 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002775/6.604, allocations: 1.738 MB / 3.004 GB, free: 138.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/6.604, allocations: 0 / 3.004 GB, free: 138.1 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002435/6.604, allocations: 55.92 kB / 3.004 GB, free: 138.1 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000368/6.605, allocations: 153.6 kB / 3.004 GB, free: 137.9 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.912e-05/6.605, allocations: 11.98 kB / 3.004 GB, free: 137.9 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002902/6.608, allocations: 3.735 MB / 3.008 GB, free: 133.9 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/6.608, allocations: 0 / 3.008 GB, free: 133.9 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001767/6.609, allocations: 1.002 MB / 3.009 GB, free: 132.9 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000711/6.61, allocations: 307.4 kB / 3.009 GB, free: 132.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002133/6.61, allocations: 12 kB / 3.009 GB, free: 132.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004404/6.611, allocations: 47.95 kB / 3.009 GB, free: 132.5 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001718/6.611, allocations: 59.84 kB / 3.009 GB, free: 132.5 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.295e-05/6.611, allocations: 8 kB / 3.009 GB, free: 132.4 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001902/6.613, allocations: 1.249 MB / 3.011 GB, free: 131.2 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.8e-07/6.613, allocations: 0 / 3.011 GB, free: 131.2 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001311/6.614, allocations: 311.7 kB / 3.011 GB, free: 130.9 MB / 0.7136 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) * Number of clocked states: 0 () * 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%) 12,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002059/6.616, allocations: 0.9608 MB / 3.012 GB, free: 130.1 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001615/6.618, allocations: 0.7261 MB / 3.013 GB, free: 129.4 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/6.618, allocations: 4 kB / 3.013 GB, free: 129.4 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0008463/6.619, allocations: 0.5326 MB / 3.013 GB, free: 128.8 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001294/6.62, allocations: 190.4 kB / 3.013 GB, free: 128.6 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004927/6.625, allocations: 2.771 MB / 3.016 GB, free: 125.8 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001006/6.626, allocations: 1.173 MB / 3.017 GB, free: 124.6 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0006124/6.627, allocations: 148.7 kB / 3.017 GB, free: 124.5 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002666/6.627, allocations: 63.42 kB / 3.017 GB, free: 124.4 MB / 0.7136 GB Notification: Performance of SimCode: time 1.132e-06/6.627, allocations: 4 kB / 3.017 GB, free: 124.4 MB / 0.7136 GB Notification: Performance of Templates: time 0.03366/6.661, allocations: 18.44 MB / 3.035 GB, free: 106.1 MB / 0.7136 GB make -j1 -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.makefile (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.sim & ./BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe 2>&1)