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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001521/0.001521, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001524/0.001524, allocations: 210.5 kB / 22.24 MB, free: 4.859 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.453/1.453, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.307/3.307, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002105/0.002105, allocations: 67.69 kB / 1.186 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3682/0.3703, allocations: 181.9 MB / 1.364 GB, free: 13.58 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002919/0.3732, allocations: 1.614 MB / 1.365 GB, free: 11.95 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001239/0.3745, allocations: 0.6321 MB / 1.366 GB, free: 11.31 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.498e-05/0.3745, allocations: 0 / 1.366 GB, free: 11.31 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001717/0.3747, allocations: 79.81 kB / 1.366 GB, free: 11.23 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002761/0.375, allocations: 99.69 kB / 1.366 GB, free: 11.14 MB / 1.061 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/BoundaryConditions/WeatherData/BaseClasses/PartialConvertTime.mo:31:3-34:11:writable] Warning: initial() may only be used as a when condition (when initial() or when {..., initial(), ...}), but got condition '(not initial() and decAng.canRepeatWeatherFile) and decAng.modTimAux > pre(decAng.tNext)'. Notification: Performance of NFTyping.typeClassSections: time 0.0003739/0.3754, allocations: 111.7 kB / 1.366 GB, free: 11.03 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001864/0.3755, allocations: 127.7 kB / 1.366 GB, free: 10.9 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 8.273e-05/0.3756, allocations: 11.98 kB / 1.366 GB, free: 10.89 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002276/0.3758, allocations: 83.72 kB / 1.367 GB, free: 10.81 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001883/0.376, allocations: 111.8 kB / 1.367 GB, free: 10.7 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.562e-05/0.3761, allocations: 8 kB / 1.367 GB, free: 10.69 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000158/0.3762, allocations: 83.92 kB / 1.367 GB, free: 10.61 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.32e-05/0.3763, allocations: 39.89 kB / 1.367 GB, free: 10.57 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 6.829e-05/0.3764, allocations: 43.67 kB / 1.367 GB, free: 10.53 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002806/0.3766, allocations: 187.2 kB / 1.367 GB, free: 10.34 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.3766, allocations: 4 kB / 1.367 GB, free: 10.34 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.132e-06/0.3767, allocations: 0 / 1.367 GB, free: 10.34 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.3767, allocations: 0 / 1.367 GB, free: 10.34 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007726/0.3774, allocations: 415 kB / 1.367 GB, free: 9.898 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.128e-05/0.3775, allocations: 11.97 kB / 1.367 GB, free: 9.887 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001717/0.3776, allocations: 28.84 kB / 1.367 GB, free: 9.859 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002771/0.3779, allocations: 165.9 kB / 1.368 GB, free: 9.672 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/0.3779, allocations: 4.375 kB / 1.368 GB, free: 9.668 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.736e-05/0.3779, allocations: 4.375 kB / 1.368 GB, free: 9.664 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002612/0.3782, allocations: 167.5 kB / 1.368 GB, free: 9.484 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.3782, allocations: 0 / 1.368 GB, free: 9.484 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/0.3782, allocations: 7.984 kB / 1.368 GB, free: 9.477 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.3782, allocations: 0 / 1.368 GB, free: 9.477 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001575/0.3784, allocations: 101.7 kB / 1.368 GB, free: 9.371 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005192/0.3789, allocations: 348.6 kB / 1.368 GB, free: 8.996 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002415/0.3791, allocations: 150.8 kB / 1.368 GB, free: 8.824 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001422/0.3793, allocations: 107.5 kB / 1.368 GB, free: 8.707 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.292e-05/0.3793, allocations: 3.938 kB / 1.368 GB, free: 8.703 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002993/0.3796, allocations: 216.4 kB / 1.369 GB, free: 8.461 MB / 1.061 GB Notification: Performance of pre-optimization done (n=14): time 1.293e-06/0.3796, allocations: 0 / 1.369 GB, free: 8.461 MB / 1.061 GB Notification: Performance of matching and sorting (n=14): time 0.0006182/0.3802, allocations: 402.5 kB / 1.369 GB, free: 8.043 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.43e-05/0.3803, allocations: 114.8 kB / 1.369 GB, free: 7.906 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002275/0.3806, allocations: 210.6 kB / 1.369 GB, free: 7.684 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.369e-05/0.3806, allocations: 33.7 kB / 1.369 GB, free: 7.645 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.859e-05/0.3807, allocations: 116.3 kB / 1.369 GB, free: 7.523 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.818e-05/0.3807, allocations: 47.84 kB / 1.37 GB, free: 7.477 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.346e-05/0.3808, allocations: 33.7 kB / 1.37 GB, free: 7.438 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001571/0.3809, allocations: 334.8 kB / 1.37 GB, free: 7.102 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001501/0.3811, allocations: 97.58 kB / 1.37 GB, free: 7 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001363/0.3812, allocations: 115.4 kB / 1.37 GB, free: 6.875 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002496/0.3815, allocations: 205 kB / 1.37 GB, free: 6.656 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.3815, allocations: 0 / 1.37 GB, free: 6.656 MB / 1.061 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004191/0.3819, allocations: 321 kB / 1.371 GB, free: 6.324 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.493e-05/0.3819, allocations: 39.89 kB / 1.371 GB, free: 6.281 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.382, allocations: 3.984 kB / 1.371 GB, free: 6.277 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.382, allocations: 4 kB / 1.371 GB, free: 6.273 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.3821, allocations: 11.94 kB / 1.371 GB, free: 6.262 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.3821, allocations: 4 kB / 1.371 GB, free: 6.258 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000102/0.3822, allocations: 15.94 kB / 1.371 GB, free: 6.242 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.831e-05/0.3822, allocations: 4 kB / 1.371 GB, free: 6.238 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 12 (decAng.k,$PRE.decAng.k,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 (12): * Single equations (assignments): 11 * 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.0001831/0.3824, allocations: 187.4 kB / 1.371 GB, free: 6.039 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.406e-05/0.3824, allocations: 15.91 kB / 1.371 GB, free: 6.023 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002321/0.3827, allocations: 107 kB / 1.371 GB, free: 5.906 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.3827, allocations: 4 kB / 1.371 GB, free: 5.902 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.3827, allocations: 0 / 1.371 GB, free: 5.902 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.3827, allocations: 0 / 1.371 GB, free: 5.902 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000177/0.3828, allocations: 169.1 kB / 1.371 GB, free: 5.707 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.3828, allocations: 256 / 1.371 GB, free: 5.707 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.195e-05/0.3829, allocations: 11.98 kB / 1.371 GB, free: 5.695 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.035e-06/0.3829, allocations: 8 kB / 1.371 GB, free: 5.688 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.817e-05/0.3829, allocations: 8 kB / 1.371 GB, free: 5.68 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3829, allocations: 0 / 1.371 GB, free: 5.68 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3829, allocations: 4 kB / 1.371 GB, free: 5.676 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000498/0.3834, allocations: 381.1 kB / 1.371 GB, free: 5.27 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 9.028e-05/0.3835, allocations: 43.8 kB / 1.372 GB, free: 5.227 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.619e-05/0.3836, allocations: 8 kB / 1.372 GB, free: 5.219 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.3837, allocations: 7.984 kB / 1.372 GB, free: 5.211 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.933e-05/0.3837, allocations: 7.984 kB / 1.372 GB, free: 5.203 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.458e-05/0.3837, allocations: 12 kB / 1.372 GB, free: 5.191 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001402/0.3839, allocations: 155.2 kB / 1.372 GB, free: 5.039 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.3839, allocations: 0 / 1.372 GB, free: 5.039 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002642/0.3841, allocations: 44 kB / 1.372 GB, free: 4.996 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,decAng.tNext,decAng.k,$whenCondition1,solDecNOAA.a,solDecNOAA.b,solDecNOAA.last,solDecNOAA.nextEvent,solDecNOAA.nextEventScaled) * Number of discrete states: 8 (solDecNOAA.nextEvent,solDecNOAA.last,solDecNOAA.nextEventScaled,solDecNOAA.b,solDecNOAA.a,$whenCondition1,decAng.k,decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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.0001962/0.3843, allocations: 137 kB / 1.372 GB, free: 4.855 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003803/0.3847, allocations: 282.7 kB / 1.372 GB, free: 4.555 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.3847, allocations: 0 / 1.372 GB, free: 4.555 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002144/0.3849, allocations: 169 kB / 1.372 GB, free: 4.371 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000215/0.3852, allocations: 17.34 kB / 1.372 GB, free: 4.355 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006535/0.3858, allocations: 393.9 kB / 1.373 GB, free: 3.938 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001291/0.3859, allocations: 118.1 kB / 1.373 GB, free: 3.801 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.329e-05/0.386, allocations: 4.672 kB / 1.373 GB, free: 3.793 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.717e-05/0.386, allocations: 15.42 kB / 1.373 GB, free: 3.777 MB / 1.061 GB Notification: Performance of SimCode: time 3.11e-07/0.386, allocations: 0 / 1.373 GB, free: 3.777 MB / 1.061 GB Notification: Performance of Templates: time 0.00554/0.3916, allocations: 1.83 MB / 1.375 GB, free: 1.977 MB / 1.061 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: 8.839862078428268]