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.005704/0.005704, allocations: 99.56 kB / 15.73 MB, free: 6.48 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.001457/0.001458, allocations: 193.5 kB / 16.68 MB, free: 6.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.328/2.328, allocations: 222.9 MB / 240.4 MB, free: 4.297 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 4.128/4.128, allocations: 437 MB / 0.7105 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.003202/0.003202, allocations: 67.89 kB / 1.018 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4454/0.4486, allocations: 151.6 MB / 1.166 GB, free: 7.371 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.003508/0.4522, allocations: 1.609 MB / 1.168 GB, free: 5.746 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001273/0.4535, allocations: 0.6426 MB / 1.168 GB, free: 5.098 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.461e-05/0.4536, allocations: 0 / 1.168 GB, free: 5.098 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001718/0.4537, allocations: 79.83 kB / 1.168 GB, free: 5.02 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.000291/0.4541, allocations: 102.9 kB / 1.169 GB, free: 4.922 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003814/0.4545, allocations: 103.8 kB / 1.169 GB, free: 4.82 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002199/0.4547, allocations: 139.6 kB / 1.169 GB, free: 4.684 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 8.784e-05/0.4548, allocations: 8 kB / 1.169 GB, free: 4.676 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000153/0.4549, allocations: 67.8 kB / 1.169 GB, free: 4.609 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002/0.4552, allocations: 107.8 kB / 1.169 GB, free: 4.504 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.769e-05/0.4552, allocations: 12 kB / 1.169 GB, free: 4.492 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001576/0.4554, allocations: 79.92 kB / 1.169 GB, free: 4.414 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 7.037e-05/0.4554, allocations: 31.86 kB / 1.169 GB, free: 4.383 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 9.029e-05/0.4555, allocations: 55.66 kB / 1.169 GB, free: 4.328 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.00028/0.4558, allocations: 167.6 kB / 1.169 GB, free: 4.164 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.4558, allocations: 0 / 1.169 GB, free: 4.164 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.425e-06/0.4558, allocations: 0 / 1.169 GB, free: 4.164 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.128e-05/0.4559, allocations: 0 / 1.169 GB, free: 4.164 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.0008686/0.4567, allocations: 492.2 kB / 1.17 GB, free: 3.629 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/0.4568, allocations: 8.031 kB / 1.17 GB, free: 3.621 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.977e-05/0.4568, allocations: 38.69 kB / 1.17 GB, free: 3.574 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.796e-05/0.4569, allocations: 20.83 kB / 1.17 GB, free: 3.555 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003659/0.4573, allocations: 208.1 kB / 1.17 GB, free: 3.312 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.124e-05/0.4573, allocations: 8.359 kB / 1.17 GB, free: 3.305 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.874e-05/0.4573, allocations: 4.375 kB / 1.17 GB, free: 3.301 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002686/0.4576, allocations: 123.4 kB / 1.17 GB, free: 3.168 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.4576, allocations: 8 kB / 1.17 GB, free: 3.16 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.4577, allocations: 0 / 1.17 GB, free: 3.16 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.4577, allocations: 0 / 1.17 GB, free: 3.16 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001438/0.4578, allocations: 67.97 kB / 1.17 GB, free: 3.094 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005558/0.4584, allocations: 416.9 kB / 1.171 GB, free: 2.633 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001975/0.4586, allocations: 109.1 kB / 1.171 GB, free: 2.508 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001319/0.4587, allocations: 85.81 kB / 1.171 GB, free: 2.418 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.19e-05/0.4588, allocations: 4 kB / 1.171 GB, free: 2.414 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003056/0.4591, allocations: 178.6 kB / 1.171 GB, free: 2.215 MB / 0.92 GB Notification: Performance of pre-optimization done (n=13): time 1.533e-06/0.4591, allocations: 0 / 1.171 GB, free: 2.215 MB / 0.92 GB Notification: Performance of matching and sorting (n=13): time 0.000592/0.4597, allocations: 343.3 kB / 1.171 GB, free: 1.867 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.929e-05/0.4598, allocations: 106.8 kB / 1.171 GB, free: 1.738 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002347/0.46, allocations: 218.5 kB / 1.172 GB, free: 1.512 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.157e-05/0.4601, allocations: 33.7 kB / 1.172 GB, free: 1.473 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 8.047e-05/0.4602, allocations: 108.1 kB / 1.172 GB, free: 1.363 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 4.502e-05/0.4602, allocations: 35.73 kB / 1.172 GB, free: 1.328 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.472e-05/0.4603, allocations: 29.7 kB / 1.172 GB, free: 1.293 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001675/0.4605, allocations: 330.8 kB / 1.172 GB, free: 0.9609 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001019/0.4606, allocations: 67.97 kB / 1.172 GB, free: 0.8945 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001131/0.4607, allocations: 73.69 kB / 1.172 GB, free: 0.8164 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002451/0.461, allocations: 201.3 kB / 1.172 GB, free: 0.6016 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.461, allocations: 0 / 1.172 GB, free: 0.6016 MB / 0.92 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004232/0.4614, allocations: 271 kB / 1.173 GB, free: 332 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 5.021e-05/0.4615, allocations: 37.69 kB / 1.173 GB, free: 288 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/0.4615, allocations: 0 / 1.173 GB, free: 288 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.4615, allocations: 0 / 1.173 GB, free: 288 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000119/0.4616, allocations: 19.98 kB / 1.173 GB, free: 268 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.4616, allocations: 0 / 1.173 GB, free: 268 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001158/0.4618, allocations: 11.94 kB / 1.173 GB, free: 256 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.82e-05/0.4618, allocations: 7.938 kB / 1.173 GB, free: 248 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.0001917/0.462, allocations: 181.7 kB / 1.173 GB, free: 52 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.563e-05/0.462, allocations: 19.91 kB / 1.173 GB, free: 32 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002592/0.4623, allocations: 99.25 kB / 1.173 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.4623, allocations: 4 kB / 1.173 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.4623, allocations: 0 / 1.173 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.299e-06/0.4623, allocations: 0 / 1.173 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002585/0.4626, allocations: 237.4 kB / 1.173 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.4626, allocations: 3.938 kB / 1.173 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.803e-05/0.4627, allocations: 15.88 kB / 1.173 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.4627, allocations: 0 / 1.173 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.18e-05/0.4627, allocations: 11.98 kB / 1.173 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.4627, allocations: 0 / 1.173 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.4627, allocations: 0 / 1.173 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004743/0.4632, allocations: 339.5 kB / 1.174 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001162/0.4633, allocations: 112.8 kB / 1.174 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.494e-05/0.4634, allocations: 4.125 kB / 1.174 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.4635, allocations: 11.98 kB / 1.174 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.983e-05/0.4635, allocations: 11.98 kB / 1.174 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.102e-05/0.4636, allocations: 8 kB / 1.174 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001688/0.4637, allocations: 172.2 kB / 1.174 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.1e-07/0.4637, allocations: 0 / 1.174 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002768/0.464, allocations: 47.94 kB / 1.174 GB, free: 14.87 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.0009108/0.4649, allocations: 0.8765 MB / 1.175 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004098/0.4654, allocations: 255.3 kB / 1.175 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.4654, allocations: 0 / 1.175 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002157/0.4656, allocations: 163.4 kB / 1.175 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002305/0.4658, allocations: 13.72 kB / 1.175 GB, free: 13.51 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003045/0.4689, allocations: 2.256 MB / 1.177 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004153/0.4694, allocations: 0.7274 MB / 1.178 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 5.301e-05/0.4694, allocations: 7.984 kB / 1.178 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.841e-05/0.4695, allocations: 46.86 kB / 1.178 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of SimCode: time 1.042e-06/0.4695, allocations: 0 / 1.178 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02687/0.4964, allocations: 3.527 MB / 1.182 GB, free: 6.973 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.01/15.51, allocations: 8.016 kB / 1.182 GB, free: 6.965 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