Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase12.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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.TestCase12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase12") translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7589/0.7589, allocations: 140.1 MB / 156 MB, free: 5.18 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001065/0.001065, allocations: 173.2 kB / 188.5 MB, free: 15.83 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.462/1.462, allocations: 205.4 MB / 426.3 MB, free: 8.469 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007281/0.0007281, allocations: 93.52 kB / 0.4945 GB, free: 8.402 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001587/0.001587, allocations: 265.5 kB / 0.5728 GB, free: 66.23 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006871/0.000687, allocations: 23.98 kB / 0.662 GB, free: 6.805 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3748/0.3756, allocations: 79.29 MB / 0.7395 GB, free: 46.37 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.51/4.886, allocations: 2.321 GB / 3.06 GB, free: 231 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002634/4.886, allocations: 103.8 kB / 3.06 GB, free: 230.9 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.3671/5.253, allocations: 188.5 MB / 3.245 GB, free: 40.51 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.074e-06/5.253, allocations: 0 / 3.245 GB, free: 40.51 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0004266/5.254, allocations: 55.98 kB / 3.245 GB, free: 40.45 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.006918/5.261, allocations: 2.725 MB / 3.247 GB, free: 37.65 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/5.261, allocations: 12.03 kB / 3.247 GB, free: 37.64 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001156/5.262, allocations: 305.2 kB / 3.248 GB, free: 37.34 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004949/5.267, allocations: 2.181 MB / 3.25 GB, free: 35.09 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001763/5.267, allocations: 116.2 kB / 3.25 GB, free: 34.97 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002666/5.267, allocations: 92.38 kB / 3.25 GB, free: 34.88 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002173/5.27, allocations: 1.077 MB / 3.251 GB, free: 33.79 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.779e-05/5.27, allocations: 0 / 3.251 GB, free: 33.79 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001143/5.27, allocations: 40 kB / 3.251 GB, free: 33.75 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.973e-05/5.27, allocations: 20 kB / 3.251 GB, free: 33.73 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001791/5.272, allocations: 0.8393 MB / 3.252 GB, free: 32.89 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008533/5.28, allocations: 4.648 MB / 3.256 GB, free: 28.01 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001783/5.282, allocations: 0.9965 MB / 3.257 GB, free: 27.01 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007767/5.283, allocations: 0.4957 MB / 3.258 GB, free: 26.51 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003524/5.283, allocations: 0.4996 MB / 3.258 GB, free: 25.9 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008441/5.284, allocations: 0.5437 MB / 3.259 GB, free: 25.35 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=92): time 3.837e-06/5.284, allocations: 0 / 3.259 GB, free: 25.35 MB / 0.6823 GB Notification: Performance of matching and sorting (n=92): time 0.004283/5.288, allocations: 2.146 MB / 3.261 GB, free: 23.12 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.163e-05/5.288, allocations: 68.41 kB / 3.261 GB, free: 23.05 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006171/5.295, allocations: 3.798 MB / 3.265 GB, free: 19.23 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.452e-05/5.295, allocations: 45.7 kB / 3.265 GB, free: 19.18 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009039/5.296, allocations: 1.158 MB / 3.266 GB, free: 18.01 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002375/5.296, allocations: 307.8 kB / 3.266 GB, free: 17.71 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.323e-05/5.296, allocations: 20 kB / 3.266 GB, free: 17.69 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.321e-05/5.296, allocations: 341.9 kB / 3.267 GB, free: 17.35 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006289/5.297, allocations: 361.7 kB / 3.267 GB, free: 16.99 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007344/5.297, allocations: 0.5328 MB / 3.267 GB, free: 16.39 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001418/5.299, allocations: 0.9188 MB / 3.268 GB, free: 15.42 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.016e-05/5.299, allocations: 7.938 kB / 3.268 GB, free: 15.41 MB / 0.6823 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.00287/5.302, allocations: 1.407 MB / 3.27 GB, free: 13.98 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.81e-05/5.302, allocations: 11.98 kB / 3.27 GB, free: 13.97 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.961e-05/5.302, allocations: 4.25 kB / 3.27 GB, free: 13.97 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006631/5.302, allocations: 222.3 kB / 3.27 GB, free: 13.75 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006739/5.303, allocations: 183.7 kB / 3.27 GB, free: 13.57 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004153/5.307, allocations: 4.254 MB / 3.274 GB, free: 9.039 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00133/5.309, allocations: 143.1 kB / 3.274 GB, free: 8.898 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001095/5.309, allocations: 43.98 kB / 3.274 GB, free: 8.855 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 35 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition8,$whenCondition7,$PRE.intGai.nextTimeEvent,$whenCondition6,$PRE.reference.nextTimeEvent,$whenCondition5,$PRE.outdoorTemp.nextTimeEvent,$whenCondition4,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition3,$PRE.ventRate.nextTimeEvent,$whenCondition1,$whenCondition2,reference.nextTimeEvent,$PRE.reference.nextTimeEventScaled,reference.nextTimeEventScaled,$PRE.assEqu.satisfied,assEqu.satisfied,$PRE.mean.y,mean.y,intGai.nextTimeEvent,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEventScaled,outdoorTemp.nextTimeEvent,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,ventRate.nextTimeEvent,$PRE.ventRate.nextTimeEventScaled,ventRate.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (106): * Single equations (assignments): 104 * 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 {(2,100.0%) 15,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00125/5.31, allocations: 0.72 MB / 3.275 GB, free: 8.129 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006042/5.311, allocations: 268.7 kB / 3.275 GB, free: 7.863 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00256/5.313, allocations: 1.491 MB / 3.277 GB, free: 6.352 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.255e-05/5.313, allocations: 8 kB / 3.277 GB, free: 6.344 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.228e-06/5.313, allocations: 4 kB / 3.277 GB, free: 6.34 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001741/5.315, allocations: 1.356 MB / 3.278 GB, free: 4.906 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005375/5.32, allocations: 3.553 MB / 3.282 GB, free: 1.273 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.565e-06/5.32, allocations: 4 kB / 3.282 GB, free: 1.27 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004651/5.321, allocations: 127.9 kB / 3.282 GB, free: 1.145 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006717/5.322, allocations: 260.1 kB / 3.282 GB, free: 0.8828 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.798e-05/5.322, allocations: 23.98 kB / 3.282 GB, free: 0.8594 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3803/5.702, allocations: 4.793 MB / 3.287 GB, free: 158.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/5.702, allocations: 1.219 kB / 3.287 GB, free: 158.4 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005341/5.707, allocations: 2.032 MB / 3.289 GB, free: 158.2 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001607/5.709, allocations: 0.5965 MB / 3.289 GB, free: 158 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002871/5.709, allocations: 37.05 kB / 3.289 GB, free: 158 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008117/5.71, allocations: 86.59 kB / 3.289 GB, free: 158 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003388/5.71, allocations: 89.5 kB / 3.29 GB, free: 158 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.365e-05/5.711, allocations: 39.44 kB / 3.29 GB, free: 158 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.00517/5.716, allocations: 2.765 MB / 3.292 GB, free: 157.9 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.7e-07/5.716, allocations: 0 / 3.292 GB, free: 157.9 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002948/5.719, allocations: 0.6242 MB / 3.293 GB, free: 157.8 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (thermalZoneTwoElements.volAir.dynBal.U,thermalZoneTwoElements.volAir.dynBal.m,thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,mean.x) * Number of discrete variables: 22 ($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,ventRate.nextTimeEvent,ventRate.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y) * Number of discrete states: 13 (intGai.nextTimeEvent,reference.nextTimeEvent,outdoorTemp.nextTimeEvent,tableSolRadWindow.nextTimeEvent,ventRate.nextTimeEvent,mean.x,ventRate.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,reference.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 12 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 15,(1,100.0%) 3} * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002634/5.721, allocations: 1.193 MB / 3.294 GB, free: 157.7 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002453/5.724, allocations: 1.247 MB / 3.295 GB, free: 157.4 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/5.724, allocations: 0 / 3.295 GB, free: 157.4 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001228/5.725, allocations: 0.8276 MB / 3.296 GB, free: 157.2 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002868/5.728, allocations: 481.5 kB / 3.297 GB, free: 157.2 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009274/5.737, allocations: 6.148 MB / 3.303 GB, free: 155.2 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002228/5.74, allocations: 1.764 MB / 3.304 GB, free: 154.4 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001319/5.741, allocations: 353.6 kB / 3.305 GB, free: 154.4 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005423/5.741, allocations: 142.8 kB / 3.305 GB, free: 154.4 MB / 0.6823 GB Notification: Performance of SimCode: time 1.192e-06/5.741, allocations: 0 / 3.305 GB, free: 154.4 MB / 0.6823 GB Notification: Performance of Templates: time 0.06508/5.807, allocations: 33.14 MB / 3.337 GB, free: 152.9 MB / 0.6823 GB make -j1 -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase12.makefile (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase12.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase12.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase12.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase12.sim & ./BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase12 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase12.pipe 2>&1)