Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.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.TestCase11,tolerance=1e-07,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11") translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11,tolerance=1e-07,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7726/0.7726, allocations: 141.7 MB / 154.3 MB, free: 15.47 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.001126/0.001127, allocations: 179.5 kB / 187.3 MB, free: 11.89 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.659/1.659, allocations: 221.3 MB / 441.4 MB, free: 4.602 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.001008/0.001008, allocations: 88.55 kB / 0.5124 GB, free: 24.25 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002018/0.002018, allocations: 280.8 kB / 0.5939 GB, free: 7.973 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 5.177e-05/5.18e-05, allocations: 7.984 kB / 0.6835 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5542/0.5543, allocations: 82.75 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.591/6.145, allocations: 2.154 GB / 2.918 GB, free: 115.6 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004337/6.146, allocations: 99.88 kB / 2.918 GB, free: 115.5 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.2101/6.356, allocations: 74.8 MB / 2.991 GB, free: 48.29 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.634e-06/6.356, allocations: 0 / 2.991 GB, free: 48.29 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001392/6.356, allocations: 47.88 kB / 2.991 GB, free: 48.25 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: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.002717/6.359, allocations: 1.872 MB / 2.993 GB, free: 46.31 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/6.359, allocations: 8.031 kB / 2.993 GB, free: 46.3 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000385/6.359, allocations: 252.9 kB / 2.993 GB, free: 46.05 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003567/6.363, allocations: 1.871 MB / 2.995 GB, free: 44.12 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001443/6.363, allocations: 111.7 kB / 2.995 GB, free: 44 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001218/6.363, allocations: 83.84 kB / 2.996 GB, free: 43.92 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001264/6.365, allocations: 0.8232 MB / 2.996 GB, free: 43.06 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.365e-05/6.365, allocations: 0 / 2.996 GB, free: 43.06 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.466e-05/6.365, allocations: 39.98 kB / 2.996 GB, free: 43.02 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.766e-05/6.365, allocations: 23.94 kB / 2.996 GB, free: 43 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008925/6.366, allocations: 0.5701 MB / 2.997 GB, free: 42.43 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005196/6.371, allocations: 4.232 MB / 3.001 GB, free: 37.93 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009134/6.372, allocations: 0.6369 MB / 3.002 GB, free: 37.29 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005239/6.372, allocations: 373.1 kB / 3.002 GB, free: 36.92 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.244e-05/6.372, allocations: 4.781 kB / 3.002 GB, free: 36.91 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005615/6.373, allocations: 402 kB / 3.002 GB, free: 36.51 MB / 0.698 GB Notification: Performance of pre-optimization done (n=79): time 3.577e-06/6.373, allocations: 0 / 3.002 GB, free: 36.51 MB / 0.698 GB Notification: Performance of matching and sorting (n=79): time 0.001904/6.375, allocations: 1.073 MB / 3.003 GB, free: 35.42 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.622e-05/6.375, allocations: 141.3 kB / 3.004 GB, free: 35.25 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004824/6.38, allocations: 2.839 MB / 3.006 GB, free: 32.38 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.803e-05/6.38, allocations: 45.7 kB / 3.006 GB, free: 32.33 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006166/6.38, allocations: 0.9373 MB / 3.007 GB, free: 31.39 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001606/6.381, allocations: 252.5 kB / 3.008 GB, free: 31.14 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.649e-05/6.381, allocations: 16 kB / 3.008 GB, free: 31.12 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.24e-05/6.381, allocations: 338 kB / 3.008 GB, free: 30.79 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003687/6.381, allocations: 258 kB / 3.008 GB, free: 30.53 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004341/6.382, allocations: 418 kB / 3.009 GB, free: 30.06 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004192/6.382, allocations: 298.1 kB / 3.009 GB, free: 29.77 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/6.382, allocations: 0 / 3.009 GB, free: 29.77 MB / 0.698 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.00181/6.384, allocations: 1.19 MB / 3.01 GB, free: 28.57 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/6.384, allocations: 8 kB / 3.01 GB, free: 28.57 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/6.384, allocations: 7.938 kB / 3.01 GB, free: 28.56 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007791/6.385, allocations: 315.2 kB / 3.01 GB, free: 28.25 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000457/6.385, allocations: 139.8 kB / 3.01 GB, free: 28.11 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004276/6.389, allocations: 3.672 MB / 3.014 GB, free: 24.32 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009097/6.39, allocations: 143.2 kB / 3.014 GB, free: 24.18 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.449e-05/6.39, allocations: 35.98 kB / 3.014 GB, free: 24.14 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 34 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition7,$whenCondition6,$PRE.intGai.nextTimeEvent,$whenCondition5,$PRE.reference.nextTimeEvent,$whenCondition4,$PRE.setTemp.nextTimeEvent,$whenCondition2,$whenCondition3,$whenCondition1,intGai.nextTimeEvent,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEventScaled,reference.nextTimeEvent,$PRE.reference.nextTimeEventScaled,reference.nextTimeEventScaled,setTemp.nextTimeEvent,$PRE.setTemp.nextTimeEventScaled,setTemp.nextTimeEventScaled,$PRE.hysteresis.y,hysteresis.y,$PRE.assEqu.satisfied,assEqu.satisfied,$PRE.mean.y_last,mean.y_last,switchMea.u2,not1.y,$PRE.timer.entryTime,timer.entryTime,$PRE.cha.u,cha.u,conHeaCoo.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 76 * 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: 0 * Non-linear torn systems: 1 {2 31} Notification: Performance of prepare postOptimizeDAE: time 0.0001886/6.391, allocations: 169 kB / 3.014 GB, free: 23.97 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002389/6.391, allocations: 213.4 kB / 3.015 GB, free: 23.76 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001775/6.393, allocations: 1.078 MB / 3.016 GB, free: 22.66 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/6.393, allocations: 8 kB / 3.016 GB, free: 22.65 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/6.393, allocations: 7.938 kB / 3.016 GB, free: 22.64 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.828e-06/6.393, allocations: 11.94 kB / 3.016 GB, free: 22.63 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004034/6.397, allocations: 2.881 MB / 3.018 GB, free: 19.68 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/6.397, allocations: 4 kB / 3.018 GB, free: 19.68 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003161/6.397, allocations: 75.89 kB / 3.019 GB, free: 19.61 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007311/6.398, allocations: 325.8 kB / 3.019 GB, free: 19.28 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.414e-05/6.398, allocations: 19.98 kB / 3.019 GB, free: 19.26 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004748/6.403, allocations: 4.987 MB / 3.024 GB, free: 13.99 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/6.403, allocations: 0 / 3.024 GB, free: 13.99 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002459/6.405, allocations: 1.566 MB / 3.025 GB, free: 12.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007925/6.406, allocations: 490.2 kB / 3.026 GB, free: 11.9 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001809/6.406, allocations: 35.86 kB / 3.026 GB, free: 11.86 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005575/6.407, allocations: 79.84 kB / 3.026 GB, free: 11.79 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002028/6.407, allocations: 104.6 kB / 3.026 GB, free: 11.68 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.693e-05/6.407, allocations: 27.98 kB / 3.026 GB, free: 11.65 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002425/6.409, allocations: 2.261 MB / 3.028 GB, free: 9.371 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/6.409, allocations: 0 / 3.028 GB, free: 9.371 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001352/6.411, allocations: 483.3 kB / 3.029 GB, free: 8.898 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,conHeaCoo.I.y,assEqu.diff,mean.x) * Number of discrete variables: 21 (not1.y,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,setTemp.nextTimeEvent,setTemp.nextTimeEventScaled,hysteresis.y,assEqu.satisfied,assEqu.nFai,mean.y_last,switchMea.u2,timer.entryTime,cha.u) * Number of discrete states: 11 (intGai.nextTimeEvent,reference.nextTimeEvent,setTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,setTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled,hysteresis.y,cha.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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: 1 {(1,100.0%) 3} * Non-linear torn systems: 1 {3 27} Notification: Performance of Backend phase and start with SimCode phase: time 0.001552/6.412, allocations: 0.9353 MB / 3.03 GB, free: 8.121 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001508/6.414, allocations: 0.929 MB / 3.03 GB, free: 7.172 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/6.414, allocations: 0 / 3.03 GB, free: 7.172 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001013/6.415, allocations: 0.7751 MB / 3.031 GB, free: 6.375 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001287/6.416, allocations: 268.5 kB / 3.031 GB, free: 6.113 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005024/6.421, allocations: 3.577 MB / 3.035 GB, free: 2.492 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008821/6.422, allocations: 1.578 MB / 3.037 GB, free: 0.8789 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005439/6.423, allocations: 242.6 kB / 3.037 GB, free: 0.6367 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00026/6.423, allocations: 99.3 kB / 3.037 GB, free: 0.5391 MB / 0.698 GB Notification: Performance of SimCode: time 9.82e-07/6.423, allocations: 0 / 3.037 GB, free: 0.5391 MB / 0.698 GB Notification: Performance of Templates: time 0.4481/6.871, allocations: 28.56 MB / 3.065 GB, free: 206.6 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.makefile (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.sim & ./BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.pipe 2>&1)