Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.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.001334/0.001334, allocations: 112.7 kB / 18.94 MB, free: 2.93 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.001651/0.001651, allocations: 189.9 kB / 22.22 MB, free: 5.105 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.414/1.414, allocations: 225.6 MB / 251 MB, free: 13.03 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.125/3.125, allocations: 495.7 MB / 0.7831 GB, free: 33.5 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-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.Declination,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|decAng.decAng|solDecNOAA.y",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination")
translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|decAng.decAng|solDecNOAA.y",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002125/0.002125, allocations: 72.59 kB / 1.137 GB, free: 33.84 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4296/0.4317, allocations: 173.6 MB / 1.307 GB, free: 1.945 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.003202/0.4349, allocations: 1.629 MB / 1.309 GB, free: 312 kB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.001343/0.4362, allocations: 0.6544 MB / 1.309 GB, free: 15.64 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 6.825e-05/0.4363, allocations: 0 / 1.309 GB, free: 15.64 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 0.0001797/0.4365, allocations: 79.75 kB / 1.309 GB, free: 15.57 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 0.0003215/0.4368, allocations: 106.9 kB / 1.309 GB, free: 15.46 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0003778/0.4372, allocations: 95.77 kB / 1.309 GB, free: 15.37 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0002069/0.4374, allocations: 135.6 kB / 1.31 GB, free: 15.24 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 9.033e-05/0.4375, allocations: 3.984 kB / 1.31 GB, free: 15.23 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.000218/0.4377, allocations: 71.88 kB / 1.31 GB, free: 15.16 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.000207/0.4379, allocations: 115.7 kB / 1.31 GB, free: 15.05 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 2.513e-05/0.4379, allocations: 8 kB / 1.31 GB, free: 15.04 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001536/0.4381, allocations: 79.88 kB / 1.31 GB, free: 14.96 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 7.59e-05/0.4382, allocations: 43.84 kB / 1.31 GB, free: 14.92 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 8.598e-05/0.4382, allocations: 47.67 kB / 1.31 GB, free: 14.88 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0003081/0.4386, allocations: 171.3 kB / 1.31 GB, free: 14.71 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.4386, allocations: 0 / 1.31 GB, free: 14.71 MB / 1.014 GB
Notification: Performance of FrontEnd: time 2.695e-06/0.4386, allocations: 0 / 1.31 GB, free: 14.71 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 7.033e-06/0.4386, allocations: 0 / 1.31 GB, free: 14.71 MB / 1.014 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 13
 * Number of variables: 13
Notification: Performance of Generate backend data structure: time 0.0007779/0.4393, allocations: 411.1 kB / 1.31 GB, free: 14.27 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.4394, allocations: 12.03 kB / 1.31 GB, free: 14.26 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 6.053e-05/0.4394, allocations: 12.84 kB / 1.311 GB, free: 14.25 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003163/0.4398, allocations: 173.9 kB / 1.311 GB, free: 14.05 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/0.4398, allocations: 4.359 kB / 1.311 GB, free: 14.05 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.892e-05/0.4398, allocations: 4.375 kB / 1.311 GB, free: 14.04 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002535/0.4401, allocations: 127.6 kB / 1.311 GB, free: 13.91 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.4401, allocations: 4 kB / 1.311 GB, free: 13.9 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.682e-05/0.4401, allocations: 4 kB / 1.311 GB, free: 13.9 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.4401, allocations: 0 / 1.311 GB, free: 13.9 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001518/0.4402, allocations: 75.89 kB / 1.311 GB, free: 13.82 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004984/0.4407, allocations: 376 kB / 1.311 GB, free: 13.41 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001949/0.4409, allocations: 109.1 kB / 1.311 GB, free: 13.29 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001114/0.441, allocations: 69.78 kB / 1.311 GB, free: 13.21 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.377e-05/0.4411, allocations: 4 kB / 1.311 GB, free: 13.21 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002899/0.4414, allocations: 182.6 kB / 1.312 GB, free: 13 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=13): time 1.673e-06/0.4414, allocations: 0 / 1.312 GB, free: 13 MB / 1.014 GB
Notification: Performance of matching and sorting (n=13): time 0.0005887/0.4419, allocations: 335.1 kB / 1.312 GB, free: 12.66 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 8.323e-05/0.442, allocations: 106.8 kB / 1.312 GB, free: 12.54 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002286/0.4423, allocations: 217.6 kB / 1.312 GB, free: 12.31 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 2.546e-05/0.4423, allocations: 25.7 kB / 1.312 GB, free: 12.28 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 8.127e-05/0.4424, allocations: 112.3 kB / 1.312 GB, free: 12.16 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 5.505e-05/0.4424, allocations: 47.67 kB / 1.312 GB, free: 12.12 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.639e-05/0.4425, allocations: 25.7 kB / 1.312 GB, free: 12.09 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001678/0.4426, allocations: 334.8 kB / 1.313 GB, free: 11.75 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 9.534e-05/0.4427, allocations: 55.97 kB / 1.313 GB, free: 11.7 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001096/0.4428, allocations: 84.36 kB / 1.313 GB, free: 11.61 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002249/0.4431, allocations: 193 kB / 1.313 GB, free: 11.4 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.4431, allocations: 0 / 1.313 GB, free: 11.4 MB / 1.014 GB
Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003842/0.4435, allocations: 271.2 kB / 1.313 GB, free: 11.12 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 4.333e-05/0.4435, allocations: 41.62 kB / 1.313 GB, free: 11.08 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.4435, allocations: 4 kB / 1.313 GB, free: 11.07 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.202e-05/0.4435, allocations: 0 / 1.313 GB, free: 11.07 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000113/0.4436, allocations: 8 kB / 1.313 GB, free: 11.07 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.4437, allocations: 7.984 kB / 1.313 GB, free: 11.06 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001046/0.4438, allocations: 4 kB / 1.313 GB, free: 11.05 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.987e-05/0.4438, allocations: 12 kB / 1.313 GB, free: 11.04 MB / 1.014 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 2
 * Number of states: 0 ()
 * Number of discrete variables: 10 (decAng.tNext,$PRE.decAng.tNext,$whenCondition2,solDecNOAA.nextEventScaled,solDecNOAA.nextEvent,$PRE.solDecNOAA.nextEvent,solDecNOAA.last,solDecNOAA.b,solDecNOAA.a,$whenCondition1)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (10):
 * Single equations (assignments): 9
 * Array equations: 0
 * Algorithm blocks: 1
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of prepare postOptimizeDAE: time 0.0001794/0.444, allocations: 186.2 kB / 1.314 GB, free: 10.85 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.68e-05/0.444, allocations: 19.86 kB / 1.314 GB, free: 10.83 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002239/0.4442, allocations: 95.38 kB / 1.314 GB, free: 10.73 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.4442, allocations: 0 / 1.314 GB, free: 10.73 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 9.398e-06/0.4442, allocations: 8.156 kB / 1.314 GB, free: 10.72 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/0.4442, allocations: 7.984 kB / 1.314 GB, free: 10.71 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002292/0.4445, allocations: 208.5 kB / 1.314 GB, free: 10.46 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.4445, allocations: 4 kB / 1.314 GB, free: 10.46 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.833e-05/0.4445, allocations: 11.94 kB / 1.314 GB, free: 10.45 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.4445, allocations: 0 / 1.314 GB, free: 10.45 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.069e-05/0.4446, allocations: 8 kB / 1.314 GB, free: 10.44 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.4446, allocations: 0 / 1.314 GB, free: 10.44 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.4446, allocations: 7.922 kB / 1.314 GB, free: 10.43 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004512/0.445, allocations: 327.5 kB / 1.314 GB, free: 10.09 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 8.604e-05/0.4451, allocations: 31.83 kB / 1.314 GB, free: 10.05 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.697e-05/0.4451, allocations: 8 kB / 1.314 GB, free: 10.05 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.761e-05/0.4452, allocations: 8 kB / 1.314 GB, free: 10.04 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.196e-05/0.4453, allocations: 15.97 kB / 1.314 GB, free: 10.02 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.395e-05/0.4453, allocations: 4 kB / 1.314 GB, free: 10.02 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 0.0001473/0.4455, allocations: 163.3 kB / 1.314 GB, free: 9.859 MB / 1.014 GB
Notification: Performance of sort global known variables: time 9e-08/0.4455, allocations: 0 / 1.314 GB, free: 9.859 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0003002/0.4458, allocations: 43.94 kB / 1.314 GB, free: 9.816 MB / 1.014 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 2
 * Number of states: 0 ()
 * Number of discrete variables: 8 ($whenCondition2,decAng.tNext,$whenCondition1,solDecNOAA.a,solDecNOAA.b,solDecNOAA.last,solDecNOAA.nextEvent,solDecNOAA.nextEventScaled)
 * Number of discrete states: 7 (solDecNOAA.nextEvent,solDecNOAA.last,solDecNOAA.nextEventScaled,solDecNOAA.b,solDecNOAA.a,$whenCondition1,decAng.tNext)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (9):
 * Single equations (assignments): 7
 * Array equations: 0
 * Algorithm blocks: 1
 * Record equations: 0
 * When equations: 1
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of Backend phase and start with SimCode phase: time 0.0002304/0.446, allocations: 139.8 kB / 1.315 GB, free: 9.672 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0003562/0.4464, allocations: 207.3 kB / 1.315 GB, free: 9.457 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4464, allocations: 0 / 1.315 GB, free: 9.457 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001733/0.4465, allocations: 135.4 kB / 1.315 GB, free: 9.312 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002222/0.4467, allocations: 12 kB / 1.315 GB, free: 9.301 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006781/0.4474, allocations: 366.5 kB / 1.315 GB, free: 8.918 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000406/0.4478, allocations: 0.7194 MB / 1.316 GB, free: 8.176 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 4.385e-05/0.4479, allocations: 8.078 kB / 1.316 GB, free: 8.168 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.921e-05/0.4479, allocations: 23.38 kB / 1.316 GB, free: 8.145 MB / 1.014 GB
Notification: Performance of SimCode: time 3.1e-07/0.4479, allocations: 0 / 1.316 GB, free: 8.145 MB / 1.014 GB
Notification: Performance of Templates: time 0.005455/0.4534, allocations: 1.732 MB / 1.318 GB, free: 6.43 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.makefile [Timeout 300]
(rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination  -abortSlowSimulation -alarm=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.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.52566932886839]