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) 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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="Buildings_latest_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.001012/0.001016, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009878/0.0009877, allocations: 193.8 kB / 16.53 MB, free: 6.391 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.18/1.18, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.371/2.371, allocations: 469.4 MB / 0.742 GB, free: 7.703 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001175, allocations: 62.03 kB / 0.9082 GB, free: 34.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2277/0.2289, allocations: 159.1 MB / 1.064 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002456/0.2314, allocations: 1.614 MB / 1.065 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.000885/0.2323, allocations: 0.6427 MB / 1.066 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.703e-05/0.2323, allocations: 0 / 1.066 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.00012/0.2325, allocations: 79.77 kB / 1.066 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002291/0.2327, allocations: 99.66 kB / 1.066 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002775/0.233, allocations: 99.7 kB / 1.066 GB, free: 12 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001482/0.2332, allocations: 139.6 kB / 1.066 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 6.932e-05/0.2332, allocations: 8 kB / 1.066 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001122/0.2334, allocations: 63.86 kB / 1.066 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000139/0.2335, allocations: 107.7 kB / 1.066 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.336e-05/0.2335, allocations: 11.94 kB / 1.066 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001285/0.2337, allocations: 79.92 kB / 1.067 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.109e-05/0.2337, allocations: 27.92 kB / 1.067 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.177e-05/0.2338, allocations: 59.59 kB / 1.067 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001886/0.234, allocations: 167.8 kB / 1.067 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.234, allocations: 0 / 1.067 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.112e-06/0.234, allocations: 0 / 1.067 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.234, allocations: 4 kB / 1.067 GB, free: 11.35 MB / 0.8262 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.0005706/0.2346, allocations: 472.4 kB / 1.067 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.064e-05/0.2346, allocations: 12.03 kB / 1.067 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.306e-05/0.2347, allocations: 34.75 kB / 1.067 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.066e-05/0.2347, allocations: 24.73 kB / 1.067 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001782/0.2349, allocations: 207.9 kB / 1.067 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.2349, allocations: 8.359 kB / 1.067 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.403e-05/0.2349, allocations: 4.375 kB / 1.067 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000186/0.2351, allocations: 127.5 kB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.51e-06/0.2351, allocations: 7.875 kB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.2352, allocations: 0 / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.2352, allocations: 4 kB / 1.068 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001142/0.2353, allocations: 75.89 kB / 1.068 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003602/0.2357, allocations: 412.8 kB / 1.068 GB, free: 9.82 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001535/0.2358, allocations: 117.1 kB / 1.068 GB, free: 9.688 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.587e-05/0.2359, allocations: 85.78 kB / 1.068 GB, free: 9.598 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.61e-05/0.236, allocations: 0 / 1.068 GB, free: 9.598 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002191/0.2362, allocations: 173.1 kB / 1.068 GB, free: 9.406 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=13): time 1.092e-06/0.2362, allocations: 4 kB / 1.068 GB, free: 9.402 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13): time 0.0004524/0.2366, allocations: 339.2 kB / 1.069 GB, free: 9.059 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.054e-05/0.2367, allocations: 106.8 kB / 1.069 GB, free: 8.93 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001679/0.2369, allocations: 220.1 kB / 1.069 GB, free: 8.703 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/0.2369, allocations: 29.7 kB / 1.069 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.953e-05/0.237, allocations: 112.1 kB / 1.069 GB, free: 8.555 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.19e-05/0.237, allocations: 31.55 kB / 1.069 GB, free: 8.523 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.974e-05/0.2371, allocations: 33.7 kB / 1.069 GB, free: 8.484 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001001/0.2372, allocations: 326.8 kB / 1.07 GB, free: 8.156 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.069e-05/0.2373, allocations: 63.97 kB / 1.07 GB, free: 8.094 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.446e-05/0.2373, allocations: 81.69 kB / 1.07 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001796/0.2375, allocations: 196.9 kB / 1.07 GB, free: 7.797 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.2375, allocations: 0 / 1.07 GB, free: 7.797 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002865/0.2378, allocations: 263.1 kB / 1.07 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.954e-05/0.2379, allocations: 37.69 kB / 1.07 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.507e-06/0.2379, allocations: 96 / 1.07 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.974e-06/0.2379, allocations: 3.938 kB / 1.07 GB, free: 7.48 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.324e-05/0.238, allocations: 19.98 kB / 1.07 GB, free: 7.461 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.927e-06/0.238, allocations: 0 / 1.07 GB, free: 7.461 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.636e-05/0.2381, allocations: 15.91 kB / 1.07 GB, free: 7.445 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.368e-05/0.2381, allocations: 7.938 kB / 1.07 GB, free: 7.438 MB / 0.8262 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.0001212/0.2382, allocations: 183.9 kB / 1.07 GB, free: 7.242 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.481e-05/0.2383, allocations: 19.81 kB / 1.07 GB, free: 7.223 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001754/0.2385, allocations: 95.06 kB / 1.071 GB, free: 7.125 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.2385, allocations: 0 / 1.071 GB, free: 7.125 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.2385, allocations: 4 kB / 1.071 GB, free: 7.121 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.2385, allocations: 0 / 1.071 GB, free: 7.121 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001652/0.2387, allocations: 237.4 kB / 1.071 GB, free: 6.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.2387, allocations: 96 / 1.071 GB, free: 6.84 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.146e-05/0.2387, allocations: 8.375 kB / 1.071 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.68e-06/0.2387, allocations: 3.984 kB / 1.071 GB, free: 6.828 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.503e-05/0.2388, allocations: 11.94 kB / 1.071 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.2388, allocations: 11.98 kB / 1.071 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.2388, allocations: 0 / 1.071 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003591/0.2391, allocations: 335.4 kB / 1.071 GB, free: 6.449 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.454e-05/0.2392, allocations: 104.9 kB / 1.071 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.017e-05/0.2392, allocations: 4 kB / 1.071 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.228e-05/0.2393, allocations: 7.984 kB / 1.071 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.499e-05/0.2394, allocations: 11.98 kB / 1.071 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.728e-05/0.2394, allocations: 4 kB / 1.071 GB, free: 6.301 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.000112/0.2395, allocations: 166.9 kB / 1.071 GB, free: 6.137 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2395, allocations: 0 / 1.071 GB, free: 6.137 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002274/0.2398, allocations: 51.94 kB / 1.071 GB, free: 6.086 MB / 0.8262 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.0006332/0.2404, allocations: 0.882 MB / 1.072 GB, free: 5.168 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002888/0.2407, allocations: 251.3 kB / 1.073 GB, free: 4.91 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 9.227e-06/0.2407, allocations: 7.938 kB / 1.073 GB, free: 4.902 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001465/0.2409, allocations: 167.4 kB / 1.073 GB, free: 4.727 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001855/0.2411, allocations: 13.2 kB / 1.073 GB, free: 4.715 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001961/0.243, allocations: 2.223 MB / 1.075 GB, free: 2.398 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002407/0.2433, allocations: 0.7352 MB / 1.076 GB, free: 1.637 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.548e-05/0.2433, allocations: 4 kB / 1.076 GB, free: 1.633 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.062e-05/0.2434, allocations: 43.42 kB / 1.076 GB, free: 1.59 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.2434, allocations: 0 / 1.076 GB, free: 1.59 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01779/0.2612, allocations: 3.468 MB / 1.079 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.428/6.689, allocations: 4.062 kB / 1.079 GB, free: 14.25 MB / 0.8419 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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