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 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.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.7222/0.7222, allocations: 140.1 MB / 156 MB, free: 5.16 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.0009303/0.0009305, allocations: 174.9 kB / 188.5 MB, free: 15.81 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.467/1.467, allocations: 205.4 MB / 426.3 MB, free: 8.367 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.0008278/0.0008278, allocations: 90.3 kB / 0.4945 GB, free: 8.316 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.00177/0.00177, allocations: 273.2 kB / 0.5728 GB, free: 66.2 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005621/0.0005624, allocations: 20 kB / 0.662 GB, free: 6.773 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.391/0.3916, allocations: 79.29 MB / 0.7395 GB, free: 46.35 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.852/5.244, allocations: 2.319 GB / 3.059 GB, free: 232.7 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002257/5.244, allocations: 98.38 kB / 3.059 GB, free: 232.6 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1415/5.386, allocations: 74.03 MB / 3.131 GB, free: 158 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.094e-06/5.386, allocations: 4 kB / 3.131 GB, free: 158 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002802/5.386, allocations: 40 kB / 3.131 GB, free: 158 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: 164 * Number of variables: 164 Notification: Performance of Generate backend data structure: time 0.004434/5.391, allocations: 2.183 MB / 3.133 GB, free: 155.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/5.391, allocations: 8.031 kB / 3.133 GB, free: 155.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005794/5.391, allocations: 246 kB / 3.134 GB, free: 155.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003115/5.394, allocations: 1.644 MB / 3.135 GB, free: 153.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001327/5.395, allocations: 95.5 kB / 3.135 GB, free: 153.6 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001728/5.395, allocations: 68.75 kB / 3.135 GB, free: 153.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001462/5.396, allocations: 0.7688 MB / 3.136 GB, free: 152.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.233e-05/5.396, allocations: 4 kB / 3.136 GB, free: 152.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.017e-05/5.396, allocations: 24 kB / 3.136 GB, free: 152.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.173e-05/5.396, allocations: 16 kB / 3.136 GB, free: 152.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00115/5.398, allocations: 0.6219 MB / 3.137 GB, free: 152.1 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005053/5.403, allocations: 3.741 MB / 3.141 GB, free: 148.1 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001469/5.404, allocations: 0.8089 MB / 3.141 GB, free: 147.3 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006306/5.405, allocations: 418.7 kB / 3.142 GB, free: 146.9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.683e-05/5.405, allocations: 12.55 kB / 3.142 GB, free: 146.9 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006511/5.405, allocations: 434.8 kB / 3.142 GB, free: 146.4 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=70): time 3.737e-06/5.406, allocations: 0 / 3.142 GB, free: 146.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=70): time 0.004056/5.41, allocations: 1.885 MB / 3.144 GB, free: 144.5 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.746e-05/5.41, allocations: 55.97 kB / 3.144 GB, free: 144.4 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005396/5.415, allocations: 3.276 MB / 3.147 GB, free: 141.1 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.523e-05/5.415, allocations: 45.69 kB / 3.147 GB, free: 141.1 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007139/5.416, allocations: 0.9252 MB / 3.148 GB, free: 140.2 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001896/5.416, allocations: 224.9 kB / 3.148 GB, free: 139.9 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.607e-05/5.416, allocations: 16 kB / 3.148 GB, free: 139.9 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.591e-05/5.416, allocations: 337.9 kB / 3.149 GB, free: 139.6 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005115/5.417, allocations: 281.8 kB / 3.149 GB, free: 139.3 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005539/5.417, allocations: 440.9 kB / 3.149 GB, free: 138.8 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001022/5.418, allocations: 0.7123 MB / 3.15 GB, free: 138.1 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.233e-06/5.418, allocations: 4 kB / 3.15 GB, free: 138.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.00212/5.42, allocations: 1.198 MB / 3.151 GB, free: 136.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.315e-05/5.42, allocations: 8 kB / 3.151 GB, free: 136.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/5.42, allocations: 4 kB / 3.151 GB, free: 136.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000721/5.421, allocations: 292.6 kB / 3.152 GB, free: 136.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004178/5.422, allocations: 127.8 kB / 3.152 GB, free: 136.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004111/5.426, allocations: 4.617 MB / 3.156 GB, free: 131.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008979/5.427, allocations: 115.2 kB / 3.156 GB, free: 131.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-05/5.427, allocations: 31.98 kB / 3.156 GB, free: 131.4 MB / 0.6823 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,mean.y,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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 70 * 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.001019/5.428, allocations: 0.6107 MB / 3.157 GB, free: 130.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004124/5.428, allocations: 225.3 kB / 3.157 GB, free: 130.6 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002206/5.43, allocations: 1.222 MB / 3.158 GB, free: 129.3 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/5.43, allocations: 11.94 kB / 3.158 GB, free: 129.3 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/5.43, allocations: 4 kB / 3.158 GB, free: 129.3 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.686e-06/5.43, allocations: 3.984 kB / 3.158 GB, free: 129.3 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00423/5.435, allocations: 2.762 MB / 3.161 GB, free: 126.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/5.435, allocations: 0 / 3.161 GB, free: 126.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002915/5.435, allocations: 83.83 kB / 3.161 GB, free: 126.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005909/5.436, allocations: 261.5 kB / 3.161 GB, free: 126.1 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.036e-05/5.436, allocations: 23.98 kB / 3.161 GB, free: 126.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003848/5.44, allocations: 4.629 MB / 3.166 GB, free: 121.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/5.44, allocations: 4 kB / 3.166 GB, free: 121.2 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002591/5.442, allocations: 1.656 MB / 3.168 GB, free: 119.5 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008141/5.443, allocations: 0.4981 MB / 3.168 GB, free: 119 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003176/5.443, allocations: 27.98 kB / 3.168 GB, free: 119 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006547/5.444, allocations: 63.95 kB / 3.168 GB, free: 118.9 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001745/5.444, allocations: 72.53 kB / 3.168 GB, free: 118.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.768e-05/5.444, allocations: 31.98 kB / 3.168 GB, free: 118.8 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.00326/5.448, allocations: 2.393 MB / 3.171 GB, free: 116.4 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2e-07/5.448, allocations: 4 kB / 3.171 GB, free: 116.4 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001551/5.449, allocations: 463.9 kB / 3.171 GB, free: 115.9 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,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) * Number of discrete states: 11 (intGai.nextTimeEvent,reference.nextTimeEvent,tableSolRadWindow.nextTimeEvent,outdoorTemp.nextTimeEvent,mean.x,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,reference.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 40 * 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.00166/5.451, allocations: 0.9913 MB / 3.172 GB, free: 115.1 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001947/5.453, allocations: 1.072 MB / 3.173 GB, free: 114 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/5.453, allocations: 0.75 kB / 3.173 GB, free: 114 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.00104/5.454, allocations: 0.7378 MB / 3.174 GB, free: 113.2 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001843/5.456, allocations: 271.2 kB / 3.174 GB, free: 113 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006831/5.462, allocations: 4.816 MB / 3.179 GB, free: 108.1 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001472/5.464, allocations: 1.556 MB / 3.18 GB, free: 106.5 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0007413/5.465, allocations: 262.2 kB / 3.181 GB, free: 106.3 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003552/5.465, allocations: 111.3 kB / 3.181 GB, free: 106.2 MB / 0.6823 GB Notification: Performance of SimCode: time 1.522e-06/5.465, allocations: 0 / 3.181 GB, free: 106.2 MB / 0.6823 GB Notification: Performance of Templates: time 0.04034/5.505, allocations: 25.15 MB / 3.205 GB, free: 81.06 MB / 0.6823 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)