Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00131/0.00131, 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.001601/0.001601, allocations: 192.2 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.414/1.414, 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-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.147/3.147, allocations: 496 MB / 0.7835 GB, free: 33.69 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-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.Declination,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|decAng.decAng|solDecNOAA.y",fileNamePrefix="Buildings_12_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_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002042/0.002042, allocations: 66.36 kB / 1.138 GB, free: 33.88 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3418/0.3438, allocations: 173.6 MB / 1.307 GB, free: 1.793 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.003544/0.3474, allocations: 1.639 MB / 1.309 GB, free: 148 kB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.001274/0.3486, allocations: 0.6582 MB / 1.31 GB, free: 15.48 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 6.53e-05/0.3487, allocations: 0 / 1.31 GB, free: 15.48 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 0.0001864/0.3489, allocations: 71.83 kB / 1.31 GB, free: 15.41 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 0.0003136/0.3492, allocations: 111.6 kB / 1.31 GB, free: 15.3 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0003685/0.3496, allocations: 102 kB / 1.31 GB, free: 15.2 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0002015/0.3498, allocations: 127.7 kB / 1.31 GB, free: 15.08 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 8.756e-05/0.3499, allocations: 7.984 kB / 1.31 GB, free: 15.07 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001672/0.35, allocations: 67.81 kB / 1.31 GB, free: 15 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001924/0.3502, allocations: 115.7 kB / 1.31 GB, free: 14.89 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 2.54e-05/0.3502, allocations: 8 kB / 1.31 GB, free: 14.88 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.000153/0.3504, allocations: 83.92 kB / 1.31 GB, free: 14.8 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 7.629e-05/0.3505, allocations: 39.78 kB / 1.31 GB, free: 14.76 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 7.823e-05/0.3505, allocations: 51.67 kB / 1.31 GB, free: 14.71 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0002719/0.3508, allocations: 171.3 kB / 1.31 GB, free: 14.54 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.3508, allocations: 4 kB / 1.31 GB, free: 14.54 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.543e-06/0.3508, allocations: 0 / 1.31 GB, free: 14.54 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 6.422e-06/0.3508, allocations: 0 / 1.31 GB, free: 14.54 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.0007701/0.3516, allocations: 407.1 kB / 1.311 GB, free: 14.11 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.3516, allocations: 8.922 kB / 1.311 GB, free: 14.1 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.968e-05/0.3517, allocations: 16.84 kB / 1.311 GB, free: 14.08 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002805/0.352, allocations: 161.9 kB / 1.311 GB, free: 13.9 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.66e-05/0.352, allocations: 4.375 kB / 1.311 GB, free: 13.89 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.164e-05/0.352, allocations: 20.31 kB / 1.311 GB, free: 13.88 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002377/0.3523, allocations: 119.7 kB / 1.311 GB, free: 13.75 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.3523, allocations: 0 / 1.311 GB, free: 13.75 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.835e-05/0.3523, allocations: 0 / 1.311 GB, free: 13.75 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.3523, allocations: 4 kB / 1.311 GB, free: 13.74 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001412/0.3524, allocations: 75.89 kB / 1.311 GB, free: 13.67 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004828/0.3529, allocations: 376 kB / 1.312 GB, free: 13.25 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001806/0.3531, allocations: 109 kB / 1.312 GB, free: 13.13 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001181/0.3532, allocations: 73.78 kB / 1.312 GB, free: 13.05 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.385e-05/0.3533, allocations: 3.984 kB / 1.312 GB, free: 13.05 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002615/0.3535, allocations: 174.9 kB / 1.312 GB, free: 12.85 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=13): time 1.523e-06/0.3535, allocations: 0 / 1.312 GB, free: 12.85 MB / 1.014 GB
Notification: Performance of matching and sorting (n=13): time 0.0005791/0.3541, allocations: 339.1 kB / 1.312 GB, free: 12.51 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 8.037e-05/0.3542, allocations: 114.8 kB / 1.312 GB, free: 12.37 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002217/0.3544, allocations: 209.6 kB / 1.313 GB, free: 12.15 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 3.145e-05/0.3544, allocations: 29.7 kB / 1.313 GB, free: 12.12 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 7.891e-05/0.3545, allocations: 120.1 kB / 1.313 GB, free: 12 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 4.3e-05/0.3545, allocations: 35.69 kB / 1.313 GB, free: 11.96 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 6.198e-05/0.3546, allocations: 33.7 kB / 1.313 GB, free: 11.92 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001551/0.3548, allocations: 326.8 kB / 1.313 GB, free: 11.59 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 9.905e-05/0.3549, allocations: 63.97 kB / 1.313 GB, free: 11.53 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001004/0.355, allocations: 73.69 kB / 1.313 GB, free: 11.45 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002213/0.3552, allocations: 193.1 kB / 1.313 GB, free: 11.25 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.3552, allocations: 4 kB / 1.313 GB, free: 11.24 MB / 1.014 GB
Notification: Performance of matching and sorting (n=15) (initialization): time 0.000362/0.3556, allocations: 267.1 kB / 1.314 GB, free: 10.97 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 4.895e-05/0.3556, allocations: 41.69 kB / 1.314 GB, free: 10.92 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.3556, allocations: 3.938 kB / 1.314 GB, free: 10.92 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.3556, allocations: 0 / 1.314 GB, free: 10.92 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/0.3557, allocations: 15.98 kB / 1.314 GB, free: 10.9 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.3557, allocations: 0 / 1.314 GB, free: 10.9 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001032/0.3558, allocations: 8 kB / 1.314 GB, free: 10.89 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.654e-05/0.3558, allocations: 4 kB / 1.314 GB, free: 10.89 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.0001744/0.356, allocations: 187.4 kB / 1.314 GB, free: 10.69 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.711e-05/0.3561, allocations: 23.86 kB / 1.314 GB, free: 10.67 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002168/0.3563, allocations: 99.38 kB / 1.314 GB, free: 10.56 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.3563, allocations: 4 kB / 1.314 GB, free: 10.56 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.3563, allocations: 0 / 1.314 GB, free: 10.56 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.3563, allocations: 0 / 1.314 GB, free: 10.56 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002108/0.3565, allocations: 208.6 kB / 1.314 GB, free: 10.31 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.3565, allocations: 3.938 kB / 1.314 GB, free: 10.31 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.792e-05/0.3566, allocations: 16 kB / 1.314 GB, free: 10.29 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 6.111e-06/0.3566, allocations: 4 kB / 1.314 GB, free: 10.29 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.512e-05/0.3566, allocations: 0 / 1.314 GB, free: 10.29 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.761e-06/0.3566, allocations: 7.984 kB / 1.314 GB, free: 10.28 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.3566, allocations: 0 / 1.314 GB, free: 10.28 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004509/0.357, allocations: 335.4 kB / 1.315 GB, free: 9.926 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 7.643e-05/0.3571, allocations: 27.84 kB / 1.315 GB, free: 9.898 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.493e-05/0.3572, allocations: 8 kB / 1.315 GB, free: 9.891 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.3573, allocations: 11.98 kB / 1.315 GB, free: 9.879 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.87e-05/0.3573, allocations: 7.984 kB / 1.315 GB, free: 9.871 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.175e-05/0.3573, allocations: 8 kB / 1.315 GB, free: 9.863 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 0.0001484/0.3575, allocations: 163.3 kB / 1.315 GB, free: 9.703 MB / 1.014 GB
Notification: Performance of sort global known variables: time 8.1e-08/0.3575, allocations: 0 / 1.315 GB, free: 9.703 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002613/0.3577, allocations: 43.94 kB / 1.315 GB, free: 9.66 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.0002081/0.3579, allocations: 145.9 kB / 1.315 GB, free: 9.512 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0003338/0.3583, allocations: 209.8 kB / 1.315 GB, free: 9.297 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3583, allocations: 0 / 1.315 GB, free: 9.297 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001661/0.3585, allocations: 135.5 kB / 1.315 GB, free: 9.152 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002208/0.3587, allocations: 16.09 kB / 1.315 GB, free: 9.137 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006109/0.3593, allocations: 352.3 kB / 1.316 GB, free: 8.766 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003534/0.3596, allocations: 0.7236 MB / 1.316 GB, free: 8.016 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 4.111e-05/0.3597, allocations: 7.984 kB / 1.316 GB, free: 8.008 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.439e-05/0.3597, allocations: 15.38 kB / 1.316 GB, free: 7.992 MB / 1.014 GB
Notification: Performance of SimCode: time 3.31e-07/0.3597, allocations: 0 / 1.316 GB, free: 7.992 MB / 1.014 GB
Notification: Performance of Templates: time 0.005195/0.3649, allocations: 1.723 MB / 1.318 GB, free: 6.281 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & ./Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.847018096596003]