Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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.001319/0.001319, allocations: 109 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.001474/0.001474, allocations: 192.8 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.402/1.402, allocations: 225.6 MB / 251 MB, free: 13.01 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 3.132/3.132, allocations: 495.7 MB / 0.7831 GB, free: 33.45 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.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|altAng.alt",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle")
translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|altAng.alt",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 74.22 kB / 1.137 GB, free: 33.9 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3852/0.3872, allocations: 173.6 MB / 1.307 GB, free: 1.934 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.007766/0.3949, allocations: 5.003 MB / 1.312 GB, free: 12.91 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.2365/0.6314, allocations: 151.2 MB / 1.46 GB, free: 5.086 MB / 1.154 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.001448/0.6329, allocations: 27.81 kB / 1.46 GB, free: 5.059 MB / 1.154 GB
Notification: Performance of NFTyping.typeComponents: time 0.001163/0.634, allocations: 202.2 kB / 1.46 GB, free: 4.859 MB / 1.154 GB
Notification: Performance of NFTyping.typeBindings: time 0.00347/0.6375, allocations: 0.5626 MB / 1.46 GB, free: 4.297 MB / 1.154 GB
Notification: Performance of NFTyping.typeClassSections: time 0.00386/0.6413, allocations: 0.8613 MB / 1.461 GB, free: 3.441 MB / 1.154 GB
Notification: Performance of NFFlatten.flatten: time 0.003317/0.6447, allocations: 1.452 MB / 1.463 GB, free: 1.984 MB / 1.154 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.001551/0.6462, allocations: 418.2 kB / 1.463 GB, free: 1.547 MB / 1.154 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.001478/0.6477, allocations: 0.5217 MB / 1.463 GB, free: 1.023 MB / 1.154 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.001534/0.6492, allocations: 0.5211 MB / 1.464 GB, free: 0.5 MB / 1.154 GB
Notification: Performance of NFPackage.collectConstants: time 0.0006035/0.6498, allocations: 120 kB / 1.464 GB, free: 392 kB / 1.154 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.002012/0.6518, allocations: 491.6 kB / 1.465 GB, free: 15.9 MB / 1.17 GB
Notification: Performance of NFScalarize.scalarize: time 0.0007282/0.6526, allocations: 311 kB / 1.465 GB, free: 15.6 MB / 1.17 GB
Notification: Performance of NFVerifyModel.verify: time 0.001522/0.6541, allocations: 0.5713 MB / 1.465 GB, free: 15.02 MB / 1.17 GB
Notification: Performance of NFConvertDAE.convert: time 0.004227/0.6583, allocations: 1.681 MB / 1.467 GB, free: 13.34 MB / 1.17 GB
Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.6583, allocations: 0 / 1.467 GB, free: 13.34 MB / 1.17 GB
Notification: Performance of FrontEnd: time 1.834e-06/0.6583, allocations: 4 kB / 1.467 GB, free: 13.33 MB / 1.17 GB
Notification: Performance of Transformations before backend: time 4.54e-05/0.6584, allocations: 3.938 kB / 1.467 GB, free: 13.33 MB / 1.17 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 219
 * Number of variables: 219
Notification: Performance of Generate backend data structure: time 0.004629/0.663, allocations: 1.414 MB / 1.468 GB, free: 11.88 MB / 1.17 GB
Notification: Performance of prepare preOptimizeDAE: time 5.827e-05/0.6631, allocations: 19.95 kB / 1.468 GB, free: 11.86 MB / 1.17 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001605/0.6647, allocations: 192 kB / 1.469 GB, free: 11.68 MB / 1.17 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.002069/0.6667, allocations: 0.7104 MB / 1.469 GB, free: 10.94 MB / 1.17 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.704e-05/0.6668, allocations: 66 kB / 1.469 GB, free: 10.87 MB / 1.17 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002085/0.667, allocations: 84 kB / 1.469 GB, free: 10.79 MB / 1.17 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.002774/0.6698, allocations: 0.9495 MB / 1.47 GB, free: 9.801 MB / 1.17 GB
Notification: Performance of preOpt findStateOrder (simulation): time 3.004e-05/0.6698, allocations: 0 / 1.47 GB, free: 9.801 MB / 1.17 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001419/0.67, allocations: 39.98 kB / 1.47 GB, free: 9.762 MB / 1.17 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.091e-05/0.67, allocations: 20 kB / 1.47 GB, free: 9.742 MB / 1.17 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003195/0.6732, allocations: 1.132 MB / 1.472 GB, free: 8.609 MB / 1.17 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007135/0.6804, allocations: 2.725 MB / 1.474 GB, free: 5.758 MB / 1.17 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.002584/0.6829, allocations: 0.7911 MB / 1.475 GB, free: 4.957 MB / 1.17 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0008793/0.6838, allocations: 293.1 kB / 1.475 GB, free: 4.668 MB / 1.17 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001223/0.6839, allocations: 24.61 kB / 1.475 GB, free: 4.645 MB / 1.17 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001519/0.6855, allocations: 0.5238 MB / 1.476 GB, free: 4.102 MB / 1.17 GB
Notification: Performance of pre-optimization done (n=85): time 4.909e-06/0.6855, allocations: 0 / 1.476 GB, free: 4.102 MB / 1.17 GB
Notification: Performance of matching and sorting (n=85): time 0.005329/0.6908, allocations: 1.188 MB / 1.477 GB, free: 2.906 MB / 1.17 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001948/0.691, allocations: 196.9 kB / 1.477 GB, free: 2.672 MB / 1.17 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001463/0.6924, allocations: 0.6448 MB / 1.478 GB, free: 2.016 MB / 1.17 GB
Notification: Performance of collectPreVariables (initialization): time 0.0001169/0.6926, allocations: 41.7 kB / 1.478 GB, free: 1.969 MB / 1.17 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0005556/0.6931, allocations: 405.2 kB / 1.478 GB, free: 1.566 MB / 1.17 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0003919/0.6935, allocations: 285.6 kB / 1.478 GB, free: 1.285 MB / 1.17 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004535/0.694, allocations: 182.5 kB / 1.479 GB, free: 1.098 MB / 1.17 GB
Notification: Performance of setup shared object (initialization): time 0.0002957/0.6943, allocations: 386.8 kB / 1.479 GB, free: 0.7109 MB / 1.17 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009065/0.6952, allocations: 277.8 kB / 1.479 GB, free: 452 kB / 1.17 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.001092/0.6963, allocations: 391.9 kB / 1.48 GB, free: 44 kB / 1.17 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001981/0.6982, allocations: 0.629 MB / 1.48 GB, free: 15.4 MB / 1.186 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.604e-06/0.6982, allocations: 0 / 1.48 GB, free: 15.4 MB / 1.186 GB
Notification: Performance of matching and sorting (n=103) (initialization): time 0.003151/0.7014, allocations: 0.8883 MB / 1.481 GB, free: 14.5 MB / 1.186 GB
Notification: Performance of prepare postOptimizeDAE: time 3.091e-05/0.7014, allocations: 11.94 kB / 1.481 GB, free: 14.49 MB / 1.186 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.7014, allocations: 0 / 1.481 GB, free: 14.49 MB / 1.186 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0008083/0.7022, allocations: 84.83 kB / 1.481 GB, free: 14.4 MB / 1.186 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001013/0.7033, allocations: 171.8 kB / 1.481 GB, free: 14.23 MB / 1.186 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003083/0.7063, allocations: 1.528 MB / 1.483 GB, free: 12.59 MB / 1.186 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001266/0.7076, allocations: 99.45 kB / 1.483 GB, free: 12.49 MB / 1.186 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00012/0.7077, allocations: 39.97 kB / 1.483 GB, free: 12.45 MB / 1.186 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 5
 * Number of states: 0 ()
 * Number of discrete variables: 20 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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,decAng.tNext,$PRE.decAng.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 (101):
 * Single equations (assignments): 100
 * 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.0007449/0.7085, allocations: 275.6 kB / 1.483 GB, free: 12.17 MB / 1.186 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000277/0.7088, allocations: 87.44 kB / 1.483 GB, free: 12.08 MB / 1.186 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003884/0.7126, allocations: 1.14 MB / 1.484 GB, free: 10.93 MB / 1.186 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.529e-05/0.7127, allocations: 12 kB / 1.484 GB, free: 10.92 MB / 1.186 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.7127, allocations: 0 / 1.484 GB, free: 10.92 MB / 1.186 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.871e-05/0.7127, allocations: 3.984 kB / 1.484 GB, free: 10.91 MB / 1.186 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006019/0.7187, allocations: 1.989 MB / 1.486 GB, free: 8.871 MB / 1.186 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/0.7187, allocations: 0 / 1.486 GB, free: 8.871 MB / 1.186 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001137/0.7198, allocations: 159.7 kB / 1.487 GB, free: 8.715 MB / 1.186 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0007036/0.7205, allocations: 72.78 kB / 1.487 GB, free: 8.641 MB / 1.186 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000107/0.7206, allocations: 31.97 kB / 1.487 GB, free: 8.609 MB / 1.186 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003211/0.7239, allocations: 1.559 MB / 1.488 GB, free: 6.926 MB / 1.186 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.7239, allocations: 0 / 1.488 GB, free: 6.926 MB / 1.186 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003846/0.7277, allocations: 1.057 MB / 1.489 GB, free: 5.852 MB / 1.186 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0008195/0.7285, allocations: 203.1 kB / 1.489 GB, free: 5.652 MB / 1.186 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002185/0.7287, allocations: 23.98 kB / 1.489 GB, free: 5.629 MB / 1.186 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001196/0.7299, allocations: 71.88 kB / 1.49 GB, free: 5.559 MB / 1.186 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002846/0.7302, allocations: 80.84 kB / 1.49 GB, free: 5.477 MB / 1.186 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001356/0.7304, allocations: 39.97 kB / 1.49 GB, free: 5.438 MB / 1.186 GB
Notification: Performance of sorting global known variables: time 0.001046/0.7314, allocations: 463 kB / 1.49 GB, free: 4.992 MB / 1.186 GB
Notification: Performance of sort global known variables: time 1.51e-07/0.7314, allocations: 0 / 1.49 GB, free: 4.992 MB / 1.186 GB
Notification: Performance of remove unused functions: time 0.001599/0.733, allocations: 351.1 kB / 1.49 GB, free: 4.648 MB / 1.186 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,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext)
 * Number of discrete states: 6 (decAng.tNext,weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (100):
 * Single equations (assignments): 93
 * 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.002907/0.7359, allocations: 0.6092 MB / 1.491 GB, free: 4.211 MB / 1.186 GB
Notification: Performance of simCode: created initialization part: time 0.002988/0.7389, allocations: 0.8392 MB / 1.492 GB, free: 3.363 MB / 1.186 GB
Notification: Performance of simCode: created event and clocks part: time 7.164e-06/0.7389, allocations: 4 kB / 1.492 GB, free: 3.359 MB / 1.186 GB
Notification: Performance of simCode: created simulation system equations: time 0.001645/0.7406, allocations: 0.5041 MB / 1.492 GB, free: 2.844 MB / 1.186 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002172/0.7427, allocations: 311.7 kB / 1.493 GB, free: 2.566 MB / 1.186 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005041/0.7478, allocations: 1.731 MB / 1.494 GB, free: 0.8008 MB / 1.186 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001083/0.7489, allocations: 1.036 MB / 1.495 GB, free: 15.74 MB / 1.201 GB
Notification: Performance of simCode: alias equations: time 0.001432/0.7503, allocations: 274.9 kB / 1.496 GB, free: 15.46 MB / 1.201 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004614/0.7507, allocations: 111.3 kB / 1.496 GB, free: 15.36 MB / 1.201 GB
Notification: Performance of SimCode: time 9.92e-07/0.7507, allocations: 4 kB / 1.496 GB, free: 15.35 MB / 1.201 GB
Notification: Performance of Templates: time 0.04964/0.8004, allocations: 16.33 MB / 1.512 GB, free: 15.18 MB / 1.217 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile [Timeout 300]
(rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle  -abortSlowSimulation -alarm=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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: 9.88019672036171]