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.9294/0.9294, allocations: 141.8 MB / 149.3 MB, free: 9.215 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.001059/0.001059, allocations: 183.9 kB / 182.2 MB, free: 9.465 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.445/1.445, allocations: 221.5 MB / 436.4 MB, free: 13.35 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.0009618/0.0009618, allocations: 88.05 kB / 0.5074 GB, free: 10.19 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00191/0.001911, allocations: 284.4 kB / 0.5889 GB, free: 54.69 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.568e-05/1.571e-05, allocations: 0 / 0.6765 GB, free: 12.86 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4485/0.4485, allocations: 82.78 MB / 0.7574 GB, free: 32.03 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.293/6.742, allocations: 2.148 GB / 2.905 GB, free: 137.4 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003188/6.742, allocations: 96.64 kB / 2.905 GB, free: 137.3 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1313/6.874, allocations: 64.11 MB / 2.968 GB, free: 81.58 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.785e-06/6.874, allocations: 0 / 2.968 GB, free: 81.58 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002713/6.874, allocations: 24 kB / 2.968 GB, free: 81.55 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.004142/6.878, allocations: 1.226 MB / 2.969 GB, free: 80.29 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.897e-05/6.878, allocations: 12.02 kB / 2.969 GB, free: 80.27 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007836/6.879, allocations: 138.3 kB / 2.969 GB, free: 80.14 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004064/6.883, allocations: 1.444 MB / 2.971 GB, free: 78.64 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001582/6.883, allocations: 66.92 kB / 2.971 GB, free: 78.57 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001689/6.884, allocations: 35.95 kB / 2.971 GB, free: 78.53 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007592/6.884, allocations: 314.5 kB / 2.971 GB, free: 78.23 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007546/6.885, allocations: 421.1 kB / 2.971 GB, free: 77.8 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.812e-05/6.885, allocations: 0 / 2.971 GB, free: 77.8 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.26e-05/6.885, allocations: 3.938 kB / 2.971 GB, free: 77.79 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.507e-05/6.885, allocations: 12 kB / 2.971 GB, free: 77.78 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003468/6.889, allocations: 2.63 MB / 2.974 GB, free: 74.95 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005726/6.889, allocations: 359.9 kB / 2.974 GB, free: 74.59 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003352/6.89, allocations: 238.3 kB / 2.974 GB, free: 74.36 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.257e-05/6.89, allocations: 4.328 kB / 2.974 GB, free: 74.36 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003365/6.89, allocations: 258.2 kB / 2.975 GB, free: 74.09 MB / 0.698 GB Notification: Performance of pre-optimization done (n=45): time 2.605e-06/6.89, allocations: 0 / 2.975 GB, free: 74.09 MB / 0.698 GB Notification: Performance of matching and sorting (n=45): time 0.0009809/6.891, allocations: 0.5841 MB / 2.975 GB, free: 73.49 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.554e-05/6.891, allocations: 63.41 kB / 2.975 GB, free: 73.42 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00196/6.893, allocations: 1.454 MB / 2.977 GB, free: 71.95 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.135e-05/6.893, allocations: 29.7 kB / 2.977 GB, free: 71.92 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002897/6.893, allocations: 0.5059 MB / 2.977 GB, free: 71.41 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.05e-05/6.893, allocations: 138 kB / 2.977 GB, free: 71.27 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.21e-05/6.893, allocations: 3.938 kB / 2.977 GB, free: 71.27 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.92e-05/6.894, allocations: 326 kB / 2.978 GB, free: 70.94 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002144/6.894, allocations: 149.1 kB / 2.978 GB, free: 70.79 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000237/6.894, allocations: 251.9 kB / 2.978 GB, free: 70.5 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002486/6.894, allocations: 178.1 kB / 2.978 GB, free: 70.33 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/6.894, allocations: 7.953 kB / 2.978 GB, free: 70.32 MB / 0.698 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0009399/6.895, allocations: 0.6597 MB / 2.979 GB, free: 69.66 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/6.895, allocations: 4 kB / 2.979 GB, free: 69.65 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/6.895, allocations: 7.953 kB / 2.979 GB, free: 69.64 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003914/6.896, allocations: 158.1 kB / 2.979 GB, free: 69.49 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003357/6.896, allocations: 111.8 kB / 2.979 GB, free: 69.38 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002285/6.898, allocations: 2.502 MB / 2.982 GB, free: 66.77 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004374/6.899, allocations: 79.61 kB / 2.982 GB, free: 66.69 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.478e-05/6.899, allocations: 16 kB / 2.982 GB, free: 66.68 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.0001033/6.899, allocations: 135.4 kB / 2.982 GB, free: 66.54 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001278/6.899, allocations: 118.6 kB / 2.982 GB, free: 66.42 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009462/6.9, allocations: 0.634 MB / 2.983 GB, free: 65.77 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/6.9, allocations: 4 kB / 2.983 GB, free: 65.76 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/6.9, allocations: 11.98 kB / 2.983 GB, free: 65.75 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.433e-06/6.9, allocations: 0 / 2.983 GB, free: 65.75 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001998/6.902, allocations: 1.611 MB / 2.984 GB, free: 64.09 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/6.902, allocations: 0 / 2.984 GB, free: 64.09 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002241/6.902, allocations: 59.91 kB / 2.984 GB, free: 64.03 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003519/6.903, allocations: 169.5 kB / 2.984 GB, free: 63.86 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.187e-05/6.903, allocations: 7.984 kB / 2.984 GB, free: 63.85 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002727/6.905, allocations: 3.806 MB / 2.988 GB, free: 59.82 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/6.905, allocations: 3.953 kB / 2.988 GB, free: 59.81 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001109/6.907, allocations: 0.9026 MB / 2.989 GB, free: 58.89 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003451/6.907, allocations: 307.4 kB / 2.989 GB, free: 58.57 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001169/6.907, allocations: 11.92 kB / 2.989 GB, free: 58.56 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003403/6.907, allocations: 44.28 kB / 2.989 GB, free: 58.52 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000115/6.908, allocations: 52.34 kB / 2.989 GB, free: 58.46 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.668e-05/6.908, allocations: 19.95 kB / 2.989 GB, free: 58.45 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001053/6.909, allocations: 1.147 MB / 2.991 GB, free: 57.29 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.51e-07/6.909, allocations: 0 / 2.991 GB, free: 57.29 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008912/6.91, allocations: 291.5 kB / 2.991 GB, free: 57.01 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.001387/6.911, allocations: 0.9765 MB / 2.992 GB, free: 56.13 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0008115/6.912, allocations: 0.5732 MB / 2.992 GB, free: 55.54 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/6.912, allocations: 0 / 2.992 GB, free: 55.54 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006244/6.912, allocations: 0.4965 MB / 2.993 GB, free: 55.03 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008474/6.913, allocations: 164.3 kB / 2.993 GB, free: 54.87 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002706/6.916, allocations: 2.002 MB / 2.995 GB, free: 52.83 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005865/6.917, allocations: 1.177 MB / 2.996 GB, free: 51.62 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002988/6.917, allocations: 136.5 kB / 2.996 GB, free: 51.49 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001545/6.917, allocations: 63.42 kB / 2.996 GB, free: 51.43 MB / 0.698 GB Notification: Performance of SimCode: time 3.61e-07/6.917, allocations: 0 / 2.996 GB, free: 51.43 MB / 0.698 GB Notification: Performance of Templates: time 0.02208/6.939, allocations: 13.43 MB / 3.009 GB, free: 38.08 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)