Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001614/0.001614, allocations: 108.8 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.002001/0.002001, 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.528/1.528, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.209/3.209, allocations: 496 MB / 0.7835 GB, free: 33.64 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/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_12_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_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002115/0.002115, allocations: 68.31 kB / 1.138 GB, free: 33.79 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3433/0.3454, allocations: 173.6 MB / 1.307 GB, free: 1.816 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.007662/0.353, allocations: 5.01 MB / 1.312 GB, free: 12.79 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.1877/0.5407, allocations: 151.2 MB / 1.46 GB, free: 4.961 MB / 1.154 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.001114/0.5419, allocations: 23.81 kB / 1.46 GB, free: 4.938 MB / 1.154 GB
Notification: Performance of NFTyping.typeComponents: time 0.0008445/0.5427, allocations: 198.2 kB / 1.46 GB, free: 4.742 MB / 1.154 GB
Notification: Performance of NFTyping.typeBindings: time 0.002252/0.5449, allocations: 0.5628 MB / 1.461 GB, free: 4.18 MB / 1.154 GB
Notification: Performance of NFTyping.typeClassSections: time 0.002353/0.5473, allocations: 0.8728 MB / 1.461 GB, free: 3.312 MB / 1.154 GB
Notification: Performance of NFFlatten.flatten: time 0.002106/0.5494, allocations: 1.436 MB / 1.463 GB, free: 1.871 MB / 1.154 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.000973/0.5504, allocations: 422.2 kB / 1.463 GB, free: 1.43 MB / 1.154 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0009433/0.5513, allocations: 0.5138 MB / 1.464 GB, free: 0.9141 MB / 1.154 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0008773/0.5522, allocations: 0.5251 MB / 1.464 GB, free: 396 kB / 1.154 GB
Notification: Performance of NFPackage.collectConstants: time 0.0002779/0.5525, allocations: 120 kB / 1.464 GB, free: 276 kB / 1.154 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.001162/0.5536, allocations: 495.6 kB / 1.465 GB, free: 15.79 MB / 1.17 GB
Notification: Performance of NFScalarize.scalarize: time 0.0004063/0.554, allocations: 307 kB / 1.465 GB, free: 15.48 MB / 1.17 GB
Notification: Performance of NFVerifyModel.verify: time 0.0008925/0.5549, allocations: 0.5752 MB / 1.466 GB, free: 14.91 MB / 1.17 GB
Notification: Performance of NFConvertDAE.convert: time 0.00306/0.558, allocations: 1.677 MB / 1.467 GB, free: 13.22 MB / 1.17 GB
Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.558, allocations: 0 / 1.467 GB, free: 13.22 MB / 1.17 GB
Notification: Performance of FrontEnd: time 1.944e-06/0.558, allocations: 0 / 1.467 GB, free: 13.22 MB / 1.17 GB
Notification: Performance of Transformations before backend: time 7.341e-05/0.5581, allocations: 0 / 1.467 GB, free: 13.22 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.004107/0.5622, allocations: 1.433 MB / 1.469 GB, free: 11.76 MB / 1.17 GB
Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.5622, allocations: 12.03 kB / 1.469 GB, free: 11.75 MB / 1.17 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001015/0.5632, allocations: 192 kB / 1.469 GB, free: 11.56 MB / 1.17 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001415/0.5647, allocations: 0.7104 MB / 1.47 GB, free: 10.82 MB / 1.17 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.465e-05/0.5647, allocations: 69.98 kB / 1.47 GB, free: 10.75 MB / 1.17 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001951/0.5649, allocations: 84 kB / 1.47 GB, free: 10.67 MB / 1.17 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001854/0.5668, allocations: 0.9496 MB / 1.471 GB, free: 9.68 MB / 1.17 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.969e-05/0.5668, allocations: 0 / 1.471 GB, free: 9.68 MB / 1.17 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-05/0.5669, allocations: 35.94 kB / 1.471 GB, free: 9.645 MB / 1.17 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.484e-05/0.5669, allocations: 20 kB / 1.471 GB, free: 9.625 MB / 1.17 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002072/0.569, allocations: 1.132 MB / 1.472 GB, free: 8.492 MB / 1.17 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00495/0.5739, allocations: 2.721 MB / 1.475 GB, free: 5.645 MB / 1.17 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.001702/0.5756, allocations: 0.795 MB / 1.475 GB, free: 4.84 MB / 1.17 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0006019/0.5762, allocations: 297.1 kB / 1.476 GB, free: 4.547 MB / 1.17 GB
Notification: Performance of preOpt evalFunc (simulation): time 9.411e-05/0.5763, allocations: 28.55 kB / 1.476 GB, free: 4.52 MB / 1.17 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001075/0.5774, allocations: 0.5238 MB / 1.476 GB, free: 3.977 MB / 1.17 GB
Notification: Performance of pre-optimization done (n=85): time 2.034e-06/0.5774, allocations: 4 kB / 1.476 GB, free: 3.973 MB / 1.17 GB
Notification: Performance of matching and sorting (n=85): time 0.00351/0.5809, allocations: 1.184 MB / 1.477 GB, free: 2.781 MB / 1.17 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001589/0.5811, allocations: 196.9 kB / 1.477 GB, free: 2.547 MB / 1.17 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009239/0.582, allocations: 0.6448 MB / 1.478 GB, free: 1.891 MB / 1.17 GB
Notification: Performance of collectPreVariables (initialization): time 8.164e-05/0.5821, allocations: 41.7 kB / 1.478 GB, free: 1.844 MB / 1.17 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0003914/0.5825, allocations: 405.2 kB / 1.479 GB, free: 1.441 MB / 1.17 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0002868/0.5828, allocations: 289.5 kB / 1.479 GB, free: 1.156 MB / 1.17 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003053/0.5831, allocations: 178.5 kB / 1.479 GB, free: 0.9727 MB / 1.17 GB
Notification: Performance of setup shared object (initialization): time 0.0002768/0.5834, allocations: 390.8 kB / 1.479 GB, free: 0.582 MB / 1.17 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006106/0.584, allocations: 277.8 kB / 1.48 GB, free: 320 kB / 1.17 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.000799/0.5848, allocations: 380 kB / 1.48 GB, free: 15.93 MB / 1.186 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001287/0.5861, allocations: 0.6329 MB / 1.481 GB, free: 15.28 MB / 1.186 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.5861, allocations: 0 / 1.481 GB, free: 15.28 MB / 1.186 GB
Notification: Performance of matching and sorting (n=103) (initialization): time 0.002253/0.5883, allocations: 0.8882 MB / 1.481 GB, free: 14.38 MB / 1.186 GB
Notification: Performance of prepare postOptimizeDAE: time 3.335e-05/0.5883, allocations: 13.81 kB / 1.481 GB, free: 14.37 MB / 1.186 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.5883, allocations: 128 / 1.481 GB, free: 14.37 MB / 1.186 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0006339/0.589, allocations: 80.78 kB / 1.482 GB, free: 14.29 MB / 1.186 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007375/0.5897, allocations: 179.7 kB / 1.482 GB, free: 14.11 MB / 1.186 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002364/0.5921, allocations: 1.519 MB / 1.483 GB, free: 12.47 MB / 1.186 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008536/0.5929, allocations: 99.53 kB / 1.483 GB, free: 12.37 MB / 1.186 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.484e-05/0.593, allocations: 39.97 kB / 1.483 GB, free: 12.33 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.000571/0.5936, allocations: 275.5 kB / 1.484 GB, free: 12.05 MB / 1.186 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002006/0.5938, allocations: 87.44 kB / 1.484 GB, free: 11.96 MB / 1.186 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002771/0.5966, allocations: 1.148 MB / 1.485 GB, free: 10.8 MB / 1.186 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.909e-06/0.5966, allocations: 12 kB / 1.485 GB, free: 10.79 MB / 1.186 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.5966, allocations: 0 / 1.485 GB, free: 10.79 MB / 1.186 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.325e-05/0.5966, allocations: 7.969 kB / 1.485 GB, free: 10.79 MB / 1.186 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003865/0.6005, allocations: 1.985 MB / 1.487 GB, free: 8.746 MB / 1.186 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.6005, allocations: 0 / 1.487 GB, free: 8.746 MB / 1.186 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006549/0.6011, allocations: 155.8 kB / 1.487 GB, free: 8.594 MB / 1.186 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0004822/0.6016, allocations: 72.78 kB / 1.487 GB, free: 8.52 MB / 1.186 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.117e-05/0.6017, allocations: 31.98 kB / 1.487 GB, free: 8.488 MB / 1.186 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002156/0.6038, allocations: 1.559 MB / 1.489 GB, free: 6.805 MB / 1.186 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.6038, allocations: 3.938 kB / 1.489 GB, free: 6.801 MB / 1.186 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00246/0.6063, allocations: 1.057 MB / 1.49 GB, free: 5.727 MB / 1.186 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0004954/0.6068, allocations: 203.2 kB / 1.49 GB, free: 5.527 MB / 1.186 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001346/0.6069, allocations: 20 kB / 1.49 GB, free: 5.508 MB / 1.186 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007314/0.6076, allocations: 83.91 kB / 1.49 GB, free: 5.426 MB / 1.186 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001774/0.6078, allocations: 80.84 kB / 1.49 GB, free: 5.344 MB / 1.186 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.204e-05/0.6079, allocations: 35.98 kB / 1.49 GB, free: 5.309 MB / 1.186 GB
Notification: Performance of sorting global known variables: time 0.0006619/0.6086, allocations: 463 kB / 1.49 GB, free: 4.863 MB / 1.186 GB
Notification: Performance of sort global known variables: time 8e-08/0.6086, allocations: 0 / 1.49 GB, free: 4.863 MB / 1.186 GB
Notification: Performance of remove unused functions: time 0.001049/0.6096, allocations: 343.1 kB / 1.491 GB, free: 4.527 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.001986/0.6116, allocations: 0.6055 MB / 1.491 GB, free: 4.094 MB / 1.186 GB
Notification: Performance of simCode: created initialization part: time 0.001997/0.6136, allocations: 0.8353 MB / 1.492 GB, free: 3.25 MB / 1.186 GB
Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.6136, allocations: 4 kB / 1.492 GB, free: 3.246 MB / 1.186 GB
Notification: Performance of simCode: created simulation system equations: time 0.001051/0.6147, allocations: 0.5118 MB / 1.493 GB, free: 2.723 MB / 1.186 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001411/0.6161, allocations: 300.5 kB / 1.493 GB, free: 2.445 MB / 1.186 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003398/0.6195, allocations: 1.733 MB / 1.495 GB, free: 0.6836 MB / 1.186 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008204/0.6203, allocations: 1.041 MB / 1.496 GB, free: 15.62 MB / 1.201 GB
Notification: Performance of simCode: alias equations: time 0.0008872/0.6212, allocations: 270.9 kB / 1.496 GB, free: 15.35 MB / 1.201 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002942/0.6215, allocations: 115.3 kB / 1.496 GB, free: 15.23 MB / 1.201 GB
Notification: Performance of SimCode: time 1.292e-06/0.6215, allocations: 0 / 1.496 GB, free: 15.23 MB / 1.201 GB
Notification: Performance of Templates: time 0.03248/0.654, allocations: 16.34 MB / 1.512 GB, free: 15.07 MB / 1.217 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & ./Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.825378044508398]