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.7887/0.7887, allocations: 141.8 MB / 149.3 MB, free: 9.207 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.001112/0.001112, allocations: 176.9 kB / 182.2 MB, free: 9.445 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.396/1.396, allocations: 221.5 MB / 436.4 MB, free: 13.3 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.0009102/0.0009102, allocations: 88.05 kB / 0.5074 GB, free: 10.14 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001858/0.001858, allocations: 276 kB / 0.5889 GB, free: 54.64 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.502e-05/1.505e-05, allocations: 7.984 kB / 0.6765 GB, free: 12.8 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4115/0.4115, allocations: 82.77 MB / 0.7574 GB, free: 31.98 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.902/5.313, allocations: 2.148 GB / 2.905 GB, free: 136.8 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002426/5.314, allocations: 98.56 kB / 2.905 GB, free: 136.8 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1269/5.441, allocations: 64.09 MB / 2.968 GB, free: 80.98 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.092e-06/5.441, allocations: 4 kB / 2.968 GB, free: 80.97 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.911e-05/5.441, allocations: 24 kB / 2.968 GB, free: 80.95 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.001646/5.442, allocations: 1.222 MB / 2.969 GB, free: 79.68 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/5.442, allocations: 16.02 kB / 2.969 GB, free: 79.67 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000185/5.443, allocations: 134.3 kB / 2.969 GB, free: 79.54 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002706/5.445, allocations: 1.448 MB / 2.971 GB, free: 78.04 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001363/5.446, allocations: 70.98 kB / 2.971 GB, free: 77.96 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.538e-05/5.446, allocations: 35.89 kB / 2.971 GB, free: 77.92 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005037/5.446, allocations: 314.5 kB / 2.971 GB, free: 77.62 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006019/5.447, allocations: 421.1 kB / 2.971 GB, free: 77.19 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.974e-05/5.447, allocations: 4 kB / 2.971 GB, free: 77.18 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.763e-05/5.447, allocations: 0 / 2.971 GB, free: 77.18 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/5.447, allocations: 11.94 kB / 2.971 GB, free: 77.17 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00292/5.45, allocations: 2.638 MB / 2.974 GB, free: 74.34 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005795/5.45, allocations: 356.9 kB / 2.974 GB, free: 73.98 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003379/5.451, allocations: 238.3 kB / 2.974 GB, free: 73.75 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.76e-05/5.451, allocations: 4.328 kB / 2.974 GB, free: 73.74 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003543/5.451, allocations: 253.8 kB / 2.975 GB, free: 73.48 MB / 0.698 GB Notification: Performance of pre-optimization done (n=45): time 2.094e-06/5.451, allocations: 0 / 2.975 GB, free: 73.48 MB / 0.698 GB Notification: Performance of matching and sorting (n=45): time 0.0009443/5.452, allocations: 0.5881 MB / 2.975 GB, free: 72.88 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.279e-05/5.452, allocations: 55.41 kB / 2.975 GB, free: 72.81 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001868/5.454, allocations: 1.454 MB / 2.977 GB, free: 71.35 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.287e-05/5.454, allocations: 29.7 kB / 2.977 GB, free: 71.31 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003194/5.454, allocations: 0.5059 MB / 2.977 GB, free: 70.8 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.169e-05/5.454, allocations: 142 kB / 2.977 GB, free: 70.66 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.345e-05/5.454, allocations: 0 / 2.977 GB, free: 70.66 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.379e-05/5.455, allocations: 330.3 kB / 2.978 GB, free: 70.33 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002112/5.455, allocations: 153.1 kB / 2.978 GB, free: 70.18 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002331/5.455, allocations: 251.9 kB / 2.978 GB, free: 69.89 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002375/5.455, allocations: 181.8 kB / 2.978 GB, free: 69.71 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/5.455, allocations: 7.891 kB / 2.978 GB, free: 69.71 MB / 0.698 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.000981/5.456, allocations: 0.6598 MB / 2.979 GB, free: 69.04 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/5.456, allocations: 8 kB / 2.979 GB, free: 69.03 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/5.456, allocations: 7.953 kB / 2.979 GB, free: 69.02 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004047/5.457, allocations: 154.9 kB / 2.979 GB, free: 68.87 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003462/5.457, allocations: 99.81 kB / 2.979 GB, free: 68.77 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00242/5.459, allocations: 2.509 MB / 2.982 GB, free: 66.16 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004624/5.46, allocations: 75.61 kB / 2.982 GB, free: 66.08 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.789e-05/5.46, allocations: 20 kB / 2.982 GB, free: 66.06 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.0001328/5.46, allocations: 130.5 kB / 2.982 GB, free: 65.93 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001457/5.46, allocations: 118.6 kB / 2.982 GB, free: 65.81 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001088/5.461, allocations: 0.6418 MB / 2.983 GB, free: 65.15 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/5.461, allocations: 7.938 kB / 2.983 GB, free: 65.14 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.443e-06/5.461, allocations: 7.984 kB / 2.983 GB, free: 65.13 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.872e-06/5.461, allocations: 4 kB / 2.983 GB, free: 65.13 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002198/5.464, allocations: 1.607 MB / 2.984 GB, free: 63.47 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/5.464, allocations: 0 / 2.984 GB, free: 63.47 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002352/5.464, allocations: 55.91 kB / 2.984 GB, free: 63.42 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003662/5.464, allocations: 169.6 kB / 2.984 GB, free: 63.25 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.145e-05/5.464, allocations: 7.922 kB / 2.984 GB, free: 63.24 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002897/5.467, allocations: 3.805 MB / 2.988 GB, free: 59.21 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/5.467, allocations: 8.016 kB / 2.988 GB, free: 59.2 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001153/5.468, allocations: 0.9025 MB / 2.989 GB, free: 58.28 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003473/5.469, allocations: 311.4 kB / 2.989 GB, free: 57.95 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001203/5.469, allocations: 11.98 kB / 2.989 GB, free: 57.94 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003569/5.469, allocations: 40.22 kB / 2.989 GB, free: 57.9 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001141/5.469, allocations: 52.34 kB / 2.989 GB, free: 57.85 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.826e-05/5.469, allocations: 23.95 kB / 2.989 GB, free: 57.83 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001072/5.47, allocations: 1.151 MB / 2.991 GB, free: 56.67 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.7e-07/5.471, allocations: 0 / 2.991 GB, free: 56.67 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009111/5.471, allocations: 291.5 kB / 2.991 GB, free: 56.39 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.001337/5.473, allocations: 0.9686 MB / 2.992 GB, free: 55.51 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000875/5.474, allocations: 0.5649 MB / 2.992 GB, free: 54.93 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/5.474, allocations: 0 / 2.992 GB, free: 54.93 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.00058/5.474, allocations: 0.4972 MB / 2.993 GB, free: 54.42 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009511/5.475, allocations: 162.2 kB / 2.993 GB, free: 54.26 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002806/5.478, allocations: 2.01 MB / 2.995 GB, free: 52.21 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005311/5.479, allocations: 1.177 MB / 2.996 GB, free: 51.01 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002922/5.479, allocations: 136.6 kB / 2.996 GB, free: 50.88 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00016/5.479, allocations: 63.42 kB / 2.996 GB, free: 50.82 MB / 0.698 GB Notification: Performance of SimCode: time 5.51e-07/5.479, allocations: 0 / 2.996 GB, free: 50.82 MB / 0.698 GB Notification: Performance of Templates: time 0.0204/5.499, allocations: 13.43 MB / 3.009 GB, free: 37.46 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)