Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="Buildings_11_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.00133/0.00133, allocations: 108 kB / 15.61 MB, free: 152 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.001256/0.001256, allocations: 192.7 kB / 16.53 MB, free: 6.664 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.393/1.393, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.835/2.835, allocations: 469.8 MB / 0.7424 GB, free: 7.371 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 65.23 kB / 0.9087 GB, free: 34.29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2489/0.2509, allocations: 159.1 MB / 1.064 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002981/0.2539, allocations: 1.611 MB / 1.066 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00116/0.2551, allocations: 0.6349 MB / 1.066 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.962e-05/0.2551, allocations: 0 / 1.066 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001423/0.2553, allocations: 71.83 kB / 1.066 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002761/0.2556, allocations: 107.7 kB / 1.066 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003494/0.2559, allocations: 96.45 kB / 1.067 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000187/0.2561, allocations: 139.6 kB / 1.067 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.304e-05/0.2562, allocations: 16 kB / 1.067 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001446/0.2564, allocations: 75.73 kB / 1.067 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001697/0.2566, allocations: 99.77 kB / 1.067 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.648e-05/0.2566, allocations: 8 kB / 1.067 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000145/0.2567, allocations: 75.94 kB / 1.067 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.08e-05/0.2568, allocations: 31.89 kB / 1.067 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.133e-05/0.2569, allocations: 55.61 kB / 1.067 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002303/0.2571, allocations: 167.7 kB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.2571, allocations: 0 / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.343e-06/0.2572, allocations: 8 kB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.209e-06/0.2572, allocations: 0 / 1.067 GB, free: 10.98 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.0007226/0.2579, allocations: 476.4 kB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.2579, allocations: 8.031 kB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.948e-05/0.258, allocations: 38.75 kB / 1.068 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.541e-05/0.258, allocations: 16.75 kB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002384/0.2583, allocations: 215.9 kB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.2583, allocations: 384 / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.776e-05/0.2583, allocations: 12.38 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000227/0.2586, allocations: 129.3 kB / 1.068 GB, free: 9.988 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.2586, allocations: 0 / 1.068 GB, free: 9.988 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.256e-05/0.2586, allocations: 4 kB / 1.068 GB, free: 9.984 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.2586, allocations: 4 kB / 1.068 GB, free: 9.98 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001313/0.2588, allocations: 63.97 kB / 1.068 GB, free: 9.918 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004739/0.2592, allocations: 416.8 kB / 1.069 GB, free: 9.457 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001867/0.2594, allocations: 117.2 kB / 1.069 GB, free: 9.324 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000116/0.2596, allocations: 85.72 kB / 1.069 GB, free: 9.234 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.552e-05/0.2596, allocations: 0 / 1.069 GB, free: 9.234 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000288/0.2599, allocations: 178.9 kB / 1.069 GB, free: 9.035 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=13): time 1.142e-06/0.2599, allocations: 0 / 1.069 GB, free: 9.035 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13): time 0.000551/0.2605, allocations: 327.1 kB / 1.069 GB, free: 8.703 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.534e-05/0.2605, allocations: 114.8 kB / 1.069 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002144/0.2608, allocations: 213.3 kB / 1.069 GB, free: 8.348 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.103e-05/0.2608, allocations: 25.7 kB / 1.07 GB, free: 8.316 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.11e-05/0.2609, allocations: 116.1 kB / 1.07 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.962e-05/0.2609, allocations: 31.55 kB / 1.07 GB, free: 8.168 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.94e-05/0.261, allocations: 29.72 kB / 1.07 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.2611, allocations: 334.8 kB / 1.07 GB, free: 7.797 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.884e-05/0.2612, allocations: 59.92 kB / 1.07 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001037/0.2613, allocations: 85.61 kB / 1.07 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002216/0.2616, allocations: 189 kB / 1.07 GB, free: 7.445 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.2616, allocations: 0 / 1.07 GB, free: 7.445 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003561/0.262, allocations: 271.4 kB / 1.071 GB, free: 7.168 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.161e-05/0.262, allocations: 41.69 kB / 1.071 GB, free: 7.121 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.262, allocations: 0 / 1.071 GB, free: 7.121 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.262, allocations: 3.938 kB / 1.071 GB, free: 7.117 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.619e-05/0.2621, allocations: 19.94 kB / 1.071 GB, free: 7.098 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.2621, allocations: 0 / 1.071 GB, free: 7.098 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001099/0.2623, allocations: 15.89 kB / 1.071 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.583e-05/0.2623, allocations: 4 kB / 1.071 GB, free: 7.078 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.0001613/0.2624, allocations: 187.4 kB / 1.071 GB, free: 6.879 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.043e-05/0.2625, allocations: 19.81 kB / 1.071 GB, free: 6.859 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000224/0.2627, allocations: 99 kB / 1.071 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.2627, allocations: 0 / 1.071 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.2627, allocations: 0 / 1.071 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.2628, allocations: 4 kB / 1.071 GB, free: 6.754 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002168/0.263, allocations: 229.5 kB / 1.071 GB, free: 6.48 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.263, allocations: 0 / 1.071 GB, free: 6.48 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.114e-05/0.2631, allocations: 15.98 kB / 1.071 GB, free: 6.465 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.2631, allocations: 0 / 1.071 GB, free: 6.465 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.2631, allocations: 4 kB / 1.071 GB, free: 6.461 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.2631, allocations: 4 kB / 1.071 GB, free: 6.457 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2631, allocations: 0 / 1.071 GB, free: 6.457 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004465/0.2635, allocations: 335.6 kB / 1.072 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.728e-05/0.2637, allocations: 109 kB / 1.072 GB, free: 5.977 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.787e-05/0.2637, allocations: 15.94 kB / 1.072 GB, free: 5.961 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.844e-05/0.2638, allocations: 4 kB / 1.072 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.199e-05/0.2639, allocations: 7.984 kB / 1.072 GB, free: 5.949 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.02e-05/0.2639, allocations: 8 kB / 1.072 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001523/0.264, allocations: 163 kB / 1.072 GB, free: 5.781 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.264, allocations: 0 / 1.072 GB, free: 5.781 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002557/0.2643, allocations: 47.94 kB / 1.072 GB, free: 5.734 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.0008216/0.2651, allocations: 0.9114 MB / 1.073 GB, free: 4.789 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003488/0.2655, allocations: 247.3 kB / 1.073 GB, free: 4.535 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.2655, allocations: 4 kB / 1.073 GB, free: 4.531 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001878/0.2657, allocations: 167.3 kB / 1.073 GB, free: 4.355 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001998/0.2659, allocations: 12.31 kB / 1.073 GB, free: 4.344 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002479/0.2684, allocations: 2.232 MB / 1.075 GB, free: 2.016 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000354/0.2688, allocations: 0.7197 MB / 1.076 GB, free: 1.27 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.669e-05/0.2688, allocations: 11.98 kB / 1.076 GB, free: 1.258 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.157e-05/0.2689, allocations: 39.42 kB / 1.076 GB, free: 1.219 MB / 0.8262 GB Notification: Performance of SimCode: time 2.51e-07/0.2689, allocations: 0 / 1.076 GB, free: 1.219 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02464/0.2935, allocations: 3.467 MB / 1.079 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.432/7.726, allocations: 13.11 kB / 1.079 GB, free: 13.88 MB / 0.8419 GB (rm -f Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination_res.csv --start-time 0 --stop-time 3.1536e+07 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 12614.4 Buildings_11_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.fmu > Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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