Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.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.TestCase9,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9") translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.061/1.061, allocations: 141.8 MB / 149.3 MB, free: 9.207 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.001223/0.001223, allocations: 176.8 kB / 182.2 MB, free: 9.426 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.426/1.426, allocations: 221.5 MB / 436.4 MB, free: 13.26 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.001082/0.001082, allocations: 84.11 kB / 0.5074 GB, free: 10.09 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002045/0.002046, allocations: 278.5 kB / 0.5889 GB, free: 54.64 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.532e-05/1.516e-05, allocations: 4 kB / 0.6765 GB, free: 12.8 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4409/0.4409, allocations: 82.77 MB / 0.7574 GB, free: 31.99 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.718/6.159, allocations: 2.151 GB / 2.908 GB, free: 187.5 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003553/6.159, allocations: 98.81 kB / 2.908 GB, free: 187.4 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1746/6.334, allocations: 83.1 MB / 2.989 GB, free: 103.8 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.884e-06/6.334, allocations: 0 / 2.989 GB, free: 103.8 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0005138/6.335, allocations: 55.94 kB / 2.989 GB, free: 103.7 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: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.00686/6.341, allocations: 2.51 MB / 2.992 GB, free: 101.1 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.868e-05/6.342, allocations: 12.03 kB / 2.992 GB, free: 101.1 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001541/6.343, allocations: 351.7 kB / 2.992 GB, free: 100.8 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007496/6.351, allocations: 2.585 MB / 2.995 GB, free: 98.13 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002078/6.351, allocations: 87.69 kB / 2.995 GB, free: 98.04 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003907/6.351, allocations: 59.98 kB / 2.995 GB, free: 97.98 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00185/6.353, allocations: 0.7224 MB / 2.996 GB, free: 97.26 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001855/6.355, allocations: 0.8289 MB / 2.996 GB, free: 96.42 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.765e-05/6.355, allocations: 0 / 2.996 GB, free: 96.42 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.191e-05/6.355, allocations: 4 kB / 2.996 GB, free: 96.41 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.691e-05/6.355, allocations: 20 kB / 2.996 GB, free: 96.39 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009552/6.365, allocations: 4.713 MB / 3.001 GB, free: 91.42 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001435/6.366, allocations: 0.8877 MB / 3.002 GB, free: 90.52 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007238/6.367, allocations: 0.4893 MB / 3.002 GB, free: 90.03 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.636e-05/6.367, allocations: 16.77 kB / 3.002 GB, free: 90.02 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007685/6.368, allocations: 0.5333 MB / 3.003 GB, free: 89.46 MB / 0.698 GB Notification: Performance of pre-optimization done (n=104): time 5.04e-06/6.368, allocations: 0 / 3.003 GB, free: 89.46 MB / 0.698 GB Notification: Performance of matching and sorting (n=104): time 0.003041/6.371, allocations: 1.432 MB / 3.004 GB, free: 88.01 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.241e-05/6.371, allocations: 68.7 kB / 3.004 GB, free: 87.93 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009604/6.381, allocations: 4.309 MB / 3.009 GB, free: 83.63 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003148/6.381, allocations: 29.7 kB / 3.009 GB, free: 83.6 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001483/6.383, allocations: 1.364 MB / 3.01 GB, free: 82.23 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005399/6.383, allocations: 323.4 kB / 3.01 GB, free: 81.91 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.733e-05/6.383, allocations: 0 / 3.01 GB, free: 81.91 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001299/6.383, allocations: 345.9 kB / 3.011 GB, free: 81.56 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006471/6.384, allocations: 350.5 kB / 3.011 GB, free: 81.22 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007238/6.385, allocations: 0.5142 MB / 3.011 GB, free: 80.65 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007297/6.386, allocations: 424.3 kB / 3.012 GB, free: 80.24 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.055e-05/6.386, allocations: 0 / 3.012 GB, free: 80.24 MB / 0.698 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.003277/6.389, allocations: 1.499 MB / 3.013 GB, free: 78.72 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.737e-05/6.389, allocations: 4 kB / 3.013 GB, free: 78.72 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.447e-05/6.389, allocations: 4 kB / 3.013 GB, free: 78.71 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009126/6.39, allocations: 332.2 kB / 3.014 GB, free: 78.39 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007206/6.391, allocations: 195.6 kB / 3.014 GB, free: 78.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004942/6.395, allocations: 4.814 MB / 3.018 GB, free: 73.15 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001745/6.397, allocations: 131.2 kB / 3.019 GB, free: 73.02 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001372/6.397, allocations: 36 kB / 3.019 GB, free: 72.99 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 41 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition9,$whenCondition8,$PRE.intGai.nextTimeEvent,$whenCondition7,$PRE.reference.nextTimeEvent,$whenCondition6,$PRE.outdoorTemp.nextTimeEvent,$whenCondition5,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition4,$PRE.tableSolRadWall.nextTimeEvent,$whenCondition3,$PRE.HSky.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,outdoorTemp.nextTimeEvent,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,greaterThreshold2.y,tableSolRadWall.nextTimeEvent,$PRE.tableSolRadWall.nextTimeEventScaled,tableSolRadWall.nextTimeEventScaled,HSky.nextTimeEvent,$PRE.HSky.nextTimeEventScaled,HSky.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 102 * 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,(2,100.0%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002841/6.398, allocations: 146.2 kB / 3.019 GB, free: 72.84 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001138/6.399, allocations: 320.1 kB / 3.019 GB, free: 72.52 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003372/6.402, allocations: 1.6 MB / 3.021 GB, free: 70.9 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-05/6.402, allocations: 11.98 kB / 3.021 GB, free: 70.89 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.485e-05/6.402, allocations: 8 kB / 3.021 GB, free: 70.88 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.256e-05/6.402, allocations: 3.984 kB / 3.021 GB, free: 70.88 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008485/6.411, allocations: 3.885 MB / 3.024 GB, free: 66.95 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.082e-06/6.411, allocations: 0 / 3.024 GB, free: 66.95 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005169/6.411, allocations: 123.8 kB / 3.025 GB, free: 66.82 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007967/6.412, allocations: 325.7 kB / 3.025 GB, free: 66.5 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-05/6.412, allocations: 11.98 kB / 3.025 GB, free: 66.49 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005045/6.417, allocations: 4.795 MB / 3.03 GB, free: 61.46 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.965e-06/6.417, allocations: 3.938 kB / 3.03 GB, free: 61.46 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004967/6.422, allocations: 2.163 MB / 3.032 GB, free: 59.27 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00234/6.425, allocations: 0.7039 MB / 3.032 GB, free: 58.54 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001242/6.426, allocations: 19.94 kB / 3.032 GB, free: 58.52 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001773/6.428, allocations: 75.78 kB / 3.032 GB, free: 58.45 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003638/6.428, allocations: 105.1 kB / 3.033 GB, free: 58.34 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.881e-05/6.428, allocations: 43.98 kB / 3.033 GB, free: 58.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.006619/6.435, allocations: 3.389 MB / 3.036 GB, free: 54.93 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.91e-07/6.435, allocations: 0 / 3.036 GB, free: 54.93 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003047/6.438, allocations: 0.5968 MB / 3.036 GB, free: 54.33 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: 26 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,outdoorTemp.nextTimeEvent,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,greaterThreshold2.y,tableSolRadWall.nextTimeEvent,tableSolRadWall.nextTimeEventScaled,HSky.nextTimeEvent,HSky.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 15 (intGai.nextTimeEvent,reference.nextTimeEvent,outdoorTemp.nextTimeEvent,tableSolRadWindow.nextTimeEvent,tableSolRadWall.nextTimeEvent,HSky.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,HSky.nextTimeEventScaled,tableSolRadWall.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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%) 25,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002102/6.44, allocations: 0.9899 MB / 3.037 GB, free: 53.43 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002408/6.443, allocations: 1.254 MB / 3.039 GB, free: 52.16 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/6.443, allocations: 8.062 kB / 3.039 GB, free: 52.15 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001393/6.444, allocations: 0.82 MB / 3.039 GB, free: 51.31 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002804/6.447, allocations: 331.3 kB / 3.04 GB, free: 50.99 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01099/6.458, allocations: 5.321 MB / 3.045 GB, free: 45.63 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00285/6.461, allocations: 2.027 MB / 3.047 GB, free: 43.57 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001489/6.462, allocations: 391.9 kB / 3.047 GB, free: 43.18 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008649/6.463, allocations: 159.3 kB / 3.048 GB, free: 43.03 MB / 0.698 GB Notification: Performance of SimCode: time 1.353e-06/6.463, allocations: 0 / 3.048 GB, free: 43.03 MB / 0.698 GB Notification: Performance of Templates: time 0.05057/6.514, allocations: 25.28 MB / 3.072 GB, free: 17.84 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.makefile (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.sim & ./BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.pipe 2>&1)