Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.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.TestCase6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6") translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8632/0.8632, allocations: 143.4 MB / 158.3 MB, free: 5.773 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.00123/0.00123, allocations: 179.7 kB / 191.5 MB, free: 5.758 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.728/1.728, allocations: 223.2 MB / 447.7 MB, free: 4.824 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.001076/0.001076, allocations: 88 kB / 0.5188 GB, free: 1.18 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002049/0.002049, allocations: 271.6 kB / 0.6005 GB, free: 48.77 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005439/0.0005442, allocations: 14.53 kB / 0.6929 GB, free: 59.66 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.266/0.2665, allocations: 82.79 MB / 0.7737 GB, free: 13.86 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.812/5.078, allocations: 2.149 GB / 2.922 GB, free: 219.6 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002526/5.079, allocations: 101.5 kB / 2.923 GB, free: 219.6 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.1268/5.205, allocations: 68.21 MB / 2.989 GB, free: 154.3 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.645e-06/5.205, allocations: 4 kB / 2.989 GB, free: 154.3 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.24e-05/5.205, allocations: 24 kB / 2.989 GB, free: 154.3 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.002372/5.208, allocations: 1.639 MB / 2.991 GB, free: 152.6 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/5.208, allocations: 8.828 kB / 2.991 GB, free: 152.5 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002747/5.208, allocations: 162 kB / 2.991 GB, free: 152.4 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003388/5.212, allocations: 1.583 MB / 2.993 GB, free: 150.8 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001246/5.212, allocations: 94.56 kB / 2.993 GB, free: 150.7 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.371e-05/5.212, allocations: 48 kB / 2.993 GB, free: 150.6 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000907/5.213, allocations: 0.5575 MB / 2.993 GB, free: 150 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.011e-05/5.213, allocations: 0 / 2.993 GB, free: 150 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.54e-05/5.213, allocations: 27.92 kB / 2.993 GB, free: 150 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.317e-06/5.213, allocations: 12 kB / 2.993 GB, free: 150 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007302/5.214, allocations: 443.7 kB / 2.994 GB, free: 149.6 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003533/5.217, allocations: 2.959 MB / 2.997 GB, free: 146.4 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000894/5.218, allocations: 0.4898 MB / 2.997 GB, free: 145.9 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.783e-05/5.218, allocations: 12.31 kB / 2.997 GB, free: 145.9 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005068/5.219, allocations: 321.2 kB / 2.997 GB, free: 145.5 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=52): time 2.555e-06/5.219, allocations: 0 / 2.997 GB, free: 145.5 MB / 0.7136 GB Notification: Performance of matching and sorting (n=52): time 0.002716/5.221, allocations: 1.341 MB / 2.999 GB, free: 144.1 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.147e-05/5.221, allocations: 63.84 kB / 2.999 GB, free: 144.1 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002303/5.224, allocations: 1.874 MB / 3.001 GB, free: 142.2 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.921e-05/5.224, allocations: 41.7 kB / 3.001 GB, free: 142.1 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003321/5.224, allocations: 0.6011 MB / 3.001 GB, free: 141.5 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 9.53e-05/5.224, allocations: 161.8 kB / 3.001 GB, free: 141.4 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.439e-05/5.224, allocations: 12 kB / 3.001 GB, free: 141.4 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.368e-05/5.224, allocations: 333.9 kB / 3.002 GB, free: 141 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004521/5.225, allocations: 245.2 kB / 3.002 GB, free: 140.8 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000467/5.225, allocations: 353.8 kB / 3.002 GB, free: 140.4 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000472/5.226, allocations: 275.7 kB / 3.003 GB, free: 140.1 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/5.226, allocations: 4 kB / 3.003 GB, free: 140.1 MB / 0.7136 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001428/5.227, allocations: 0.9237 MB / 3.003 GB, free: 139.2 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/5.227, allocations: 8.547 kB / 3.003 GB, free: 139.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/5.227, allocations: 0 / 3.003 GB, free: 139.2 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004276/5.228, allocations: 176.8 kB / 3.004 GB, free: 139 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003783/5.228, allocations: 111.8 kB / 3.004 GB, free: 138.9 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002516/5.231, allocations: 2.761 MB / 3.006 GB, free: 136 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004784/5.231, allocations: 107.4 kB / 3.006 GB, free: 135.9 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.53e-05/5.231, allocations: 20 kB / 3.007 GB, free: 135.9 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 24 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition6,$whenCondition5,$PRE.intGai.nextTimeEvent,$whenCondition4,$PRE.reference.nextTimeEvent,$whenCondition3,$PRE.setTemp.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,setTemp.nextTimeEvent,$PRE.setTemp.nextTimeEventScaled,setTemp.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 56 * 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%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004479/5.232, allocations: 443.8 kB / 3.007 GB, free: 135.4 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001519/5.232, allocations: 146.2 kB / 3.007 GB, free: 135.3 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001361/5.233, allocations: 0.8464 MB / 3.008 GB, free: 134.4 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/5.233, allocations: 4 kB / 3.008 GB, free: 134.4 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/5.233, allocations: 8 kB / 3.008 GB, free: 134.4 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/5.233, allocations: 3.953 kB / 3.008 GB, free: 134.4 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002903/5.236, allocations: 2.022 MB / 3.01 GB, free: 132.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/5.236, allocations: 0 / 3.01 GB, free: 132.3 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002802/5.236, allocations: 67.89 kB / 3.01 GB, free: 132.3 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003805/5.237, allocations: 186.8 kB / 3.01 GB, free: 132.1 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.668e-05/5.237, allocations: 12 kB / 3.01 GB, free: 132.1 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002903/5.24, allocations: 4.1 MB / 3.014 GB, free: 127.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/5.24, allocations: 0 / 3.014 GB, free: 127.7 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001717/5.241, allocations: 1.177 MB / 3.015 GB, free: 126.5 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006031/5.242, allocations: 355.1 kB / 3.016 GB, free: 126.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001254/5.242, allocations: 16 kB / 3.016 GB, free: 126.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003907/5.243, allocations: 55.95 kB / 3.016 GB, free: 126.1 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001102/5.243, allocations: 56.47 kB / 3.016 GB, free: 126 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-05/5.243, allocations: 19.98 kB / 3.016 GB, free: 126 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001378/5.244, allocations: 1.494 MB / 3.017 GB, free: 124.5 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.6e-07/5.244, allocations: 0 / 3.017 GB, free: 124.5 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000973/5.245, allocations: 351.5 kB / 3.018 GB, free: 124.2 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: 15 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,setTemp.nextTimeEvent,setTemp.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 9 (intGai.nextTimeEvent,reference.nextTimeEvent,setTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,setTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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%) 14,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001442/5.247, allocations: 0.9674 MB / 3.019 GB, free: 123.4 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001286/5.248, allocations: 0.775 MB / 3.019 GB, free: 122.6 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/5.248, allocations: 0 / 3.019 GB, free: 122.6 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0007404/5.249, allocations: 0.5789 MB / 3.02 GB, free: 122 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008871/5.249, allocations: 207.2 kB / 3.02 GB, free: 121.8 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004298/5.254, allocations: 3.317 MB / 3.023 GB, free: 118.4 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009133/5.255, allocations: 1.274 MB / 3.025 GB, free: 117.1 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0005215/5.255, allocations: 165 kB / 3.025 GB, free: 117 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002863/5.256, allocations: 75.42 kB / 3.025 GB, free: 116.9 MB / 0.7136 GB Notification: Performance of SimCode: time 3.3e-07/5.256, allocations: 4 kB / 3.025 GB, free: 116.9 MB / 0.7136 GB Notification: Performance of Templates: time 0.03026/5.286, allocations: 20.12 MB / 3.044 GB, free: 96.88 MB / 0.7136 GB make -j1 -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.makefile (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.sim & ./BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe 2>&1)