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.7853/0.7853, allocations: 141.7 MB / 154.3 MB, free: 15.48 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.001143/0.001143, allocations: 181.7 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.536/1.536, allocations: 221.3 MB / 441.4 MB, free: 4.633 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.001013/0.001013, allocations: 97.3 kB / 0.5124 GB, free: 24.21 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001973/0.001973, allocations: 273.2 kB / 0.5939 GB, free: 7.945 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.244e-05/4.246e-05, allocations: 4 kB / 0.6834 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5688/0.5688, allocations: 82.77 MB / 0.7643 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.435/6.004, allocations: 2.148 GB / 2.913 GB, free: 176 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002423/6.004, allocations: 97.11 kB / 2.913 GB, free: 175.9 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1208/6.125, allocations: 64.89 MB / 2.976 GB, free: 110.5 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.392e-06/6.125, allocations: 0 / 2.976 GB, free: 110.5 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001707/6.125, allocations: 24 kB / 2.976 GB, free: 110.5 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.002662/6.128, allocations: 1.233 MB / 2.977 GB, free: 109.2 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/6.128, allocations: 12.03 kB / 2.977 GB, free: 109.2 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000479/6.128, allocations: 134.3 kB / 2.977 GB, free: 109.1 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003516/6.132, allocations: 1.443 MB / 2.979 GB, free: 107.6 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000141/6.132, allocations: 86.64 kB / 2.979 GB, free: 107.5 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001261/6.132, allocations: 40 kB / 2.979 GB, free: 107.5 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008621/6.133, allocations: 491 kB / 2.979 GB, free: 107 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.238e-05/6.133, allocations: 0 / 2.979 GB, free: 107 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.499e-05/6.133, allocations: 16 kB / 2.979 GB, free: 106.9 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.572e-05/6.133, allocations: 12 kB / 2.979 GB, free: 106.9 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005951/6.134, allocations: 343.8 kB / 2.98 GB, free: 106.6 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004021/6.138, allocations: 2.733 MB / 2.982 GB, free: 103.7 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007218/6.138, allocations: 389.2 kB / 2.983 GB, free: 103.3 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003766/6.139, allocations: 249.4 kB / 2.983 GB, free: 103 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.279e-05/6.139, allocations: 4.328 kB / 2.983 GB, free: 103 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003851/6.139, allocations: 258.3 kB / 2.983 GB, free: 102.8 MB / 0.698 GB Notification: Performance of pre-optimization done (n=45): time 3.196e-06/6.139, allocations: 0 / 2.983 GB, free: 102.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=45): time 0.001164/6.141, allocations: 0.6305 MB / 2.984 GB, free: 102.1 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.586e-05/6.141, allocations: 59.39 kB / 2.984 GB, free: 102 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00234/6.143, allocations: 1.532 MB / 2.985 GB, free: 100.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.147e-05/6.143, allocations: 41.7 kB / 2.986 GB, free: 100.4 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003257/6.143, allocations: 0.514 MB / 2.986 GB, free: 99.93 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001061/6.143, allocations: 146 kB / 2.986 GB, free: 99.79 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.406e-05/6.143, allocations: 12 kB / 2.986 GB, free: 99.77 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.074e-05/6.144, allocations: 330 kB / 2.986 GB, free: 99.45 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002424/6.144, allocations: 157.1 kB / 2.987 GB, free: 99.29 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002774/6.144, allocations: 273 kB / 2.987 GB, free: 98.98 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002761/6.144, allocations: 194.4 kB / 2.987 GB, free: 98.79 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/6.144, allocations: 0 / 2.987 GB, free: 98.79 MB / 0.698 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001102/6.145, allocations: 0.723 MB / 2.988 GB, free: 98.06 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/6.145, allocations: 9.562 kB / 2.988 GB, free: 98.05 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/6.145, allocations: 4 kB / 2.988 GB, free: 98.05 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004518/6.146, allocations: 164.8 kB / 2.988 GB, free: 97.89 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003419/6.146, allocations: 103.9 kB / 2.988 GB, free: 97.79 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002601/6.149, allocations: 2.581 MB / 2.991 GB, free: 95.07 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005624/6.149, allocations: 95.45 kB / 2.991 GB, free: 94.98 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.375e-05/6.15, allocations: 27.95 kB / 2.991 GB, free: 94.95 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.0001454/6.15, allocations: 144.5 kB / 2.991 GB, free: 94.81 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000196/6.15, allocations: 118.6 kB / 2.991 GB, free: 94.69 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001161/6.151, allocations: 0.6769 MB / 2.992 GB, free: 94 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/6.151, allocations: 7.984 kB / 2.992 GB, free: 93.99 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/6.151, allocations: 8 kB / 2.992 GB, free: 93.98 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.175e-06/6.151, allocations: 0 / 2.992 GB, free: 93.98 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00262/6.154, allocations: 1.718 MB / 2.993 GB, free: 92.21 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/6.154, allocations: 4 kB / 2.993 GB, free: 92.21 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002223/6.154, allocations: 55.91 kB / 2.993 GB, free: 92.15 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003984/6.154, allocations: 177.5 kB / 2.994 GB, free: 91.97 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.41e-05/6.154, allocations: 11.98 kB / 2.994 GB, free: 91.96 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003073/6.158, allocations: 3.953 MB / 2.997 GB, free: 87.74 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/6.158, allocations: 144 / 2.997 GB, free: 87.74 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00136/6.159, allocations: 0.9613 MB / 2.998 GB, free: 86.75 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005106/6.159, allocations: 307.5 kB / 2.999 GB, free: 86.43 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001501/6.16, allocations: 16 kB / 2.999 GB, free: 86.42 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003831/6.16, allocations: 39.91 kB / 2.999 GB, free: 86.38 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001412/6.16, allocations: 60.34 kB / 2.999 GB, free: 86.32 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.348e-05/6.16, allocations: 19.98 kB / 2.999 GB, free: 86.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001513/6.162, allocations: 1.216 MB / 3 GB, free: 85.08 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.31e-07/6.162, allocations: 0 / 3 GB, free: 85.08 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0012/6.163, allocations: 315.7 kB / 3 GB, free: 84.77 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.001746/6.165, allocations: 0.9084 MB / 3.001 GB, free: 84 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00112/6.166, allocations: 0.6208 MB / 3.002 GB, free: 83.37 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/6.166, allocations: 0 / 3.002 GB, free: 83.37 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006917/6.167, allocations: 0.5311 MB / 3.002 GB, free: 82.81 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009456/6.167, allocations: 177.5 kB / 3.002 GB, free: 82.64 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003284/6.171, allocations: 2.03 MB / 3.004 GB, free: 80.57 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000659/6.171, allocations: 1.177 MB / 3.006 GB, free: 79.37 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003547/6.172, allocations: 144.7 kB / 3.006 GB, free: 79.23 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001706/6.172, allocations: 67.42 kB / 3.006 GB, free: 79.16 MB / 0.698 GB Notification: Performance of SimCode: time 3.5e-07/6.172, allocations: 0 / 3.006 GB, free: 79.16 MB / 0.698 GB Notification: Performance of Templates: time 0.02851/6.201, allocations: 20.33 MB / 3.026 GB, free: 58.89 MB / 0.698 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)