Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001342/0.001342, allocations: 113.9 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.001439/0.001439, allocations: 189.9 kB / 22.23 MB, free: 5.102 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.43/1.43, 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 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.808/2.808, allocations: 476.7 MB / 0.7646 GB, free: 9.914 MB / 0.6231 GB
"
[Timeout remaining time 177]
Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002093/0.002093, allocations: 67.89 kB / 1.11 GB, free: 6.379 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.8477/0.8498, allocations: 168.8 MB / 1.274 GB, free: 4.285 MB / 0.9669 GB
Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.003376/0.8531, allocations: 1.612 MB / 1.276 GB, free: 2.668 MB / 0.9669 GB
Notification: Performance of NFInst.instExpressions: time 0.001359/0.8545, allocations: 0.6599 MB / 1.277 GB, free: 2.004 MB / 0.9669 GB
Notification: Performance of NFInst.updateImplicitVariability: time 7.516e-05/0.8546, allocations: 4 kB / 1.277 GB, free: 2 MB / 0.9669 GB
Notification: Performance of NFTyping.typeComponents: time 0.00019/0.8548, allocations: 75.77 kB / 1.277 GB, free: 1.926 MB / 0.9669 GB
Notification: Performance of NFTyping.typeBindings: time 0.0003254/0.8551, allocations: 107.7 kB / 1.277 GB, free: 1.82 MB / 0.9669 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0003977/0.8555, allocations: 103.7 kB / 1.277 GB, free: 1.719 MB / 0.9669 GB
Notification: Performance of NFFlatten.flatten: time 0.0002266/0.8557, allocations: 139.6 kB / 1.277 GB, free: 1.582 MB / 0.9669 GB
Notification: Performance of NFFlatten.resolveConnections: time 8.903e-05/0.8558, allocations: 0 / 1.277 GB, free: 1.582 MB / 0.9669 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001835/0.856, allocations: 75.84 kB / 1.277 GB, free: 1.508 MB / 0.9669 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001996/0.8562, allocations: 107.8 kB / 1.277 GB, free: 1.402 MB / 0.9669 GB
Notification: Performance of NFPackage.collectConstants: time 2.895e-05/0.8562, allocations: 11.94 kB / 1.277 GB, free: 1.391 MB / 0.9669 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001715/0.8564, allocations: 83.92 kB / 1.277 GB, free: 1.309 MB / 0.9669 GB
Notification: Performance of NFScalarize.scalarize: time 7.444e-05/0.8565, allocations: 27.86 kB / 1.277 GB, free: 1.281 MB / 0.9669 GB
Notification: Performance of NFVerifyModel.verify: time 8.814e-05/0.8565, allocations: 63.59 kB / 1.277 GB, free: 1.219 MB / 0.9669 GB
Notification: Performance of NFConvertDAE.convert: time 0.0003082/0.8569, allocations: 169.8 kB / 1.277 GB, free: 1.059 MB / 0.9669 GB
Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.8569, allocations: 0 / 1.277 GB, free: 1.059 MB / 0.9669 GB
Notification: Performance of FrontEnd: time 1.693e-06/0.8569, allocations: 0 / 1.277 GB, free: 1.059 MB / 0.9669 GB
Notification: Performance of Transformations before backend: time 6.553e-06/0.8569, allocations: 0 / 1.277 GB, free: 1.059 MB / 0.9669 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.0008434/0.8577, allocations: 411 kB / 1.278 GB, free: 0.6211 MB / 0.9669 GB
Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/0.8578, allocations: 8.031 kB / 1.278 GB, free: 0.6133 MB / 0.9669 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 7.271e-05/0.8578, allocations: 16.84 kB / 1.278 GB, free: 0.5977 MB / 0.9669 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003157/0.8581, allocations: 154.2 kB / 1.278 GB, free: 432 kB / 0.9669 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.73e-05/0.8582, allocations: 4.375 kB / 1.278 GB, free: 428 kB / 0.9669 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.976e-05/0.8582, allocations: 8.375 kB / 1.278 GB, free: 420 kB / 0.9669 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002624/0.8585, allocations: 127.7 kB / 1.278 GB, free: 280 kB / 0.9669 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.8585, allocations: 0 / 1.278 GB, free: 280 kB / 0.9669 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.033e-05/0.8585, allocations: 8 kB / 1.278 GB, free: 272 kB / 0.9669 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.8585, allocations: 3.938 kB / 1.278 GB, free: 268 kB / 0.9669 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001372/0.8586, allocations: 71.89 kB / 1.278 GB, free: 196 kB / 0.9669 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005532/0.8592, allocations: 380 kB / 1.279 GB, free: 15.77 MB / 0.9825 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002076/0.8594, allocations: 109.1 kB / 1.279 GB, free: 15.65 MB / 0.9825 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001166/0.8595, allocations: 69.8 kB / 1.279 GB, free: 15.57 MB / 0.9825 GB
Notification: Performance of preOpt evalFunc (simulation): time 3.233e-05/0.8595, allocations: 3.984 kB / 1.279 GB, free: 15.57 MB / 0.9825 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002862/0.8598, allocations: 174.7 kB / 1.279 GB, free: 15.38 MB / 0.9825 GB
Notification: Performance of pre-optimization done (n=13): time 1.403e-06/0.8598, allocations: 0 / 1.279 GB, free: 15.38 MB / 0.9825 GB
Notification: Performance of matching and sorting (n=13): time 0.0006237/0.8605, allocations: 339.2 kB / 1.279 GB, free: 15.03 MB / 0.9825 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001112/0.8606, allocations: 110.8 kB / 1.279 GB, free: 14.9 MB / 0.9825 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002334/0.8608, allocations: 212.7 kB / 1.28 GB, free: 14.68 MB / 0.9825 GB
Notification: Performance of collectPreVariables (initialization): time 2.708e-05/0.8608, allocations: 29.7 kB / 1.28 GB, free: 14.64 MB / 0.9825 GB
Notification: Performance of collectInitialEqns (initialization): time 8.609e-05/0.8609, allocations: 120.1 kB / 1.28 GB, free: 14.52 MB / 0.9825 GB
Notification: Performance of collectInitialBindings (initialization): time 4.497e-05/0.861, allocations: 27.75 kB / 1.28 GB, free: 14.5 MB / 0.9825 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 6.518e-05/0.861, allocations: 37.66 kB / 1.28 GB, free: 14.45 MB / 0.9825 GB
Notification: Performance of setup shared object (initialization): time 0.0001572/0.8612, allocations: 330.8 kB / 1.28 GB, free: 14.12 MB / 0.9825 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001073/0.8613, allocations: 63.91 kB / 1.28 GB, free: 14.06 MB / 0.9825 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001033/0.8614, allocations: 77.69 kB / 1.28 GB, free: 13.98 MB / 0.9825 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002361/0.8616, allocations: 200.9 kB / 1.28 GB, free: 13.76 MB / 0.9825 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.8616, allocations: 0 / 1.28 GB, free: 13.76 MB / 0.9825 GB
Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003501/0.862, allocations: 263.2 kB / 1.281 GB, free: 13.49 MB / 0.9825 GB
Notification: Performance of prepare postOptimizeDAE: time 4.83e-05/0.862, allocations: 41.69 kB / 1.281 GB, free: 13.45 MB / 0.9825 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.862, allocations: 0 / 1.281 GB, free: 13.45 MB / 0.9825 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.862, allocations: 4 kB / 1.281 GB, free: 13.44 MB / 0.9825 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001114/0.8622, allocations: 12.3 kB / 1.281 GB, free: 13.43 MB / 0.9825 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.8622, allocations: 4 kB / 1.281 GB, free: 13.43 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001008/0.8623, allocations: 4 kB / 1.281 GB, free: 13.42 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.045e-05/0.8623, allocations: 8 kB / 1.281 GB, free: 13.41 MB / 0.9825 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.0001756/0.8625, allocations: 188.8 kB / 1.281 GB, free: 13.21 MB / 0.9825 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.382e-05/0.8625, allocations: 27.8 kB / 1.281 GB, free: 13.19 MB / 0.9825 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002276/0.8627, allocations: 103.1 kB / 1.281 GB, free: 13.07 MB / 0.9825 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.8627, allocations: 0 / 1.281 GB, free: 13.07 MB / 0.9825 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.8627, allocations: 4 kB / 1.281 GB, free: 13.07 MB / 0.9825 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.8627, allocations: 0 / 1.281 GB, free: 13.07 MB / 0.9825 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002176/0.863, allocations: 204.6 kB / 1.281 GB, free: 12.83 MB / 0.9825 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.863, allocations: 8 kB / 1.281 GB, free: 12.82 MB / 0.9825 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.508e-05/0.863, allocations: 8 kB / 1.281 GB, free: 12.81 MB / 0.9825 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.863, allocations: 0 / 1.281 GB, free: 12.81 MB / 0.9825 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.001e-05/0.863, allocations: 7.984 kB / 1.281 GB, free: 12.8 MB / 0.9825 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.863, allocations: 3.938 kB / 1.281 GB, free: 12.8 MB / 0.9825 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.863, allocations: 0 / 1.281 GB, free: 12.8 MB / 0.9825 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000447/0.8635, allocations: 335.5 kB / 1.282 GB, free: 12.45 MB / 0.9825 GB
Notification: Performance of postOpt removeConstants (simulation): time 7.074e-05/0.8636, allocations: 31.84 kB / 1.282 GB, free: 12.41 MB / 0.9825 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.645e-05/0.8636, allocations: 4 kB / 1.282 GB, free: 12.41 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.8637, allocations: 15.98 kB / 1.282 GB, free: 12.39 MB / 0.9825 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.971e-05/0.8638, allocations: 7.984 kB / 1.282 GB, free: 12.39 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.426e-05/0.8638, allocations: 8 kB / 1.282 GB, free: 12.38 MB / 0.9825 GB
Notification: Performance of sorting global known variables: time 0.0001534/0.8639, allocations: 164.8 kB / 1.282 GB, free: 12.22 MB / 0.9825 GB
Notification: Performance of sort global known variables: time 8e-08/0.8639, allocations: 0 / 1.282 GB, free: 12.22 MB / 0.9825 GB
Notification: Performance of remove unused functions: time 0.0002784/0.8642, allocations: 47.94 kB / 1.282 GB, free: 12.17 MB / 0.9825 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.0002246/0.8644, allocations: 139.1 kB / 1.282 GB, free: 12.03 MB / 0.9825 GB
Notification: Performance of simCode: created initialization part: time 0.0003678/0.8648, allocations: 211.3 kB / 1.282 GB, free: 11.81 MB / 0.9825 GB
Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.8648, allocations: 0 / 1.282 GB, free: 11.81 MB / 0.9825 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001905/0.865, allocations: 127.4 kB / 1.282 GB, free: 11.67 MB / 0.9825 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002368/0.8652, allocations: 18.03 kB / 1.282 GB, free: 11.66 MB / 0.9825 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006769/0.8659, allocations: 356.1 kB / 1.283 GB, free: 11.27 MB / 0.9825 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003868/0.8663, allocations: 0.7236 MB / 1.283 GB, free: 10.52 MB / 0.9825 GB
Notification: Performance of simCode: alias equations: time 4.185e-05/0.8663, allocations: 4 kB / 1.283 GB, free: 10.52 MB / 0.9825 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.134e-05/0.8664, allocations: 15.38 kB / 1.283 GB, free: 10.51 MB / 0.9825 GB
Notification: Performance of SimCode: time 6.11e-07/0.8664, allocations: 0 / 1.283 GB, free: 10.51 MB / 0.9825 GB
Notification: Performance of Templates: time 0.005592/0.872, allocations: 1.735 MB / 1.285 GB, free: 8.789 MB / 0.9825 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.makefile [Timeout 300]
(rm -f Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & ./Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.735028803348541]