Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang.conf.json 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/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/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_latest_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_latest_Buildings.HeatTransfer.Windows.Examples.Overhang") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001449/0.001449, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001783/0.001783, allocations: 191.7 kB / 16.13 MB, free: 6.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.422/1.422, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.841/2.841, allocations: 461.9 MB / 0.7342 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 65.64 kB / 0.8984 GB, free: 37.22 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3065/0.3078, allocations: 157.4 MB / 1.052 GB, free: 8.906 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.Overhang): time 0.007873/0.3157, allocations: 6.561 MB / 1.058 GB, free: 2.316 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1576/0.4734, allocations: 149.7 MB / 1.205 GB, free: 12.03 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009932/0.4745, allocations: 19.88 kB / 1.205 GB, free: 12.01 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006412/0.4751, allocations: 182.5 kB / 1.205 GB, free: 11.83 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001786/0.4769, allocations: 0.616 MB / 1.205 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002022/0.479, allocations: 0.9164 MB / 1.206 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001828/0.4808, allocations: 2.024 MB / 1.208 GB, free: 8.27 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00113/0.4819, allocations: 0.902 MB / 1.209 GB, free: 7.328 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007463/0.4827, allocations: 0.6732 MB / 1.21 GB, free: 6.652 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008135/0.4835, allocations: 0.7936 MB / 1.211 GB, free: 5.855 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001867/0.4837, allocations: 104 kB / 1.211 GB, free: 5.754 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00105/0.4848, allocations: 0.5697 MB / 1.211 GB, free: 5.184 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003328/0.4851, allocations: 386.6 kB / 1.212 GB, free: 4.805 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0006722/0.4858, allocations: 0.8044 MB / 1.212 GB, free: 3.996 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.00213/0.4879, allocations: 2.481 MB / 1.215 GB, free: 1.508 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.488, allocations: 0 / 1.215 GB, free: 1.508 MB / 0.9669 GB Notification: Performance of FrontEnd: time 8.92e-07/0.488, allocations: 0 / 1.215 GB, free: 1.508 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.815e-05/0.488, allocations: 0 / 1.215 GB, free: 1.508 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 350 * Number of variables: 350 Notification: Performance of Generate backend data structure: time 0.003693/0.4917, allocations: 1.967 MB / 1.217 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/0.4917, allocations: 8.031 kB / 1.217 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1146/0.6064, allocations: 15.39 MB / 1.232 GB, free: 60 kB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002648/0.6091, allocations: 1.379 MB / 1.233 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.383e-05/0.6092, allocations: 106.8 kB / 1.233 GB, free: 14.53 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004696/0.6097, allocations: 143.9 kB / 1.233 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03759/0.6473, allocations: 8.045 MB / 1.241 GB, free: 6.277 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.169e-05/0.6473, allocations: 0 / 1.241 GB, free: 6.277 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003693/0.6477, allocations: 56 kB / 1.241 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.02e-05/0.6478, allocations: 35.98 kB / 1.241 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6587/1.306, allocations: 14.14 MB / 1.255 GB, free: 192.4 MB / 0.9981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04713/1.354, allocations: 11.52 MB / 1.266 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04174/1.395, allocations: 8.28 MB / 1.275 GB, free: 187.8 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03301/1.428, allocations: 6.493 MB / 1.281 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00046/1.429, allocations: 0.6039 MB / 1.281 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03394/1.463, allocations: 7.054 MB / 1.288 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=115): time 5.18e-06/1.463, allocations: 0 / 1.288 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=115): time 0.09478/1.558, allocations: 18.96 MB / 1.307 GB, free: 164.6 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.847e-05/1.558, allocations: 196.9 kB / 1.307 GB, free: 164.4 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009408/1.559, allocations: 0.8138 MB / 1.308 GB, free: 163.6 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0005205/1.559, allocations: 53.7 kB / 1.308 GB, free: 163.5 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003297/1.56, allocations: 0.5391 MB / 1.308 GB, free: 163 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004903/1.56, allocations: 366.4 kB / 1.309 GB, free: 162.6 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001037/1.561, allocations: 382.4 kB / 1.309 GB, free: 162.2 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.895e-05/1.561, allocations: 341.9 kB / 1.309 GB, free: 161.9 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03212/1.593, allocations: 6.576 MB / 1.316 GB, free: 155.3 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0317/1.625, allocations: 6.699 MB / 1.322 GB, free: 148.6 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05764/1.683, allocations: 11.23 MB / 1.333 GB, free: 137.3 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.995e-06/1.683, allocations: 0 / 1.333 GB, free: 137.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.06155/1.744, allocations: 12.68 MB / 1.346 GB, free: 124.6 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.301e-05/1.744, allocations: 4.938 kB / 1.346 GB, free: 124.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/1.745, allocations: 0 / 1.346 GB, free: 124.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006113/1.745, allocations: 92.39 kB / 1.346 GB, free: 124.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01725/1.762, allocations: 2.683 MB / 1.348 GB, free: 121.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001866/1.764, allocations: 1.544 MB / 1.35 GB, free: 120.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01734/1.782, allocations: 2.464 MB / 1.352 GB, free: 117.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005894/1.782, allocations: 112.7 kB / 1.352 GB, free: 117.6 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 21 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,ove.ove.solAzi.outsidePolarCircle,HDirTil.incAng.decAng.tNext,$PRE.HDirTil.incAng.decAng.tNext,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (142): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001177/1.783, allocations: 352.6 kB / 1.353 GB, free: 117.2 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005699/1.784, allocations: 108.2 kB / 1.353 GB, free: 117.1 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06286/1.847, allocations: 13.21 MB / 1.366 GB, free: 103.9 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.53e-05/1.847, allocations: 12 kB / 1.366 GB, free: 103.9 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.381e-06/1.847, allocations: 0 / 1.366 GB, free: 103.9 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.89e-05/1.847, allocations: 7.969 kB / 1.366 GB, free: 103.9 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002562/1.85, allocations: 2.462 MB / 1.368 GB, free: 101.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/1.85, allocations: 0 / 1.368 GB, free: 101.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01746/1.867, allocations: 2.652 MB / 1.371 GB, free: 98.75 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005809/1.868, allocations: 80.78 kB / 1.371 GB, free: 98.66 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005344/1.868, allocations: 103.7 kB / 1.371 GB, free: 98.56 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001518/1.87, allocations: 1.559 MB / 1.373 GB, free: 96.87 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/1.87, allocations: 4.062 kB / 1.373 GB, free: 96.86 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06122/1.931, allocations: 12.56 MB / 1.385 GB, free: 84.27 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001753/1.933, allocations: 0.7956 MB / 1.386 GB, free: 83.45 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008832/1.934, allocations: 31.94 kB / 1.386 GB, free: 83.42 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01711/1.951, allocations: 2.411 MB / 1.388 GB, free: 81 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003525/1.951, allocations: 102.1 kB / 1.388 GB, free: 80.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006287/1.952, allocations: 107.8 kB / 1.388 GB, free: 80.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008362/1.953, allocations: 0.577 MB / 1.389 GB, free: 80.23 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8.42e-07/1.953, allocations: 0 / 1.389 GB, free: 80.23 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002457/1.955, allocations: 0.7479 MB / 1.389 GB, free: 79.5 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirTil.incAng.decAng.tNext) * Number of discrete states: 6 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirTil.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (136): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001654/1.957, allocations: 0.6545 MB / 1.39 GB, free: 79.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.06239/2.019, allocations: 13.46 MB / 1.403 GB, free: 65.61 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.196e-05/2.019, allocations: 0 / 1.403 GB, free: 65.61 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.03141/2.051, allocations: 6.805 MB / 1.41 GB, free: 58.79 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001909/2.053, allocations: 320 kB / 1.41 GB, free: 58.48 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0345/2.087, allocations: 9.058 MB / 1.419 GB, free: 49.39 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000497/2.088, allocations: 1.191 MB / 1.42 GB, free: 48.17 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.004127/2.092, allocations: 0.7392 MB / 1.421 GB, free: 47.43 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001752/2.094, allocations: 255 kB / 1.421 GB, free: 47.18 MB / 0.9981 GB Notification: Performance of SimCode: time 8.71e-07/2.094, allocations: 4 kB / 1.421 GB, free: 47.17 MB / 0.9981 GB Notification: Performance of Templates: time 0.04731/2.141, allocations: 40.13 MB / 1.46 GB, free: 7.125 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang.sim & ./Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_Examples_Overhang.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches