Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007964/0.007964, allocations: 99.34 kB / 15.73 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001978/0.001978, allocations: 198.6 kB / 16.67 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.349/1.349, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.498/2.498, allocations: 437 MB / 0.7105 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001207, allocations: 67.89 kB / 1.018 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2448/0.2461, allocations: 151.6 MB / 1.166 GB, free: 7.387 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002616/0.2487, allocations: 1.601 MB / 1.168 GB, free: 5.77 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001055/0.2498, allocations: 0.6349 MB / 1.168 GB, free: 5.129 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.792e-05/0.2499, allocations: 8 kB / 1.168 GB, free: 5.121 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001381/0.25, allocations: 79.77 kB / 1.168 GB, free: 5.043 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002696/0.2503, allocations: 107.7 kB / 1.169 GB, free: 4.938 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003633/0.2507, allocations: 107.6 kB / 1.169 GB, free: 4.836 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001899/0.2509, allocations: 131.7 kB / 1.169 GB, free: 4.707 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 8.051e-05/0.251, allocations: 4 kB / 1.169 GB, free: 4.703 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001615/0.2511, allocations: 71.8 kB / 1.169 GB, free: 4.633 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001623/0.2513, allocations: 107.8 kB / 1.169 GB, free: 4.527 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.525e-05/0.2513, allocations: 4 kB / 1.169 GB, free: 4.523 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001403/0.2515, allocations: 87.86 kB / 1.169 GB, free: 4.438 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 5.879e-05/0.2516, allocations: 31.86 kB / 1.169 GB, free: 4.406 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 7.074e-05/0.2516, allocations: 55.67 kB / 1.169 GB, free: 4.352 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002476/0.2519, allocations: 167.6 kB / 1.169 GB, free: 4.188 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.2519, allocations: 0 / 1.169 GB, free: 4.188 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.263e-06/0.2519, allocations: 0 / 1.169 GB, free: 4.188 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.471e-06/0.2519, allocations: 4 kB / 1.169 GB, free: 4.184 MB / 0.92 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.0006765/0.2526, allocations: 484.2 kB / 1.17 GB, free: 3.656 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.2527, allocations: 12.03 kB / 1.17 GB, free: 3.645 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.164e-05/0.2527, allocations: 38.73 kB / 1.17 GB, free: 3.598 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.385e-05/0.2528, allocations: 16.84 kB / 1.17 GB, free: 3.582 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002698/0.2531, allocations: 220 kB / 1.17 GB, free: 3.328 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.2531, allocations: 384 / 1.17 GB, free: 3.328 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.86e-05/0.2531, allocations: 8.375 kB / 1.17 GB, free: 3.32 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002131/0.2533, allocations: 119.5 kB / 1.17 GB, free: 3.191 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.2533, allocations: 0 / 1.17 GB, free: 3.191 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.2534, allocations: 8 kB / 1.17 GB, free: 3.184 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.2534, allocations: 4 kB / 1.17 GB, free: 3.18 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000124/0.2535, allocations: 79.88 kB / 1.17 GB, free: 3.102 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004135/0.2539, allocations: 408.9 kB / 1.171 GB, free: 2.648 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001656/0.2541, allocations: 121 kB / 1.171 GB, free: 2.512 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.889e-05/0.2542, allocations: 85.78 kB / 1.171 GB, free: 2.422 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.762e-05/0.2542, allocations: 0 / 1.171 GB, free: 2.422 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002332/0.2545, allocations: 174.7 kB / 1.171 GB, free: 2.227 MB / 0.92 GB Notification: Performance of pre-optimization done (n=13): time 2.675e-06/0.2545, allocations: 0 / 1.171 GB, free: 2.227 MB / 0.92 GB Notification: Performance of matching and sorting (n=13): time 0.0004977/0.255, allocations: 335.1 kB / 1.171 GB, free: 1.887 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.126e-05/0.255, allocations: 114.8 kB / 1.171 GB, free: 1.75 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001851/0.2552, allocations: 222.5 kB / 1.172 GB, free: 1.52 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/0.2553, allocations: 25.7 kB / 1.172 GB, free: 1.488 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.27e-05/0.2553, allocations: 112.1 kB / 1.172 GB, free: 1.375 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.65e-05/0.2554, allocations: 31.89 kB / 1.172 GB, free: 1.344 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.592e-05/0.2554, allocations: 33.7 kB / 1.172 GB, free: 1.305 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.911e-05/0.2555, allocations: 330.8 kB / 1.172 GB, free: 0.9727 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.191e-05/0.2556, allocations: 63.97 kB / 1.172 GB, free: 0.9102 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.032e-05/0.2557, allocations: 77.69 kB / 1.172 GB, free: 0.8281 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001949/0.2559, allocations: 193 kB / 1.172 GB, free: 0.6211 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.2559, allocations: 0 / 1.172 GB, free: 0.6211 MB / 0.92 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003175/0.2563, allocations: 275 kB / 1.173 GB, free: 348 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.521e-05/0.2563, allocations: 37.7 kB / 1.173 GB, free: 304 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.2563, allocations: 0 / 1.173 GB, free: 304 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.2563, allocations: 4 kB / 1.173 GB, free: 300 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.333e-05/0.2564, allocations: 11.98 kB / 1.173 GB, free: 288 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.95e-06/0.2564, allocations: 4 kB / 1.173 GB, free: 284 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.716e-05/0.2565, allocations: 11.94 kB / 1.173 GB, free: 272 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.865e-05/0.2566, allocations: 8.078 kB / 1.173 GB, free: 264 kB / 0.92 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.0001372/0.2567, allocations: 186 kB / 1.173 GB, free: 64 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.2e-05/0.2568, allocations: 23.89 kB / 1.173 GB, free: 40 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002133/0.257, allocations: 95.34 kB / 1.173 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.257, allocations: 4 kB / 1.173 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.257, allocations: 4.062 kB / 1.173 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.257, allocations: 7.984 kB / 1.173 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001741/0.2572, allocations: 225.5 kB / 1.173 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.2572, allocations: 0 / 1.173 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.695e-05/0.2573, allocations: 11.98 kB / 1.173 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.302e-06/0.2573, allocations: 4 kB / 1.173 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.496e-05/0.2573, allocations: 3.938 kB / 1.173 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.2573, allocations: 7.938 kB / 1.173 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.2573, allocations: 0 / 1.173 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003846/0.2577, allocations: 339.4 kB / 1.174 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.553e-05/0.2578, allocations: 113 kB / 1.174 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.246e-05/0.2578, allocations: 7.984 kB / 1.174 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.648e-05/0.2579, allocations: 11.98 kB / 1.174 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.371e-05/0.258, allocations: 7.984 kB / 1.174 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.892e-05/0.258, allocations: 4 kB / 1.174 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001278/0.2581, allocations: 168.2 kB / 1.174 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2581, allocations: 3.938 kB / 1.174 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002543/0.2584, allocations: 51.88 kB / 1.174 GB, free: 14.89 MB / 0.9356 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.0006804/0.2591, allocations: 0.8831 MB / 1.175 GB, free: 13.97 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003029/0.2594, allocations: 243.3 kB / 1.175 GB, free: 13.72 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.2594, allocations: 4 kB / 1.175 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001641/0.2596, allocations: 163.3 kB / 1.175 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002123/0.2598, allocations: 12 kB / 1.175 GB, free: 13.53 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00214/0.262, allocations: 2.256 MB / 1.177 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002446/0.2622, allocations: 0.7197 MB / 1.178 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.912e-05/0.2623, allocations: 11.92 kB / 1.178 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.626e-05/0.2623, allocations: 43.42 kB / 1.178 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of SimCode: time 1.382e-06/0.2624, allocations: 4 kB / 1.178 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01885/0.2812, allocations: 3.528 MB / 1.182 GB, free: 6.992 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.392/7.673, allocations: 7.578 kB / 1.182 GB, free: 6.988 MB / 0.9356 GB (rm -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination_res.csv --start-time 0 --stop-time 3.1536e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 12614.4 Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.fmu > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[525]=31536000.000000 File[7]=75686.400000 " Variables in the reference:time,decAng.decAng,solDecNOAA.y Variables in the result:time,decAng.calTimAux,decAng.decAng,decAng.modTimAux,solDecNOAA.y,decAng.weaDatEndTim