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) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001528/0.001528, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001697/0.001697, allocations: 192.3 kB / 22.23 MB, free: 5.16 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.334/1.334, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 2.902/2.902, allocations: 0.4893 GB / 0.7884 GB, free: 33.14 MB / 0.6231 GB
"
[Timeout remaining time 177]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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=2500,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=2500,variableFilter="time|ove.fraSun|ove.HDirTilUns|ove.HDirTil",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.001835/0.001835, allocations: 72.52 kB / 1.145 GB, free: 30.68 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2907/0.2925, allocations: 174.8 MB / 1.316 GB, free: 9.699 MB / 1.014 GB
Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.Overhang): time 0.008812/0.3014, allocations: 6.645 MB / 1.322 GB, free: 3.023 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.1797/0.4811, allocations: 152.6 MB / 1.472 GB, free: 9.785 MB / 1.17 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.001341/0.4824, allocations: 27.81 kB / 1.472 GB, free: 9.758 MB / 1.17 GB
Notification: Performance of NFTyping.typeComponents: time 0.0009724/0.4834, allocations: 245.7 kB / 1.472 GB, free: 9.516 MB / 1.17 GB
Notification: Performance of NFTyping.typeBindings: time 0.002186/0.4856, allocations: 0.7178 MB / 1.473 GB, free: 8.797 MB / 1.17 GB
Notification: Performance of NFTyping.typeClassSections: time 0.002312/0.4879, allocations: 1.073 MB / 1.474 GB, free: 7.73 MB / 1.17 GB
Notification: Performance of NFFlatten.flatten: time 0.00222/0.4901, allocations: 2.149 MB / 1.476 GB, free: 5.574 MB / 1.17 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0009814/0.4911, allocations: 0.6289 MB / 1.476 GB, free: 4.906 MB / 1.17 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0009175/0.492, allocations: 0.81 MB / 1.477 GB, free: 4.094 MB / 1.17 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0009735/0.493, allocations: 0.86 MB / 1.478 GB, free: 3.23 MB / 1.17 GB
Notification: Performance of NFPackage.collectConstants: time 0.0002818/0.4932, allocations: 208 kB / 1.478 GB, free: 3.027 MB / 1.17 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.001226/0.4945, allocations: 0.7104 MB / 1.479 GB, free: 2.316 MB / 1.17 GB
Notification: Performance of NFScalarize.scalarize: time 0.0004656/0.4949, allocations: 494.5 kB / 1.479 GB, free: 1.832 MB / 1.17 GB
Notification: Performance of NFVerifyModel.verify: time 0.0008533/0.4958, allocations: 0.8943 MB / 1.48 GB, free: 0.9336 MB / 1.17 GB
Notification: Performance of NFConvertDAE.convert: time 0.002955/0.4987, allocations: 2.635 MB / 1.483 GB, free: 14.29 MB / 1.186 GB
Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.4987, allocations: 4 kB / 1.483 GB, free: 14.28 MB / 1.186 GB
Notification: Performance of FrontEnd: time 1.714e-06/0.4987, allocations: 0 / 1.483 GB, free: 14.28 MB / 1.186 GB
Notification: Performance of Transformations before backend: time 1.776e-05/0.4988, allocations: 0 / 1.483 GB, free: 14.28 MB / 1.186 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.003655/0.5024, allocations: 1.947 MB / 1.485 GB, free: 12.29 MB / 1.186 GB
Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.5025, allocations: 8.031 kB / 1.485 GB, free: 12.29 MB / 1.186 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1093/0.6117, allocations: 15.4 MB / 1.5 GB, free: 12.86 MB / 1.201 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.003071/0.6148, allocations: 1.339 MB / 1.501 GB, free: 11.5 MB / 1.201 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001042/0.6149, allocations: 102.8 kB / 1.501 GB, free: 11.39 MB / 1.201 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004774/0.6154, allocations: 136 kB / 1.501 GB, free: 11.26 MB / 1.201 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.03703/0.6524, allocations: 8.041 MB / 1.509 GB, free: 3.152 MB / 1.201 GB
Notification: Performance of preOpt findStateOrder (simulation): time 3.098e-05/0.6524, allocations: 7.938 kB / 1.509 GB, free: 3.145 MB / 1.201 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003474/0.6528, allocations: 60 kB / 1.509 GB, free: 3.086 MB / 1.201 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.225e-05/0.6528, allocations: 32 kB / 1.509 GB, free: 3.055 MB / 1.201 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07034/0.7231, allocations: 14.14 MB / 1.523 GB, free: 4.891 MB / 1.217 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04632/0.7695, allocations: 11.62 MB / 1.534 GB, free: 9.043 MB / 1.232 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.04193/0.8114, allocations: 8.201 MB / 1.542 GB, free: 0.832 MB / 1.232 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.03379/0.8452, allocations: 6.46 MB / 1.549 GB, free: 10.36 MB / 1.248 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0003744/0.8456, allocations: 76.97 kB / 1.549 GB, free: 10.29 MB / 1.248 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03485/0.8804, allocations: 7.069 MB / 1.556 GB, free: 3.191 MB / 1.248 GB
Notification: Performance of pre-optimization done (n=115): time 3.928e-06/0.8804, allocations: 0 / 1.556 GB, free: 3.191 MB / 1.248 GB
Notification: Performance of matching and sorting (n=115): time 0.1017/0.9821, allocations: 18.87 MB / 1.574 GB, free: 288 kB / 1.264 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001254/0.9822, allocations: 196.9 kB / 1.574 GB, free: 48 kB / 1.264 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001365/0.9836, allocations: 0.81 MB / 1.575 GB, free: 15.23 MB / 1.279 GB
Notification: Performance of collectPreVariables (initialization): time 0.0004572/0.984, allocations: 53.64 kB / 1.575 GB, free: 15.17 MB / 1.279 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0005169/0.9845, allocations: 0.5521 MB / 1.576 GB, free: 14.61 MB / 1.279 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0006871/0.9852, allocations: 396.7 kB / 1.576 GB, free: 14.22 MB / 1.279 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.001252/0.9865, allocations: 378.5 kB / 1.576 GB, free: 13.84 MB / 1.279 GB
Notification: Performance of setup shared object (initialization): time 0.0001593/0.9866, allocations: 353.9 kB / 1.577 GB, free: 13.49 MB / 1.279 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.03423/1.021, allocations: 6.572 MB / 1.583 GB, free: 6.91 MB / 1.279 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.03367/1.055, allocations: 6.699 MB / 1.59 GB, free: 188 kB / 1.279 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.062/1.117, allocations: 11.22 MB / 1.601 GB, free: 4.93 MB / 1.295 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/1.117, allocations: 0 / 1.601 GB, free: 4.93 MB / 1.295 GB
Notification: Performance of matching and sorting (n=144) (initialization): time 0.6619/1.778, allocations: 12.68 MB / 1.613 GB, free: 288.6 MB / 1.295 GB
Notification: Performance of prepare postOptimizeDAE: time 3.01e-05/1.779, allocations: 6.375 kB / 1.613 GB, free: 288.6 MB / 1.295 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/1.779, allocations: 0 / 1.613 GB, free: 288.6 MB / 1.295 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0005958/1.779, allocations: 84.38 kB / 1.613 GB, free: 288.5 MB / 1.295 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01994/1.799, allocations: 2.681 MB / 1.616 GB, free: 288.5 MB / 1.295 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002044/1.801, allocations: 1.552 MB / 1.617 GB, free: 287.1 MB / 1.295 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01804/1.819, allocations: 2.465 MB / 1.62 GB, free: 286.9 MB / 1.295 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005146/1.82, allocations: 108.3 kB / 1.62 GB, free: 286.9 MB / 1.295 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.0011/1.821, allocations: 349.3 kB / 1.62 GB, free: 286.7 MB / 1.295 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005024/1.821, allocations: 113.8 kB / 1.62 GB, free: 286.7 MB / 1.295 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06522/1.886, allocations: 13.2 MB / 1.633 GB, free: 281.2 MB / 1.295 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.368e-05/1.886, allocations: 11.81 kB / 1.633 GB, free: 281.2 MB / 1.295 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/1.886, allocations: 0 / 1.633 GB, free: 281.2 MB / 1.295 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.736e-05/1.887, allocations: 15.84 kB / 1.633 GB, free: 281.2 MB / 1.295 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002349/1.889, allocations: 2.421 MB / 1.635 GB, free: 279.3 MB / 1.295 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/1.889, allocations: 11.89 kB / 1.635 GB, free: 279.3 MB / 1.295 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01867/1.908, allocations: 2.656 MB / 1.638 GB, free: 278 MB / 1.295 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0004659/1.908, allocations: 75.31 kB / 1.638 GB, free: 278 MB / 1.295 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004929/1.908, allocations: 95.06 kB / 1.638 GB, free: 277.9 MB / 1.295 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001442/1.91, allocations: 1.574 MB / 1.64 GB, free: 276.4 MB / 1.295 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/1.91, allocations: 0 / 1.64 GB, free: 276.4 MB / 1.295 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06222/1.972, allocations: 12.56 MB / 1.652 GB, free: 265.8 MB / 1.295 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.001656/1.974, allocations: 0.7268 MB / 1.653 GB, free: 265.1 MB / 1.295 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004896/1.974, allocations: 34.66 kB / 1.653 GB, free: 265.1 MB / 1.295 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01701/1.991, allocations: 2.398 MB / 1.655 GB, free: 262.7 MB / 1.295 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000214/1.992, allocations: 104.5 kB / 1.655 GB, free: 262.6 MB / 1.295 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004151/1.992, allocations: 111.8 kB / 1.655 GB, free: 262.5 MB / 1.295 GB
Notification: Performance of sorting global known variables: time 0.0006495/1.993, allocations: 0.5809 MB / 1.656 GB, free: 261.9 MB / 1.295 GB
Notification: Performance of sort global known variables: time 9.1e-08/1.993, allocations: 0 / 1.656 GB, free: 261.9 MB / 1.295 GB
Notification: Performance of remove unused functions: time 0.001925/1.995, allocations: 0.7522 MB / 1.657 GB, free: 261.2 MB / 1.295 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.001993/1.997, allocations: 0.6581 MB / 1.657 GB, free: 260.8 MB / 1.295 GB
Notification: Performance of simCode: created initialization part: time 0.06197/2.058, allocations: 13.41 MB / 1.67 GB, free: 247.4 MB / 1.295 GB
Notification: Performance of simCode: created event and clocks part: time 6.813e-06/2.058, allocations: 0 / 1.67 GB, free: 247.4 MB / 1.295 GB
Notification: Performance of simCode: created simulation system equations: time 0.03137/2.09, allocations: 6.767 MB / 1.677 GB, free: 240.6 MB / 1.295 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001823/2.092, allocations: 347.6 kB / 1.677 GB, free: 240.3 MB / 1.295 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03359/2.125, allocations: 8.44 MB / 1.685 GB, free: 231.8 MB / 1.295 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004276/2.126, allocations: 1.186 MB / 1.687 GB, free: 230.6 MB / 1.295 GB
Notification: Performance of simCode: alias equations: time 0.003091/2.129, allocations: 0.7432 MB / 1.687 GB, free: 229.8 MB / 1.295 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001539/2.13, allocations: 255 kB / 1.688 GB, free: 229.6 MB / 1.295 GB
Notification: Performance of SimCode: time 1.032e-06/2.13, allocations: 0 / 1.688 GB, free: 229.6 MB / 1.295 GB
Notification: Performance of Templates: time 0.04571/2.176, allocations: 43.69 MB / 1.73 GB, free: 186 MB / 1.295 GB
"
[Timeout remaining time 298]
make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang.makefile [Timeout 300]
(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=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe 2>&1) [Timeout 800]
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) [Timeout 300]
""
[Timeout remaining time 300]
Reference file matches
[Calling sys.exit(0), Time elapsed: 11.280744765885174]