Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.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.TestCase3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3") translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7391/0.7391, allocations: 141.7 MB / 154.3 MB, free: 15.49 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.001133/0.001133, allocations: 181.8 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.433/1.433, allocations: 221.3 MB / 441.4 MB, free: 4.582 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.0008786/0.0008787, allocations: 107.6 kB / 0.5124 GB, free: 24.17 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001846/0.001847, allocations: 270.6 kB / 0.5939 GB, free: 7.957 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.411e-05/3.414e-05, allocations: 4 kB / 0.6834 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4633/0.4633, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.042/6.506, allocations: 2.148 GB / 2.913 GB, free: 121.4 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002887/6.506, allocations: 91.58 kB / 2.913 GB, free: 121.4 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1257/6.632, allocations: 64.89 MB / 2.976 GB, free: 64.36 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.694e-06/6.632, allocations: 192 / 2.976 GB, free: 64.36 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.789e-05/6.632, allocations: 31.92 kB / 2.976 GB, free: 64.33 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.00179/6.634, allocations: 1.233 MB / 2.977 GB, free: 63.05 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/6.634, allocations: 8.031 kB / 2.977 GB, free: 63.04 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001712/6.634, allocations: 138.3 kB / 2.977 GB, free: 62.91 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002775/6.637, allocations: 1.447 MB / 2.979 GB, free: 61.41 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001145/6.637, allocations: 78.64 kB / 2.979 GB, free: 61.32 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.341e-05/6.637, allocations: 48 kB / 2.979 GB, free: 61.27 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007098/6.638, allocations: 475 kB / 2.979 GB, free: 60.79 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.993e-05/6.638, allocations: 0 / 2.979 GB, free: 60.79 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.362e-05/6.638, allocations: 19.98 kB / 2.979 GB, free: 60.77 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.878e-06/6.638, allocations: 16 kB / 2.979 GB, free: 60.76 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004992/6.638, allocations: 339.8 kB / 2.98 GB, free: 60.43 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002942/6.641, allocations: 2.665 MB / 2.982 GB, free: 57.57 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005945/6.642, allocations: 376.7 kB / 2.983 GB, free: 57.19 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004341/6.642, allocations: 269.4 kB / 2.983 GB, free: 56.92 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.049e-05/6.642, allocations: 4.328 kB / 2.983 GB, free: 56.92 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003509/6.643, allocations: 263.5 kB / 2.983 GB, free: 56.65 MB / 0.698 GB Notification: Performance of pre-optimization done (n=44): time 2.154e-06/6.643, allocations: 3.938 kB / 2.983 GB, free: 56.64 MB / 0.698 GB Notification: Performance of matching and sorting (n=44): time 0.0009799/6.644, allocations: 0.595 MB / 2.984 GB, free: 56.04 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.422e-05/6.644, allocations: 59.41 kB / 2.984 GB, free: 55.96 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002022/6.646, allocations: 1.544 MB / 2.985 GB, free: 54.41 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.671e-05/6.646, allocations: 37.7 kB / 2.985 GB, free: 54.37 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000308/6.646, allocations: 0.5211 MB / 2.986 GB, free: 53.84 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.377e-05/6.646, allocations: 142 kB / 2.986 GB, free: 53.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.16e-05/6.646, allocations: 12 kB / 2.986 GB, free: 53.69 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.739e-05/6.646, allocations: 326 kB / 2.986 GB, free: 53.37 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002322/6.647, allocations: 161.1 kB / 2.987 GB, free: 53.21 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002682/6.647, allocations: 287.2 kB / 2.987 GB, free: 52.88 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002733/6.647, allocations: 196.9 kB / 2.987 GB, free: 52.69 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.698e-06/6.647, allocations: 4 kB / 2.987 GB, free: 52.68 MB / 0.698 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0009744/6.648, allocations: 0.7091 MB / 2.988 GB, free: 51.96 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/6.648, allocations: 5.406 kB / 2.988 GB, free: 51.96 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/6.648, allocations: 4 kB / 2.988 GB, free: 51.96 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000373/6.649, allocations: 135 kB / 2.988 GB, free: 51.82 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003678/6.649, allocations: 107.9 kB / 2.988 GB, free: 51.72 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002129/6.651, allocations: 2.349 MB / 2.99 GB, free: 49.24 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005166/6.652, allocations: 95.55 kB / 2.99 GB, free: 49.14 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.63e-05/6.652, allocations: 24 kB / 2.99 GB, free: 49.12 MB / 0.698 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 () * 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 {(1,100.0%) 15} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001408/6.652, allocations: 146.5 kB / 2.991 GB, free: 48.97 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001348/6.652, allocations: 126.5 kB / 2.991 GB, free: 48.85 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001102/6.653, allocations: 0.65 MB / 2.991 GB, free: 48.18 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/6.653, allocations: 7.938 kB / 2.991 GB, free: 48.17 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/6.653, allocations: 8 kB / 2.991 GB, free: 48.16 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/6.653, allocations: 3.984 kB / 2.991 GB, free: 48.16 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002143/6.655, allocations: 1.656 MB / 2.993 GB, free: 46.45 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/6.655, allocations: 0 / 2.993 GB, free: 46.45 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002175/6.656, allocations: 51.84 kB / 2.993 GB, free: 46.39 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003375/6.656, allocations: 165.6 kB / 2.993 GB, free: 46.23 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.33e-05/6.656, allocations: 19.94 kB / 2.993 GB, free: 46.21 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002551/6.658, allocations: 3.664 MB / 2.997 GB, free: 42.28 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/6.659, allocations: 0 / 2.997 GB, free: 42.28 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001179/6.66, allocations: 0.9049 MB / 2.998 GB, free: 41.35 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004376/6.66, allocations: 311.3 kB / 2.998 GB, free: 41.03 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.782e-05/6.66, allocations: 12 kB / 2.998 GB, free: 41.02 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003306/6.661, allocations: 43.97 kB / 2.998 GB, free: 40.97 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001148/6.661, allocations: 55.84 kB / 2.998 GB, free: 40.92 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.939e-05/6.661, allocations: 19.98 kB / 2.998 GB, free: 40.9 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001273/6.662, allocations: 1.232 MB / 2.999 GB, free: 39.66 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.5e-07/6.662, allocations: 0 / 2.999 GB, free: 39.66 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009433/6.663, allocations: 307.6 kB / 3 GB, free: 39.36 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%) 12,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001538/6.665, allocations: 0.9102 MB / 3 GB, free: 38.59 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0009852/6.666, allocations: 0.5806 MB / 3.001 GB, free: 38 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/6.666, allocations: 0.875 kB / 3.001 GB, free: 38 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005474/6.666, allocations: 0.5008 MB / 3.001 GB, free: 37.47 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008659/6.667, allocations: 179.5 kB / 3.002 GB, free: 37.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002736/6.67, allocations: 2.013 MB / 3.004 GB, free: 35.26 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005149/6.67, allocations: 1.173 MB / 3.005 GB, free: 34.05 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003402/6.671, allocations: 148.7 kB / 3.005 GB, free: 33.91 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001603/6.671, allocations: 67.38 kB / 3.005 GB, free: 33.85 MB / 0.698 GB Notification: Performance of SimCode: time 7.71e-07/6.671, allocations: 7.875 kB / 3.005 GB, free: 33.84 MB / 0.698 GB Notification: Performance of Templates: time 0.02691/6.698, allocations: 20.05 MB / 3.025 GB, free: 13.84 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.makefile (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.sim & ./BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe 2>&1)