Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.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.TestCase10,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10") translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8062/0.8062, 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.001017/0.001017, allocations: 186.8 kB / 187.3 MB, free: 11.88 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.575/1.575, allocations: 221.3 MB / 441.4 MB, free: 4.586 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.001101/0.001101, allocations: 93.81 kB / 0.5124 GB, free: 24.23 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002031/0.002031, allocations: 276.7 kB / 0.5939 GB, free: 7.953 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.265e-05/4.268e-05, allocations: 0 / 0.6834 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5349/0.5349, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.393/5.927, allocations: 2.151 GB / 2.915 GB, free: 173.1 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002159/5.928, allocations: 97.12 kB / 2.915 GB, free: 173 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1458/6.074, allocations: 75.37 MB / 2.989 GB, free: 97.09 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.475e-06/6.074, allocations: 0 / 2.989 GB, free: 97.09 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001481/6.074, allocations: 44 kB / 2.989 GB, free: 97.05 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.002948/6.077, allocations: 1.856 MB / 2.99 GB, free: 95.14 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/6.077, allocations: 8.031 kB / 2.99 GB, free: 95.13 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003359/6.077, allocations: 249 kB / 2.991 GB, free: 94.88 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003903/6.081, allocations: 1.895 MB / 2.993 GB, free: 92.92 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001356/6.081, allocations: 95 kB / 2.993 GB, free: 92.82 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001106/6.081, allocations: 72 kB / 2.993 GB, free: 92.75 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001087/6.082, allocations: 0.7105 MB / 2.993 GB, free: 92.02 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.402e-05/6.083, allocations: 0 / 2.993 GB, free: 92.02 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.122e-05/6.083, allocations: 35.98 kB / 2.993 GB, free: 91.99 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.384e-05/6.083, allocations: 16 kB / 2.993 GB, free: 91.97 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000813/6.083, allocations: 0.5439 MB / 2.994 GB, free: 91.43 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005057/6.088, allocations: 3.932 MB / 2.998 GB, free: 87.23 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001083/6.09, allocations: 0.6541 MB / 2.998 GB, free: 86.56 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005051/6.09, allocations: 378.3 kB / 2.999 GB, free: 86.19 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.799e-05/6.09, allocations: 8.562 kB / 2.999 GB, free: 86.18 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005462/6.091, allocations: 405.7 kB / 2.999 GB, free: 85.77 MB / 0.698 GB Notification: Performance of pre-optimization done (n=72): time 3.025e-06/6.091, allocations: 0 / 2.999 GB, free: 85.77 MB / 0.698 GB Notification: Performance of matching and sorting (n=72): time 0.001702/6.092, allocations: 1.034 MB / 3 GB, free: 84.72 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.39e-05/6.092, allocations: 64.14 kB / 3 GB, free: 84.65 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003926/6.096, allocations: 2.974 MB / 3.003 GB, free: 81.65 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.603e-05/6.096, allocations: 45.69 kB / 3.003 GB, free: 81.6 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005691/6.097, allocations: 0.9291 MB / 3.004 GB, free: 80.66 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001438/6.097, allocations: 228.8 kB / 3.004 GB, free: 80.44 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.362e-05/6.097, allocations: 16 kB / 3.004 GB, free: 80.42 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.503e-05/6.097, allocations: 341.9 kB / 3.005 GB, free: 80.08 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003631/6.098, allocations: 257.9 kB / 3.005 GB, free: 79.83 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004343/6.098, allocations: 416.9 kB / 3.005 GB, free: 79.37 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000433/6.099, allocations: 300.2 kB / 3.006 GB, free: 79.08 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/6.099, allocations: 0 / 3.006 GB, free: 79.08 MB / 0.698 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001681/6.1, allocations: 1.152 MB / 3.007 GB, free: 77.91 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/6.1, allocations: 8 kB / 3.007 GB, free: 77.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/6.1, allocations: 4 kB / 3.007 GB, free: 77.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006828/6.101, allocations: 282.2 kB / 3.007 GB, free: 77.62 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004732/6.102, allocations: 143.8 kB / 3.007 GB, free: 77.48 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003903/6.105, allocations: 4.617 MB / 3.012 GB, free: 72.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009081/6.106, allocations: 131.3 kB / 3.012 GB, free: 72.47 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.865e-05/6.106, allocations: 28 kB / 3.012 GB, free: 72.44 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: 30 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition7,$whenCondition6,$PRE.intGai.nextTimeEvent,$whenCondition5,$PRE.reference.nextTimeEvent,$whenCondition4,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition3,$PRE.outdoorTemp.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,tableSolRadWindow.nextTimeEvent,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,outdoorTemp.nextTimeEvent,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 73 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(3,100.0%) 19} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001718/6.107, allocations: 168.1 kB / 3.012 GB, free: 72.27 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000269/6.107, allocations: 221.3 kB / 3.012 GB, free: 72.05 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001985/6.109, allocations: 1.155 MB / 3.013 GB, free: 70.88 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.521e-06/6.109, allocations: 4 kB / 3.013 GB, free: 70.88 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/6.109, allocations: 4 kB / 3.013 GB, free: 70.87 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/6.109, allocations: 11.92 kB / 3.013 GB, free: 70.86 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004207/6.113, allocations: 2.837 MB / 3.016 GB, free: 67.96 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/6.113, allocations: 0 / 3.016 GB, free: 67.96 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003128/6.113, allocations: 79.89 kB / 3.016 GB, free: 67.88 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005878/6.114, allocations: 273.4 kB / 3.016 GB, free: 67.61 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.806e-05/6.114, allocations: 19.98 kB / 3.016 GB, free: 67.59 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003729/6.118, allocations: 4.611 MB / 3.021 GB, free: 62.7 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/6.118, allocations: 0 / 3.021 GB, free: 62.7 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002205/6.12, allocations: 1.547 MB / 3.022 GB, free: 61.13 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008984/6.121, allocations: 0.5021 MB / 3.023 GB, free: 60.61 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001813/6.121, allocations: 20 kB / 3.023 GB, free: 60.59 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005262/6.122, allocations: 63.95 kB / 3.023 GB, free: 60.52 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001844/6.122, allocations: 76.59 kB / 3.023 GB, free: 60.45 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.962e-05/6.122, allocations: 31.98 kB / 3.023 GB, free: 60.42 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002923/6.125, allocations: 2.365 MB / 3.025 GB, free: 58.04 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.8e-07/6.125, allocations: 0 / 3.025 GB, free: 58.04 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001476/6.126, allocations: 483.3 kB / 3.026 GB, free: 57.56 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: 19 ($whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,outdoorTemp.nextTimeEvent,outdoorTemp.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 11 (intGai.nextTimeEvent,reference.nextTimeEvent,tableSolRadWindow.nextTimeEvent,outdoorTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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 {(3,100.0%) 19,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001802/6.128, allocations: 0.9207 MB / 3.027 GB, free: 56.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00174/6.13, allocations: 1.007 MB / 3.028 GB, free: 55.76 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/6.13, allocations: 0 / 3.028 GB, free: 55.76 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008436/6.131, allocations: 0.6836 MB / 3.028 GB, free: 55.05 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001332/6.132, allocations: 267.8 kB / 3.029 GB, free: 54.79 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005188/6.137, allocations: 3.674 MB / 3.032 GB, free: 51.08 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009427/6.138, allocations: 1.598 MB / 3.034 GB, free: 49.45 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0006967/6.139, allocations: 254.2 kB / 3.034 GB, free: 49.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002739/6.139, allocations: 111.4 kB / 3.034 GB, free: 49.09 MB / 0.698 GB Notification: Performance of SimCode: time 1.292e-06/6.139, allocations: 0 / 3.034 GB, free: 49.09 MB / 0.698 GB Notification: Performance of Templates: time 0.03985/6.179, allocations: 27.01 MB / 3.061 GB, free: 22.12 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.makefile (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.sim & ./BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe 2>&1)