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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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.00516/0.005164, allocations: 99.67 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.001289/0.001289, allocations: 193.4 kB / 16.67 MB, free: 5.93 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.367/1.367, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.585/2.585, allocations: 469.4 MB / 0.7421 GB, free: 3.508 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 67.89 kB / 1.064 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6887/0.6901, allocations: 159.1 MB / 1.22 GB, free: 2.27 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002702/0.6928, allocations: 1.593 MB / 1.221 GB, free: 0.6641 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001074/0.6939, allocations: 0.6475 MB / 1.222 GB, free: 12 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.093e-05/0.694, allocations: 0 / 1.222 GB, free: 12 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001673/0.6942, allocations: 79.83 kB / 1.222 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0002744/0.6945, allocations: 103.6 kB / 1.222 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003665/0.6949, allocations: 95.75 kB / 1.222 GB, free: 15.74 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001929/0.6951, allocations: 135.6 kB / 1.222 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 7.644e-05/0.6952, allocations: 12 kB / 1.222 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001671/0.6953, allocations: 67.86 kB / 1.222 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001684/0.6955, allocations: 107.8 kB / 1.222 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.373e-05/0.6955, allocations: 8 kB / 1.222 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001299/0.6957, allocations: 83.86 kB / 1.223 GB, free: 15.33 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 6.375e-05/0.6957, allocations: 27.86 kB / 1.223 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 7.054e-05/0.6958, allocations: 59.61 kB / 1.223 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002389/0.6961, allocations: 159.1 kB / 1.223 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.6961, allocations: 4 kB / 1.223 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.152e-06/0.6961, allocations: 0 / 1.223 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.987e-06/0.6961, allocations: 0 / 1.223 GB, free: 15.09 MB / 0.9512 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.0006924/0.6968, allocations: 492.1 kB / 1.223 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.6968, allocations: 8.625 kB / 1.223 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.841e-05/0.6969, allocations: 42.69 kB / 1.223 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.706e-05/0.6969, allocations: 16.84 kB / 1.223 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002485/0.6972, allocations: 212 kB / 1.224 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.6972, allocations: 8.375 kB / 1.224 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.846e-05/0.6972, allocations: 12.36 kB / 1.224 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002171/0.6975, allocations: 130.9 kB / 1.224 GB, free: 14.08 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.6975, allocations: 0 / 1.224 GB, free: 14.08 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/0.6975, allocations: 3.984 kB / 1.224 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.6975, allocations: 3.938 kB / 1.224 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001255/0.6976, allocations: 71.91 kB / 1.224 GB, free: 14 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004345/0.6981, allocations: 412.9 kB / 1.224 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001855/0.6983, allocations: 117.1 kB / 1.224 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001061/0.6984, allocations: 81.78 kB / 1.224 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.847e-05/0.6984, allocations: 0 / 1.224 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002454/0.6987, allocations: 182.7 kB / 1.225 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=13): time 1.533e-06/0.6987, allocations: 0 / 1.225 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of matching and sorting (n=13): time 0.0005107/0.6992, allocations: 339.1 kB / 1.225 GB, free: 12.78 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.554e-05/0.6993, allocations: 106.8 kB / 1.225 GB, free: 12.65 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001946/0.6995, allocations: 212.1 kB / 1.225 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.078e-05/0.6995, allocations: 29.7 kB / 1.225 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.006e-05/0.6996, allocations: 120.1 kB / 1.225 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.158e-05/0.6996, allocations: 39.88 kB / 1.225 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.65e-05/0.6997, allocations: 33.66 kB / 1.225 GB, free: 12.19 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.6998, allocations: 330.8 kB / 1.226 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.695e-05/0.6999, allocations: 59.97 kB / 1.226 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.549e-05/0.7, allocations: 77.69 kB / 1.226 GB, free: 11.72 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002078/0.7002, allocations: 205.2 kB / 1.226 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.7002, allocations: 4.094 kB / 1.226 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003286/0.7006, allocations: 267.1 kB / 1.226 GB, free: 11.22 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.586e-05/0.7006, allocations: 37.69 kB / 1.226 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.7006, allocations: 0 / 1.226 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.7006, allocations: 0 / 1.226 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.966e-05/0.7008, allocations: 15.98 kB / 1.226 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.7008, allocations: 0 / 1.226 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001064/0.7009, allocations: 11.94 kB / 1.226 GB, free: 11.15 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.488e-05/0.7009, allocations: 4 kB / 1.226 GB, free: 11.15 MB / 0.9512 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.0001497/0.7011, allocations: 190.2 kB / 1.227 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.388e-05/0.7011, allocations: 23.8 kB / 1.227 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002074/0.7013, allocations: 95.06 kB / 1.227 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.7013, allocations: 4 kB / 1.227 GB, free: 10.81 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.7013, allocations: 0 / 1.227 GB, free: 10.81 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.7013, allocations: 0 / 1.227 GB, free: 10.81 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001899/0.7015, allocations: 237.5 kB / 1.227 GB, free: 10.53 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.7015, allocations: 0 / 1.227 GB, free: 10.53 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.066e-05/0.7016, allocations: 12 kB / 1.227 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.7016, allocations: 0 / 1.227 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.619e-05/0.7016, allocations: 4 kB / 1.227 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/0.7016, allocations: 7.922 kB / 1.227 GB, free: 10.51 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.7017, allocations: 96 / 1.227 GB, free: 10.51 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004066/0.7021, allocations: 335.4 kB / 1.227 GB, free: 10.15 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 8.464e-05/0.7022, allocations: 108.9 kB / 1.227 GB, free: 10.03 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.574e-05/0.7022, allocations: 8.125 kB / 1.227 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.7023, allocations: 15.98 kB / 1.227 GB, free: 10 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.642e-05/0.7024, allocations: 15.98 kB / 1.227 GB, free: 9.988 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-05/0.7024, allocations: 4 kB / 1.227 GB, free: 9.984 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001335/0.7025, allocations: 160.5 kB / 1.228 GB, free: 9.828 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.6e-07/0.7026, allocations: 3.938 kB / 1.228 GB, free: 9.824 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002633/0.7028, allocations: 43.94 kB / 1.228 GB, free: 9.781 MB / 0.9512 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.000737/0.7036, allocations: 0.8897 MB / 1.228 GB, free: 8.855 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003254/0.7039, allocations: 239.3 kB / 1.229 GB, free: 8.609 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.7039, allocations: 192 / 1.229 GB, free: 8.609 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001744/0.7041, allocations: 171.3 kB / 1.229 GB, free: 8.43 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002085/0.7043, allocations: 19.88 kB / 1.229 GB, free: 8.41 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002299/0.7066, allocations: 2.254 MB / 1.231 GB, free: 6.059 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002757/0.7069, allocations: 0.7197 MB / 1.232 GB, free: 5.312 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 4.398e-05/0.707, allocations: 11.98 kB / 1.232 GB, free: 5.301 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.581e-05/0.707, allocations: 43.42 kB / 1.232 GB, free: 5.258 MB / 0.9512 GB Notification: Performance of SimCode: time 4.81e-07/0.707, allocations: 0 / 1.232 GB, free: 5.258 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01976/0.7268, allocations: 3.527 MB / 1.235 GB, free: 1.887 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.384/8.111, allocations: 11.86 kB / 1.235 GB, free: 1.875 MB / 0.9512 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