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 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.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.8899/0.8899, allocations: 141.8 MB / 149.3 MB, free: 9.219 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.001148/0.001148, allocations: 179.8 kB / 182.2 MB, free: 9.445 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.481/1.481, allocations: 221.5 MB / 436.4 MB, free: 13.32 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.001128/0.001128, allocations: 80.12 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001997/0.001997, allocations: 280 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.616e-05/1.618e-05, allocations: 8 kB / 0.6765 GB, free: 12.81 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4116/0.4116, allocations: 82.77 MB / 0.7574 GB, free: 32 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.407/4.819, allocations: 2.151 GB / 2.909 GB, free: 187.2 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002178/4.819, allocations: 95.81 kB / 2.909 GB, free: 187.1 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.7044/5.524, allocations: 189.1 MB / 3.094 GB, free: 172.6 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.183e-06/5.524, allocations: 0 / 3.094 GB, free: 172.6 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002209/5.524, allocations: 64.81 kB / 3.094 GB, free: 172.6 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: 237 * Number of variables: 237 Notification: Performance of Generate backend data structure: time 0.004681/5.529, allocations: 2.298 MB / 3.096 GB, free: 171.7 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/5.529, allocations: 10.03 kB / 3.096 GB, free: 171.7 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008185/5.529, allocations: 307.1 kB / 3.096 GB, free: 171.5 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005411/5.535, allocations: 2.438 MB / 3.099 GB, free: 171.1 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001488/5.535, allocations: 84.05 kB / 3.099 GB, free: 171.1 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001435/5.535, allocations: 66.31 kB / 3.099 GB, free: 171.1 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001246/5.537, allocations: 0.7114 MB / 3.099 GB, free: 171.1 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001439/5.538, allocations: 0.8849 MB / 3.1 GB, free: 171 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.891e-05/5.538, allocations: 0 / 3.1 GB, free: 171 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.286e-05/5.538, allocations: 5 kB / 3.1 GB, free: 171 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.47e-05/5.538, allocations: 24.72 kB / 3.1 GB, free: 171 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0068/5.545, allocations: 4.595 MB / 3.105 GB, free: 169.5 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001527/5.546, allocations: 0.7958 MB / 3.106 GB, free: 169.5 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006975/5.547, allocations: 444.2 kB / 3.106 GB, free: 169.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003254/5.548, allocations: 0.5092 MB / 3.106 GB, free: 168.9 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006687/5.548, allocations: 473 kB / 3.107 GB, free: 168.9 MB / 0.698 GB Notification: Performance of pre-optimization done (n=94): time 3.477e-06/5.548, allocations: 0 / 3.107 GB, free: 168.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=94): time 0.002252/5.55, allocations: 1.163 MB / 3.108 GB, free: 168.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.306e-05/5.551, allocations: 65.39 kB / 3.108 GB, free: 168.6 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005762/5.556, allocations: 3.3 MB / 3.111 GB, free: 168.4 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001789/5.557, allocations: 38.95 kB / 3.111 GB, free: 168.3 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008149/5.557, allocations: 1.145 MB / 3.113 GB, free: 168.1 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002697/5.558, allocations: 297.1 kB / 3.113 GB, free: 167.9 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.596e-05/5.558, allocations: 0 / 3.113 GB, free: 167.9 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.931e-05/5.558, allocations: 347 kB / 3.113 GB, free: 167.6 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000464/5.558, allocations: 311.1 kB / 3.113 GB, free: 167.6 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005022/5.559, allocations: 491.8 kB / 3.114 GB, free: 167.4 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006775/5.559, allocations: 380.3 kB / 3.114 GB, free: 167.4 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/5.559, allocations: 2.406 kB / 3.114 GB, free: 167.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.002188/5.562, allocations: 1.26 MB / 3.115 GB, free: 167.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/5.562, allocations: 8.188 kB / 3.116 GB, free: 167.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/5.562, allocations: 6.703 kB / 3.116 GB, free: 167.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005559/5.562, allocations: 213.7 kB / 3.116 GB, free: 167.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007255/5.563, allocations: 205.4 kB / 3.116 GB, free: 167.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003339/5.566, allocations: 4.082 MB / 3.12 GB, free: 164.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001265/5.568, allocations: 130.4 kB / 3.12 GB, free: 164.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.968e-05/5.568, allocations: 42.77 kB / 3.12 GB, free: 164.5 MB / 0.698 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_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,ventRate.nextTimeEvent,$PRE.ventRate.nextTimeEventScaled,ventRate.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 107 * 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.0002118/5.568, allocations: 144.7 kB / 3.12 GB, free: 164.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000373/5.568, allocations: 271.9 kB / 3.12 GB, free: 164.3 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002436/5.571, allocations: 1.33 MB / 3.122 GB, free: 164.2 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.128e-05/5.571, allocations: 11.25 kB / 3.122 GB, free: 164.2 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/5.571, allocations: 3.312 kB / 3.122 GB, free: 164.2 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001571/5.572, allocations: 1.228 MB / 3.123 GB, free: 163.7 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005375/5.578, allocations: 3.342 MB / 3.126 GB, free: 163.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/5.578, allocations: 0 / 3.126 GB, free: 163.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005346/5.578, allocations: 128.6 kB / 3.126 GB, free: 163.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006239/5.579, allocations: 243.2 kB / 3.127 GB, free: 163.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.468e-05/5.579, allocations: 16.03 kB / 3.127 GB, free: 163.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003481/5.583, allocations: 4.642 MB / 3.131 GB, free: 160.2 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/5.583, allocations: 0 / 3.131 GB, free: 160.2 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002818/5.585, allocations: 1.89 MB / 3.133 GB, free: 159.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001003/5.586, allocations: 0.5945 MB / 3.134 GB, free: 159.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000283/5.587, allocations: 22.03 kB / 3.134 GB, free: 159.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000761/5.587, allocations: 78.06 kB / 3.134 GB, free: 159.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001778/5.588, allocations: 97.66 kB / 3.134 GB, free: 159.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.731e-05/5.588, allocations: 34.91 kB / 3.134 GB, free: 159.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.003038/5.591, allocations: 2.589 MB / 3.136 GB, free: 159.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.6e-07/5.591, allocations: 2.938 kB / 3.136 GB, free: 159.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001878/5.593, allocations: 0.6058 MB / 3.137 GB, free: 159.3 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (thermalZoneTwoElements.volAir.dynBal.U,thermalZoneTwoElements.volAir.dynBal.m,thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,assEqu.diff,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_last) * Number of discrete states: 13 (intGai.nextTimeEvent,reference.nextTimeEvent,outdoorTemp.nextTimeEvent,tableSolRadWindow.nextTimeEvent,ventRate.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,ventRate.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 65 * 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.001801/5.594, allocations: 1.201 MB / 3.138 GB, free: 159.1 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001612/5.596, allocations: 1.111 MB / 3.139 GB, free: 158.9 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/5.596, allocations: 3.5 kB / 3.139 GB, free: 158.9 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009389/5.597, allocations: 0.7478 MB / 3.14 GB, free: 158.7 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002517/5.6, allocations: 445.1 kB / 3.14 GB, free: 158.6 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006311/5.606, allocations: 4.491 MB / 3.145 GB, free: 157.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001133/5.607, allocations: 1.823 MB / 3.146 GB, free: 157 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001014/5.608, allocations: 348.8 kB / 3.147 GB, free: 157 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004436/5.609, allocations: 146.6 kB / 3.147 GB, free: 157 MB / 0.698 GB Notification: Performance of SimCode: time 6.71e-07/5.609, allocations: 3.188 kB / 3.147 GB, free: 157 MB / 0.698 GB Notification: Performance of Templates: time 0.04362/5.652, allocations: 26.82 MB / 3.173 GB, free: 155.4 MB / 0.698 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)