Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="Buildings_9_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.007068/0.007068, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.001697/0.001697, allocations: 192.6 kB / 16.67 MB, free: 5.969 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.232/1.232, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.021/2.021, allocations: 390.3 MB / 0.6648 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 59.91 kB / 0.9504 GB, free: 8.184 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6744/0.6758, allocations: 140.4 MB / 1.087 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002341/0.6782, allocations: 1.609 MB / 1.089 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0009018/0.6791, allocations: 0.6372 MB / 1.09 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.367e-05/0.6792, allocations: 1 kB / 1.09 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001509/0.6794, allocations: 77.22 kB / 1.09 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002569/0.6796, allocations: 103.8 kB / 1.09 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003096/0.6799, allocations: 93.95 kB / 1.09 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001699/0.6801, allocations: 136.2 kB / 1.09 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 7.629e-05/0.6802, allocations: 6.625 kB / 1.09 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001479/0.6804, allocations: 82.81 kB / 1.09 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001732/0.6805, allocations: 102.3 kB / 1.09 GB, free: 3.539 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.148e-05/0.6806, allocations: 6.094 kB / 1.09 GB, free: 3.539 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001332/0.6807, allocations: 79.64 kB / 1.09 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.997e-05/0.6808, allocations: 30.38 kB / 1.09 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.265e-05/0.6808, allocations: 62.03 kB / 1.09 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002281/0.6811, allocations: 169.2 kB / 1.091 GB, free: 3.402 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.6811, allocations: 0 / 1.091 GB, free: 3.402 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.292e-06/0.6811, allocations: 0 / 1.091 GB, free: 3.402 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.6811, allocations: 1.062 kB / 1.091 GB, free: 3.402 MB / 0.8575 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.000566/0.6817, allocations: 482.3 kB / 1.091 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.6817, allocations: 10.05 kB / 1.091 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.8e-05/0.6817, allocations: 39 kB / 1.091 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.306e-05/0.6818, allocations: 20.31 kB / 1.091 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001908/0.682, allocations: 220.6 kB / 1.091 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.682, allocations: 7.188 kB / 1.091 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.017e-05/0.682, allocations: 3.781 kB / 1.091 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002014/0.6822, allocations: 139.6 kB / 1.091 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.6823, allocations: 0 / 1.091 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.6823, allocations: 1.406 kB / 1.091 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.6823, allocations: 1.5 kB / 1.091 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001291/0.6824, allocations: 77.92 kB / 1.092 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003385/0.6828, allocations: 404.1 kB / 1.092 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001555/0.6829, allocations: 118.3 kB / 1.092 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/0.683, allocations: 84.56 kB / 1.092 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.021e-05/0.6831, allocations: 5.625 kB / 1.092 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002071/0.6833, allocations: 174 kB / 1.092 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=13): time 1.283e-06/0.6833, allocations: 0.7812 kB / 1.092 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13): time 0.0004828/0.6838, allocations: 341.4 kB / 1.093 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.341e-05/0.6838, allocations: 106.7 kB / 1.093 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001737/0.684, allocations: 219.1 kB / 1.093 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.305e-05/0.684, allocations: 27.2 kB / 1.093 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.336e-05/0.6841, allocations: 115.9 kB / 1.093 GB, free: 1.391 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.36e-05/0.6841, allocations: 39.22 kB / 1.093 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.924e-05/0.6842, allocations: 31.59 kB / 1.093 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.761e-05/0.6842, allocations: 332.9 kB / 1.093 GB, free: 1.012 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.187e-05/0.6843, allocations: 57.89 kB / 1.093 GB, free: 1 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.391e-05/0.6844, allocations: 83 kB / 1.094 GB, free: 0.9648 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001964/0.6846, allocations: 193.3 kB / 1.094 GB, free: 0.8477 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.6846, allocations: 0.6875 kB / 1.094 GB, free: 0.8477 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003142/0.6849, allocations: 273.3 kB / 1.094 GB, free: 0.7227 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.164e-05/0.685, allocations: 36.98 kB / 1.094 GB, free: 0.6914 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.685, allocations: 0.625 kB / 1.094 GB, free: 0.6914 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.685, allocations: 0.7812 kB / 1.094 GB, free: 0.6914 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.146e-05/0.6851, allocations: 17.45 kB / 1.094 GB, free: 0.6875 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.6851, allocations: 0.5938 kB / 1.094 GB, free: 0.6875 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.489e-05/0.6852, allocations: 19.61 kB / 1.094 GB, free: 0.6758 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.594e-05/0.6852, allocations: 12.36 kB / 1.094 GB, free: 0.668 MB / 0.8575 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.0001136/0.6854, allocations: 178.3 kB / 1.094 GB, free: 0.5117 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.221e-05/0.6854, allocations: 18.06 kB / 1.094 GB, free: 0.5039 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001882/0.6856, allocations: 98.45 kB / 1.094 GB, free: 452 kB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.6856, allocations: 1.5 kB / 1.094 GB, free: 452 kB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.6856, allocations: 1.391 kB / 1.094 GB, free: 452 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.6856, allocations: 4.906 kB / 1.094 GB, free: 448 kB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001556/0.6858, allocations: 233.2 kB / 1.095 GB, free: 224 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.6858, allocations: 0.6875 kB / 1.095 GB, free: 224 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.343e-05/0.6858, allocations: 10.73 kB / 1.095 GB, free: 224 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.6859, allocations: 0.8438 kB / 1.095 GB, free: 224 kB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.633e-05/0.6859, allocations: 4.641 kB / 1.095 GB, free: 224 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.6859, allocations: 5.031 kB / 1.095 GB, free: 220 kB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/0.6859, allocations: 1.672 kB / 1.095 GB, free: 220 kB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004078/0.6863, allocations: 340.7 kB / 1.095 GB, free: 36 kB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000103/0.6864, allocations: 108.3 kB / 1.095 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.619e-05/0.6865, allocations: 9.391 kB / 1.095 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.484e-05/0.6866, allocations: 9.625 kB / 1.095 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.921e-05/0.6866, allocations: 12.17 kB / 1.095 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.964e-05/0.6866, allocations: 5.766 kB / 1.095 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000146/0.6868, allocations: 164.7 kB / 1.095 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6868, allocations: 0 / 1.095 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002582/0.6871, allocations: 47.61 kB / 1.095 GB, free: 15.81 MB / 0.8731 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.0007351/0.6878, allocations: 0.8919 MB / 1.096 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.000341/0.6882, allocations: 245.5 kB / 1.096 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.6882, allocations: 4 kB / 1.096 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.000182/0.6884, allocations: 173.2 kB / 1.097 GB, free: 14.87 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002183/0.6886, allocations: 11.77 kB / 1.097 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002226/0.6908, allocations: 2.235 MB / 1.099 GB, free: 13.33 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002312/0.6911, allocations: 0.731 MB / 1.099 GB, free: 12.62 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.948e-05/0.6911, allocations: 6.062 kB / 1.099 GB, free: 12.62 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.469e-05/0.6912, allocations: 44.33 kB / 1.1 GB, free: 12.59 MB / 0.8731 GB Notification: Performance of SimCode: time 2.3e-07/0.6912, allocations: 0 / 1.1 GB, free: 12.59 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01797/0.7092, allocations: 3.513 MB / 1.103 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.164/7.873, allocations: 20.16 kB / 1.103 GB, free: 12.05 MB / 0.8731 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.fmu > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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