Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.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.TestCase8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8") translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9274/0.9274, allocations: 141.8 MB / 149.3 MB, free: 9.246 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.001077/0.001077, allocations: 172.9 kB / 182.2 MB, free: 9.473 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.456/1.456, allocations: 221.5 MB / 436.4 MB, free: 13.29 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.0008012/0.0008011, allocations: 92.11 kB / 0.5074 GB, free: 10.11 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00173/0.00173, allocations: 281.4 kB / 0.5889 GB, free: 54.65 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.504e-05/1.506e-05, allocations: 0 / 0.6765 GB, free: 12.81 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3879/0.3879, allocations: 82.77 MB / 0.7574 GB, free: 32.02 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.901/5.289, allocations: 2.15 GB / 2.908 GB, free: 134 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002995/5.29, allocations: 102.1 kB / 2.908 GB, free: 133.9 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1636/5.453, allocations: 79.98 MB / 2.986 GB, free: 62.07 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.543e-06/5.453, allocations: 0 / 2.986 GB, free: 62.07 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.000234/5.453, allocations: 55.88 kB / 2.986 GB, free: 62.02 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: 205 * Number of variables: 205 Notification: Performance of Generate backend data structure: time 0.004779/5.458, allocations: 2.294 MB / 2.988 GB, free: 59.66 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.066e-05/5.458, allocations: 8.031 kB / 2.988 GB, free: 59.65 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007008/5.459, allocations: 320.1 kB / 2.989 GB, free: 59.34 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004734/5.464, allocations: 2.428 MB / 2.991 GB, free: 56.85 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000128/5.464, allocations: 87.67 kB / 2.991 GB, free: 56.76 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001135/5.464, allocations: 52 kB / 2.991 GB, free: 56.71 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001082/5.465, allocations: 0.6872 MB / 2.992 GB, free: 56.02 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001161/5.466, allocations: 0.7821 MB / 2.993 GB, free: 55.23 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.291e-05/5.466, allocations: 0 / 2.993 GB, free: 55.23 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.707e-05/5.466, allocations: 4 kB / 2.993 GB, free: 55.22 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.39e-05/5.466, allocations: 20 kB / 2.993 GB, free: 55.2 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005845/5.472, allocations: 4.516 MB / 2.997 GB, free: 50.41 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001188/5.473, allocations: 0.8504 MB / 2.998 GB, free: 49.55 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006188/5.474, allocations: 468.6 kB / 2.998 GB, free: 49.09 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.003e-05/5.474, allocations: 12.78 kB / 2.998 GB, free: 49.08 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006655/5.475, allocations: 0.4896 MB / 2.999 GB, free: 48.58 MB / 0.698 GB Notification: Performance of pre-optimization done (n=94): time 4.218e-06/5.475, allocations: 3.984 kB / 2.999 GB, free: 48.57 MB / 0.698 GB Notification: Performance of matching and sorting (n=94): time 0.002228/5.477, allocations: 1.315 MB / 3 GB, free: 47.24 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.637e-05/5.477, allocations: 64.17 kB / 3 GB, free: 47.16 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005171/5.482, allocations: 3.75 MB / 3.004 GB, free: 43.41 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.729e-05/5.482, allocations: 37.69 kB / 3.004 GB, free: 43.36 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007295/5.483, allocations: 1.163 MB / 3.005 GB, free: 42.19 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001967/5.483, allocations: 287.8 kB / 3.005 GB, free: 41.91 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.313e-05/5.483, allocations: 0 / 3.005 GB, free: 41.91 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.475e-05/5.484, allocations: 341.9 kB / 3.006 GB, free: 41.57 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004324/5.484, allocations: 326.5 kB / 3.006 GB, free: 41.25 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004991/5.484, allocations: 489.7 kB / 3.006 GB, free: 40.71 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005154/5.485, allocations: 385 kB / 3.007 GB, free: 40.34 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/5.485, allocations: 3.938 kB / 3.007 GB, free: 40.33 MB / 0.698 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002077/5.487, allocations: 1.39 MB / 3.008 GB, free: 38.93 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/5.487, allocations: 4 kB / 3.008 GB, free: 38.93 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/5.487, allocations: 7.938 kB / 3.008 GB, free: 38.92 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008073/5.488, allocations: 332.1 kB / 3.008 GB, free: 38.59 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006216/5.489, allocations: 163.8 kB / 3.009 GB, free: 38.43 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004183/5.493, allocations: 4.807 MB / 3.013 GB, free: 33.39 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001045/5.494, allocations: 127.2 kB / 3.013 GB, free: 33.27 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.551e-05/5.494, allocations: 35.98 kB / 3.013 GB, free: 33.23 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: 36 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition8,$whenCondition7,$PRE.intGai.nextTimeEvent,$whenCondition6,$PRE.reference.nextTimeEvent,$whenCondition5,$PRE.outdoorTemp1.nextTimeEvent,$whenCondition4,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition3,$PRE.tableSolRadWall.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,outdoorTemp1.nextTimeEvent,$PRE.outdoorTemp1.nextTimeEventScaled,outdoorTemp1.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,greaterThreshold2.y,tableSolRadWall.nextTimeEvent,$PRE.tableSolRadWall.nextTimeEventScaled,tableSolRadWall.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 90 * 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.0001987/5.494, allocations: 142.7 kB / 3.014 GB, free: 33.09 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003249/5.494, allocations: 284.5 kB / 3.014 GB, free: 32.81 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002528/5.497, allocations: 1.483 MB / 3.015 GB, free: 31.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/5.497, allocations: 11.98 kB / 3.015 GB, free: 31.29 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/5.497, allocations: 4 kB / 3.015 GB, free: 31.29 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.049e-05/5.497, allocations: 7.984 kB / 3.015 GB, free: 31.28 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005039/5.502, allocations: 3.53 MB / 3.019 GB, free: 27.69 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/5.502, allocations: 0 / 3.019 GB, free: 27.69 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004534/5.503, allocations: 107.9 kB / 3.019 GB, free: 27.59 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007571/5.503, allocations: 325.7 kB / 3.019 GB, free: 27.26 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.82e-05/5.503, allocations: 15.98 kB / 3.019 GB, free: 27.25 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004043/5.507, allocations: 4.786 MB / 3.024 GB, free: 22.23 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/5.507, allocations: 4.062 kB / 3.024 GB, free: 22.23 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002912/5.51, allocations: 2.009 MB / 3.026 GB, free: 20.19 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009737/5.511, allocations: 0.6262 MB / 3.026 GB, free: 19.54 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000279/5.512, allocations: 16 kB / 3.026 GB, free: 19.52 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006715/5.512, allocations: 67.94 kB / 3.026 GB, free: 19.46 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001847/5.513, allocations: 97.09 kB / 3.027 GB, free: 19.36 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.894e-05/5.513, allocations: 39.92 kB / 3.027 GB, free: 19.32 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.003673/5.516, allocations: 2.949 MB / 3.029 GB, free: 16.38 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.51e-07/5.516, allocations: 0 / 3.029 GB, free: 16.38 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0016/5.518, allocations: 0.5422 MB / 3.03 GB, free: 15.84 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: 23 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,outdoorTemp1.nextTimeEvent,outdoorTemp1.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,greaterThreshold2.y,tableSolRadWall.nextTimeEvent,tableSolRadWall.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 13 (intGai.nextTimeEvent,reference.nextTimeEvent,outdoorTemp1.nextTimeEvent,tableSolRadWindow.nextTimeEvent,tableSolRadWall.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,tableSolRadWall.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,outdoorTemp1.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * 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.001644/5.52, allocations: 0.9771 MB / 3.031 GB, free: 14.95 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001858/5.521, allocations: 1.195 MB / 3.032 GB, free: 13.73 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/5.521, allocations: 3.938 kB / 3.032 GB, free: 13.73 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001023/5.522, allocations: 0.7817 MB / 3.033 GB, free: 12.93 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001537/5.524, allocations: 295 kB / 3.033 GB, free: 12.64 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007405/5.531, allocations: 4.749 MB / 3.038 GB, free: 7.852 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001783/5.533, allocations: 1.88 MB / 3.04 GB, free: 5.941 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0008782/5.534, allocations: 347.2 kB / 3.04 GB, free: 5.598 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005377/5.535, allocations: 135.3 kB / 3.04 GB, free: 5.469 MB / 0.698 GB Notification: Performance of SimCode: time 6.31e-07/5.535, allocations: 4 kB / 3.04 GB, free: 5.465 MB / 0.698 GB Notification: Performance of Templates: time 0.4021/5.937, allocations: 23.37 MB / 3.063 GB, free: 205.4 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.makefile (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.sim & ./BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.pipe 2>&1)