Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.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.TestCase2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2") translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8266/0.8266, allocations: 143.4 MB / 158.3 MB, free: 5.809 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.001157/0.001157, allocations: 180.7 kB / 191.5 MB, free: 5.773 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.529/1.529, allocations: 223.2 MB / 447.7 MB, free: 4.742 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.0009054/0.0009053, allocations: 96.31 kB / 0.5188 GB, free: 1.105 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001732/0.001732, allocations: 268.2 kB / 0.6005 GB, free: 48.76 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000445/0.0004451, allocations: 11.8 kB / 0.6929 GB, free: 59.62 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2447/0.2452, allocations: 82.79 MB / 0.7737 GB, free: 13.85 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.02/6.265, allocations: 2.148 GB / 2.922 GB, free: 220.1 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003114/6.265, allocations: 98.59 kB / 2.922 GB, free: 220.1 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.1277/6.393, allocations: 65.05 MB / 2.986 GB, free: 158 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.515e-06/6.393, allocations: 0 / 2.986 GB, free: 158 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.326e-05/6.393, allocations: 23.94 kB / 2.986 GB, free: 158 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002351/6.395, allocations: 1.442 MB / 2.987 GB, free: 156.5 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.681e-05/6.396, allocations: 8.828 kB / 2.987 GB, free: 156.5 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002262/6.396, allocations: 146.3 kB / 2.987 GB, free: 156.3 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003282/6.399, allocations: 1.471 MB / 2.989 GB, free: 154.8 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001384/6.399, allocations: 78.64 kB / 2.989 GB, free: 154.7 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.377e-05/6.399, allocations: 51.94 kB / 2.989 GB, free: 154.7 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009623/6.4, allocations: 0.5145 MB / 2.989 GB, free: 154.1 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.215e-05/6.4, allocations: 0 / 2.989 GB, free: 154.1 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.546e-05/6.4, allocations: 16 kB / 2.989 GB, free: 154.1 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.284e-05/6.4, allocations: 12 kB / 2.989 GB, free: 154.1 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007192/6.401, allocations: 411.7 kB / 2.99 GB, free: 153.7 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003751/6.405, allocations: 2.725 MB / 2.992 GB, free: 150.8 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009279/6.406, allocations: 449.3 kB / 2.993 GB, free: 150.3 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.977e-05/6.406, allocations: 4.328 kB / 2.993 GB, free: 150.3 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005008/6.406, allocations: 298.4 kB / 2.993 GB, free: 150 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=45): time 3.496e-06/6.406, allocations: 4 kB / 2.993 GB, free: 150 MB / 0.7136 GB Notification: Performance of matching and sorting (n=45): time 0.002645/6.409, allocations: 1.237 MB / 2.994 GB, free: 148.7 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.196e-05/6.409, allocations: 63.16 kB / 2.994 GB, free: 148.6 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002098/6.411, allocations: 1.55 MB / 2.996 GB, free: 147.1 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.803e-05/6.411, allocations: 45.69 kB / 2.996 GB, free: 147 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003445/6.412, allocations: 0.5063 MB / 2.997 GB, free: 146.5 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001069/6.412, allocations: 149.9 kB / 2.997 GB, free: 146.4 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.319e-05/6.412, allocations: 15.94 kB / 2.997 GB, free: 146.4 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.541e-05/6.412, allocations: 326 kB / 2.997 GB, free: 146 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004105/6.412, allocations: 229.4 kB / 2.997 GB, free: 145.8 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000442/6.413, allocations: 337 kB / 2.998 GB, free: 145.4 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004345/6.413, allocations: 260.5 kB / 2.998 GB, free: 145.2 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/6.413, allocations: 0 / 2.998 GB, free: 145.2 MB / 0.7136 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001441/6.415, allocations: 0.8579 MB / 2.999 GB, free: 144.3 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.475e-05/6.415, allocations: 12.03 kB / 2.999 GB, free: 144.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/6.415, allocations: 4 kB / 2.999 GB, free: 144.3 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004734/6.415, allocations: 170.8 kB / 2.999 GB, free: 144.1 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003637/6.416, allocations: 107.9 kB / 2.999 GB, free: 144 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002807/6.418, allocations: 2.778 MB / 3.002 GB, free: 141.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005982/6.419, allocations: 91.55 kB / 3.002 GB, free: 141 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.687e-05/6.419, allocations: 20 kB / 3.002 GB, free: 141 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: 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 48 * 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.0007086/6.42, allocations: 387.3 kB / 3.002 GB, free: 140.6 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001607/6.42, allocations: 126.5 kB / 3.002 GB, free: 140.5 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001281/6.421, allocations: 0.7629 MB / 3.003 GB, free: 139.7 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/6.421, allocations: 4 kB / 3.003 GB, free: 139.7 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/6.421, allocations: 4 kB / 3.003 GB, free: 139.7 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/6.421, allocations: 0 / 3.003 GB, free: 139.7 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002793/6.424, allocations: 1.8 MB / 3.005 GB, free: 137.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/6.424, allocations: 4 kB / 3.005 GB, free: 137.9 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002179/6.424, allocations: 43.97 kB / 3.005 GB, free: 137.8 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004252/6.425, allocations: 187.5 kB / 3.005 GB, free: 137.6 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.584e-05/6.425, allocations: 12 kB / 3.005 GB, free: 137.6 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003103/6.428, allocations: 3.969 MB / 3.009 GB, free: 133.4 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/6.428, allocations: 0 / 3.009 GB, free: 133.4 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001753/6.43, allocations: 1.066 MB / 3.01 GB, free: 132.3 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006518/6.43, allocations: 307.5 kB / 3.01 GB, free: 132 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001884/6.431, allocations: 12 kB / 3.01 GB, free: 132 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004291/6.431, allocations: 43.97 kB / 3.01 GB, free: 131.9 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000154/6.431, allocations: 64.33 kB / 3.01 GB, free: 131.9 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.718e-05/6.431, allocations: 12 kB / 3.01 GB, free: 131.8 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001883/6.433, allocations: 1.237 MB / 3.011 GB, free: 130.6 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.092e-06/6.433, allocations: 0 / 3.011 GB, free: 130.6 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001343/6.434, allocations: 315.5 kB / 3.012 GB, free: 130.3 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: 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 21 * 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%) 14,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002073/6.437, allocations: 0.97 MB / 3.013 GB, free: 129.5 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001809/6.438, allocations: 0.7306 MB / 3.013 GB, free: 128.8 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/6.438, allocations: 4 kB / 3.013 GB, free: 128.8 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000863/6.439, allocations: 0.5583 MB / 3.014 GB, free: 128.2 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00145/6.441, allocations: 179.5 kB / 3.014 GB, free: 128 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005613/6.446, allocations: 2.805 MB / 3.017 GB, free: 125.2 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001095/6.447, allocations: 1.181 MB / 3.018 GB, free: 124 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0006971/6.448, allocations: 140.7 kB / 3.018 GB, free: 123.8 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002853/6.448, allocations: 59.44 kB / 3.018 GB, free: 123.8 MB / 0.7136 GB Notification: Performance of SimCode: time 1.283e-06/6.448, allocations: 0 / 3.018 GB, free: 123.8 MB / 0.7136 GB Notification: Performance of Templates: time 0.04335/6.492, allocations: 18.75 MB / 3.037 GB, free: 105.1 MB / 0.7136 GB make -j1 -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.makefile (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.sim & ./BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe 2>&1)