Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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.001647/0.001647, allocations: 113.9 kB / 18.94 MB, free: 2.953 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.002048/0.002048, allocations: 188.4 kB / 22.23 MB, free: 5.137 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.405/1.405, allocations: 225.6 MB / 251 MB, free: 13.04 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.113/3.113, allocations: 495.7 MB / 0.7831 GB, free: 33.64 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.SolarAzimuth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|solAzi.solAzi",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth")
translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|solAzi.solAzi",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002006/0.002006, allocations: 70.19 kB / 1.137 GB, free: 33.89 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.378/0.38, allocations: 173.6 MB / 1.307 GB, free: 1.984 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.008193/0.3882, allocations: 5.061 MB / 1.312 GB, free: 12.9 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.2408/0.629, allocations: 151.3 MB / 1.46 GB, free: 4.977 MB / 1.154 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.00113/0.6301, allocations: 23.81 kB / 1.46 GB, free: 4.953 MB / 1.154 GB
Notification: Performance of NFTyping.typeComponents: time 0.0008526/0.631, allocations: 202.2 kB / 1.46 GB, free: 4.754 MB / 1.154 GB
Notification: Performance of NFTyping.typeBindings: time 0.002032/0.633, allocations: 0.5661 MB / 1.46 GB, free: 4.191 MB / 1.154 GB
Notification: Performance of NFTyping.typeClassSections: time 0.002503/0.6355, allocations: 0.9103 MB / 1.461 GB, free: 3.285 MB / 1.154 GB
Notification: Performance of NFFlatten.flatten: time 0.002012/0.6375, allocations: 1.475 MB / 1.463 GB, free: 1.805 MB / 1.154 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0008384/0.6384, allocations: 429.5 kB / 1.463 GB, free: 1.355 MB / 1.154 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0008236/0.6392, allocations: 0.5295 MB / 1.464 GB, free: 0.8242 MB / 1.154 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.000914/0.6401, allocations: 0.5446 MB / 1.464 GB, free: 284 kB / 1.154 GB
Notification: Performance of NFPackage.collectConstants: time 0.0001967/0.6403, allocations: 120 kB / 1.464 GB, free: 164 kB / 1.154 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.001166/0.6415, allocations: 0.5074 MB / 1.465 GB, free: 15.65 MB / 1.17 GB
Notification: Performance of NFScalarize.scalarize: time 0.0003643/0.6418, allocations: 315 kB / 1.465 GB, free: 15.34 MB / 1.17 GB
Notification: Performance of NFVerifyModel.verify: time 0.0006301/0.6425, allocations: 0.583 MB / 1.466 GB, free: 14.76 MB / 1.17 GB
Notification: Performance of NFConvertDAE.convert: time 0.002785/0.6452, allocations: 1.739 MB / 1.467 GB, free: 13.01 MB / 1.17 GB
Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.6453, allocations: 0 / 1.467 GB, free: 13.01 MB / 1.17 GB
Notification: Performance of FrontEnd: time 1.403e-06/0.6453, allocations: 0 / 1.467 GB, free: 13.01 MB / 1.17 GB
Notification: Performance of Transformations before backend: time 1.697e-05/0.6453, allocations: 0 / 1.467 GB, free: 13.01 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: 226
 * Number of variables: 226
Notification: Performance of Generate backend data structure: time 0.003252/0.6485, allocations: 1.46 MB / 1.469 GB, free: 11.52 MB / 1.17 GB
Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/0.6486, allocations: 12.03 kB / 1.469 GB, free: 11.51 MB / 1.17 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001006/0.6496, allocations: 200 kB / 1.469 GB, free: 11.31 MB / 1.17 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001329/0.6509, allocations: 0.722 MB / 1.47 GB, free: 10.56 MB / 1.17 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.886e-05/0.651, allocations: 66 kB / 1.47 GB, free: 10.5 MB / 1.17 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001492/0.6511, allocations: 88 kB / 1.47 GB, free: 10.41 MB / 1.17 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001929/0.6531, allocations: 0.9769 MB / 1.471 GB, free: 9.395 MB / 1.17 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.912e-05/0.6531, allocations: 7.938 kB / 1.471 GB, free: 9.387 MB / 1.17 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.612e-05/0.6532, allocations: 40 kB / 1.471 GB, free: 9.348 MB / 1.17 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.334e-05/0.6532, allocations: 20 kB / 1.471 GB, free: 9.328 MB / 1.17 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00214/0.6553, allocations: 1.155 MB / 1.472 GB, free: 8.172 MB / 1.17 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00524/0.6606, allocations: 2.877 MB / 1.475 GB, free: 5.172 MB / 1.17 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.002323/0.6629, allocations: 0.8602 MB / 1.476 GB, free: 4.301 MB / 1.17 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0006316/0.6635, allocations: 298.7 kB / 1.476 GB, free: 4.008 MB / 1.17 GB
Notification: Performance of preOpt evalFunc (simulation): time 9.585e-05/0.6636, allocations: 36.61 kB / 1.476 GB, free: 3.969 MB / 1.17 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001109/0.6647, allocations: 0.5413 MB / 1.477 GB, free: 3.41 MB / 1.17 GB
Notification: Performance of pre-optimization done (n=88): time 2.175e-06/0.6647, allocations: 0 / 1.477 GB, free: 3.41 MB / 1.17 GB
Notification: Performance of matching and sorting (n=88): time 0.003874/0.6686, allocations: 1.223 MB / 1.478 GB, free: 2.18 MB / 1.17 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001441/0.6688, allocations: 200.8 kB / 1.478 GB, free: 1.941 MB / 1.17 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001026/0.6698, allocations: 0.6567 MB / 1.479 GB, free: 1.273 MB / 1.17 GB
Notification: Performance of collectPreVariables (initialization): time 0.0001121/0.6699, allocations: 41.7 kB / 1.479 GB, free: 1.227 MB / 1.17 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0004532/0.6704, allocations: 409.2 kB / 1.479 GB, free: 0.8203 MB / 1.17 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0003071/0.6707, allocations: 297.5 kB / 1.479 GB, free: 0.5273 MB / 1.17 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003218/0.671, allocations: 182.5 kB / 1.479 GB, free: 348 kB / 1.17 GB
Notification: Performance of setup shared object (initialization): time 0.0002889/0.6713, allocations: 390.8 kB / 1.48 GB, free: 15.95 MB / 1.186 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007403/0.672, allocations: 289.8 kB / 1.48 GB, free: 15.67 MB / 1.186 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007767/0.6728, allocations: 387.1 kB / 1.48 GB, free: 15.28 MB / 1.186 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001353/0.6741, allocations: 0.6593 MB / 1.481 GB, free: 14.61 MB / 1.186 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.6741, allocations: 0 / 1.481 GB, free: 14.61 MB / 1.186 GB
Notification: Performance of matching and sorting (n=106) (initialization): time 0.00241/0.6766, allocations: 0.9194 MB / 1.482 GB, free: 13.68 MB / 1.186 GB
Notification: Performance of prepare postOptimizeDAE: time 2.503e-05/0.6766, allocations: 6.656 kB / 1.482 GB, free: 13.67 MB / 1.186 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.6766, allocations: 0 / 1.482 GB, free: 13.67 MB / 1.186 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0006455/0.6772, allocations: 80.83 kB / 1.482 GB, free: 13.59 MB / 1.186 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007851/0.678, allocations: 179.7 kB / 1.482 GB, free: 13.41 MB / 1.186 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002597/0.6806, allocations: 1.527 MB / 1.484 GB, free: 11.77 MB / 1.186 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000963/0.6816, allocations: 107.5 kB / 1.484 GB, free: 11.66 MB / 1.186 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.373e-05/0.6817, allocations: 39.97 kB / 1.484 GB, free: 11.62 MB / 1.186 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,solAzi.outsidePolarCircle,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 (104):
 * Single equations (assignments): 103
 * 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.0005596/0.6822, allocations: 275.8 kB / 1.484 GB, free: 11.34 MB / 1.186 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002129/0.6824, allocations: 91.39 kB / 1.484 GB, free: 11.25 MB / 1.186 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002919/0.6854, allocations: 1.203 MB / 1.485 GB, free: 10.04 MB / 1.186 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.008e-05/0.6854, allocations: 12 kB / 1.485 GB, free: 10.02 MB / 1.186 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.6854, allocations: 0 / 1.485 GB, free: 10.02 MB / 1.186 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.249e-05/0.6854, allocations: 3.984 kB / 1.485 GB, free: 10.02 MB / 1.186 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004065/0.6895, allocations: 2.071 MB / 1.487 GB, free: 7.895 MB / 1.186 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/0.6895, allocations: 0 / 1.487 GB, free: 7.895 MB / 1.186 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007102/0.6902, allocations: 163.8 kB / 1.488 GB, free: 7.734 MB / 1.186 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0004805/0.6907, allocations: 68.8 kB / 1.488 GB, free: 7.664 MB / 1.186 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.378e-05/0.6908, allocations: 35.97 kB / 1.488 GB, free: 7.629 MB / 1.186 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002506/0.6933, allocations: 1.555 MB / 1.489 GB, free: 5.953 MB / 1.186 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.6933, allocations: 0 / 1.489 GB, free: 5.953 MB / 1.186 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002604/0.6959, allocations: 1.096 MB / 1.49 GB, free: 4.84 MB / 1.186 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0005583/0.6964, allocations: 219 kB / 1.491 GB, free: 4.625 MB / 1.186 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001509/0.6966, allocations: 27.94 kB / 1.491 GB, free: 4.598 MB / 1.186 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007728/0.6973, allocations: 74.52 kB / 1.491 GB, free: 4.527 MB / 1.186 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001854/0.6975, allocations: 92.77 kB / 1.491 GB, free: 4.434 MB / 1.186 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.511e-05/0.6976, allocations: 39.97 kB / 1.491 GB, free: 4.395 MB / 1.186 GB
Notification: Performance of sorting global known variables: time 0.0006794/0.6983, allocations: 471 kB / 1.491 GB, free: 3.941 MB / 1.186 GB
Notification: Performance of sort global known variables: time 9e-08/0.6983, allocations: 0 / 1.491 GB, free: 3.941 MB / 1.186 GB
Notification: Performance of remove unused functions: time 0.001213/0.6995, allocations: 359.1 kB / 1.492 GB, free: 3.59 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 (106):
 * Single equations (assignments): 99
 * 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.002067/0.7016, allocations: 0.6238 MB / 1.492 GB, free: 3.137 MB / 1.186 GB
Notification: Performance of simCode: created initialization part: time 0.002244/0.7038, allocations: 0.8664 MB / 1.493 GB, free: 2.262 MB / 1.186 GB
Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.7038, allocations: 0 / 1.493 GB, free: 2.262 MB / 1.186 GB
Notification: Performance of simCode: created simulation system equations: time 0.001267/0.7051, allocations: 0.5313 MB / 1.494 GB, free: 1.719 MB / 1.186 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001546/0.7066, allocations: 318.2 kB / 1.494 GB, free: 1.43 MB / 1.186 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00366/0.7103, allocations: 1.773 MB / 1.496 GB, free: 15.62 MB / 1.201 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008012/0.7111, allocations: 1.044 MB / 1.497 GB, free: 14.55 MB / 1.201 GB
Notification: Performance of simCode: alias equations: time 0.0008838/0.712, allocations: 275.1 kB / 1.497 GB, free: 14.27 MB / 1.201 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003232/0.7123, allocations: 119.4 kB / 1.497 GB, free: 14.16 MB / 1.201 GB
Notification: Performance of SimCode: time 1.653e-06/0.7123, allocations: 3.938 kB / 1.497 GB, free: 14.15 MB / 1.201 GB
Notification: Performance of Templates: time 0.03773/0.75, allocations: 16.87 MB / 1.513 GB, free: 13.45 MB / 1.217 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.makefile [Timeout 300]
(rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth  -abortSlowSimulation -alarm=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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: 10.111311382614076]