Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.Overhang.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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) 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 Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.HeatTransfer.Windows.Examples.Overhang,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ove.fraSun|ove.HDirTilUns|ove.HDirTil",fileNamePrefix="Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.Overhang") translateModel(Buildings.HeatTransfer.Windows.Examples.Overhang,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ove.fraSun|ove.HDirTilUns|ove.HDirTil",fileNamePrefix="Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.Overhang") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.534/1.534, allocations: 249.5 MB / 257 MB, free: 6.957 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001114/0.001114, allocations: 184.8 kB / 316.3 MB, free: 3.305 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.017/2.017, allocations: 205.3 MB / 0.5671 GB, free: 15.88 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001055/0.001055, allocations: 96.47 kB / 0.6714 GB, free: 4.988 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.001e-05/2.002e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3399/0.3399, allocations: 106.3 MB / 0.8852 GB, free: 12.3 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.241/6.581, allocations: 2.198 GB / 3.083 GB, free: 209.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003482/6.582, allocations: 83.95 kB / 3.083 GB, free: 209.4 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1681/6.75, allocations: 78.43 MB / 3.16 GB, free: 130.6 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.164e-06/6.75, allocations: 0 / 3.16 GB, free: 130.6 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.176e-05/6.75, allocations: 31.94 kB / 3.16 GB, free: 130.6 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.002443/6.752, allocations: 1.333 MB / 3.161 GB, free: 129.2 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/6.753, allocations: 8.031 kB / 3.161 GB, free: 129.2 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07395/6.826, allocations: 14.26 MB / 3.175 GB, free: 114.9 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002619/6.829, allocations: 1.18 MB / 3.176 GB, free: 113.7 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002345/6.829, allocations: 139.3 kB / 3.176 GB, free: 113.5 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003727/6.83, allocations: 68 kB / 3.176 GB, free: 113.5 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006438/6.836, allocations: 4.494 MB / 3.181 GB, free: 109 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00414/6.84, allocations: 2.9 MB / 3.183 GB, free: 106 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.841e-05/6.84, allocations: 0 / 3.183 GB, free: 106 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002929/6.841, allocations: 7.953 kB / 3.183 GB, free: 106 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.73e-05/6.841, allocations: 31.94 kB / 3.183 GB, free: 106 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03909/6.88, allocations: 10.99 MB / 3.194 GB, free: 94.91 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004901/6.885, allocations: 2.682 MB / 3.197 GB, free: 92.21 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002143/6.887, allocations: 1.752 MB / 3.199 GB, free: 90.46 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004673/6.888, allocations: 0.6025 MB / 3.199 GB, free: 89.73 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002651/6.89, allocations: 2.232 MB / 3.201 GB, free: 87.48 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=103): time 3.517e-06/6.89, allocations: 0 / 3.201 GB, free: 87.48 MB / 0.8698 GB Notification: Performance of matching and sorting (n=103): time 0.007069/6.897, allocations: 3.362 MB / 3.205 GB, free: 84.11 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.195e-05/6.897, allocations: 248.6 kB / 3.205 GB, free: 83.81 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008387/6.898, allocations: 0.6013 MB / 3.205 GB, free: 83.2 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002843/6.899, allocations: 29.64 kB / 3.205 GB, free: 83.16 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003447/6.899, allocations: 488.2 kB / 3.206 GB, free: 82.68 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003915/6.899, allocations: 327.1 kB / 3.206 GB, free: 82.36 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002489/6.9, allocations: 3.938 kB / 3.206 GB, free: 82.35 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001007/6.9, allocations: 394.8 kB / 3.207 GB, free: 81.96 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002116/6.902, allocations: 1.775 MB / 3.208 GB, free: 80.18 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002195/6.904, allocations: 1.912 MB / 3.21 GB, free: 78.23 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003089/6.907, allocations: 1.369 MB / 3.212 GB, free: 76.87 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.531e-06/6.907, allocations: 0 / 3.212 GB, free: 76.87 MB / 0.8698 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.006672/6.914, allocations: 3.534 MB / 3.215 GB, free: 73.32 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.583e-05/6.914, allocations: 8 kB / 3.215 GB, free: 73.31 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/6.914, allocations: 8.016 kB / 3.215 GB, free: 73.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005676/6.914, allocations: 80.86 kB / 3.215 GB, free: 73.22 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01645/6.931, allocations: 3.335 MB / 3.218 GB, free: 69.88 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001643/6.933, allocations: 1.465 MB / 3.22 GB, free: 68.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01634/6.949, allocations: 3.101 MB / 3.223 GB, free: 65.19 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006604/6.95, allocations: 91.83 kB / 3.223 GB, free: 65.1 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 111 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0006018/6.95, allocations: 124.8 kB / 3.223 GB, free: 64.97 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000395/6.951, allocations: 94.88 kB / 3.223 GB, free: 64.88 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008347/6.959, allocations: 4.095 MB / 3.227 GB, free: 60.77 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-05/6.959, allocations: 12 kB / 3.227 GB, free: 60.75 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/6.959, allocations: 4 kB / 3.227 GB, free: 60.75 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.642e-05/6.959, allocations: 11.97 kB / 3.227 GB, free: 60.74 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01057/6.97, allocations: 6.631 MB / 3.234 GB, free: 54.05 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/6.97, allocations: 0 / 3.234 GB, free: 54.05 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01648/6.986, allocations: 3.339 MB / 3.237 GB, free: 50.71 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005067/6.987, allocations: 84.78 kB / 3.237 GB, free: 50.62 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004791/6.987, allocations: 71.83 kB / 3.237 GB, free: 50.55 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001436/6.989, allocations: 1.504 MB / 3.238 GB, free: 48.93 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/6.989, allocations: 0 / 3.238 GB, free: 48.93 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006996/6.996, allocations: 3.566 MB / 3.242 GB, free: 45.34 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001169/6.997, allocations: 0.7489 MB / 3.243 GB, free: 44.57 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003878/6.997, allocations: 4 kB / 3.243 GB, free: 44.57 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01653/7.014, allocations: 3.07 MB / 3.246 GB, free: 41.49 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003362/7.014, allocations: 89.17 kB / 3.246 GB, free: 41.41 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005331/7.015, allocations: 91.83 kB / 3.246 GB, free: 41.32 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.000747/7.016, allocations: 499.1 kB / 3.246 GB, free: 40.83 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.6e-07/7.016, allocations: 3.938 kB / 3.246 GB, free: 40.83 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002541/7.018, allocations: 0.6432 MB / 3.247 GB, free: 40.18 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (123): * Single equations (assignments): 120 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002206/7.02, allocations: 1.067 MB / 3.248 GB, free: 39.16 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.005219/7.026, allocations: 3.862 MB / 3.252 GB, free: 35.29 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/7.026, allocations: 8.125 kB / 3.252 GB, free: 35.28 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.002618/7.028, allocations: 2.025 MB / 3.254 GB, free: 33.25 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001471/7.03, allocations: 250.6 kB / 3.254 GB, free: 33.01 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005461/7.035, allocations: 3.09 MB / 3.257 GB, free: 29.89 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005279/7.036, allocations: 1.151 MB / 3.258 GB, free: 28.71 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.003633/7.039, allocations: 0.6831 MB / 3.259 GB, free: 28.02 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001455/7.041, allocations: 231.1 kB / 3.259 GB, free: 27.79 MB / 0.8698 GB Notification: Performance of SimCode: time 9.92e-07/7.041, allocations: 0 / 3.259 GB, free: 27.79 MB / 0.8698 GB Notification: Performance of Templates: time 0.582/7.623, allocations: 36.74 MB / 3.295 GB, free: 269.7 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.Overhang.makefile (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.Overhang.sim & ./Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.Overhang -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.Overhang_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_HeatTransfer_Windows_Examples_Overhang.csv","../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.Overhang.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches