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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001808/0.001808, allocations: 108.9 kB / 16.46 MB, free: 6.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002069/0.002069, allocations: 216.2 kB / 19.43 MB, free: 3.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.525/1.525, allocations: 230.6 MB / 252.8 MB, free: 8.957 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.194/3.194, allocations: 0.505 GB / 0.8066 GB, free: 23.07 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002001/0.002001, allocations: 69.08 kB / 1.172 GB, free: 17.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.304/0.306, allocations: 180.2 MB / 1.348 GB, free: 9.988 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002958/0.309, allocations: 1.625 MB / 1.349 GB, free: 8.355 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.00131/0.3103, allocations: 0.6977 MB / 1.35 GB, free: 7.652 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.61e-05/0.3104, allocations: 0 / 1.35 GB, free: 7.652 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001634/0.3106, allocations: 79.77 kB / 1.35 GB, free: 7.574 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0003111/0.3109, allocations: 103.7 kB / 1.35 GB, free: 7.473 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004091/0.3113, allocations: 102.4 kB / 1.35 GB, free: 7.375 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002397/0.3115, allocations: 131.6 kB / 1.35 GB, free: 7.246 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 8.548e-05/0.3116, allocations: 8 kB / 1.35 GB, free: 7.238 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002276/0.3118, allocations: 75.8 kB / 1.35 GB, free: 7.164 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002068/0.312, allocations: 119.7 kB / 1.351 GB, free: 7.047 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.331e-05/0.3121, allocations: 4 kB / 1.351 GB, free: 7.043 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001713/0.3122, allocations: 91.86 kB / 1.351 GB, free: 6.953 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 7.069e-05/0.3123, allocations: 31.92 kB / 1.351 GB, free: 6.922 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 7.836e-05/0.3124, allocations: 59.59 kB / 1.351 GB, free: 6.863 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003162/0.3127, allocations: 175.6 kB / 1.351 GB, free: 6.691 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3127, allocations: 0 / 1.351 GB, free: 6.691 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.433e-06/0.3127, allocations: 4 kB / 1.351 GB, free: 6.688 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.035e-06/0.3127, allocations: 3.938 kB / 1.351 GB, free: 6.684 MB / 1.045 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.0007623/0.3135, allocations: 484.2 kB / 1.351 GB, free: 6.156 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.3135, allocations: 15.98 kB / 1.351 GB, free: 6.141 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.477e-05/0.3136, allocations: 38.73 kB / 1.351 GB, free: 6.094 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001715/0.3137, allocations: 20.84 kB / 1.351 GB, free: 6.074 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003104/0.314, allocations: 219.8 kB / 1.352 GB, free: 5.82 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.3141, allocations: 4.375 kB / 1.352 GB, free: 5.816 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.96e-05/0.3141, allocations: 12.38 kB / 1.352 GB, free: 5.805 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002166/0.3143, allocations: 123.5 kB / 1.352 GB, free: 5.672 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.794e-06/0.3143, allocations: 0 / 1.352 GB, free: 5.672 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.3143, allocations: 0 / 1.352 GB, free: 5.672 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.3143, allocations: 7.938 kB / 1.352 GB, free: 5.664 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001296/0.3144, allocations: 67.97 kB / 1.352 GB, free: 5.598 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004595/0.3149, allocations: 408.9 kB / 1.352 GB, free: 5.145 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001727/0.3151, allocations: 105.1 kB / 1.352 GB, free: 5.023 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001028/0.3152, allocations: 73.72 kB / 1.352 GB, free: 4.945 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.901e-05/0.3152, allocations: 4 kB / 1.352 GB, free: 4.941 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002476/0.3154, allocations: 178.7 kB / 1.353 GB, free: 4.742 MB / 1.045 GB Notification: Performance of pre-optimization done (n=13): time 1.383e-06/0.3154, allocations: 0 / 1.353 GB, free: 4.742 MB / 1.045 GB Notification: Performance of matching and sorting (n=13): time 0.0005437/0.316, allocations: 343.2 kB / 1.353 GB, free: 4.395 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.733e-05/0.3161, allocations: 106.8 kB / 1.353 GB, free: 4.266 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002066/0.3163, allocations: 215.7 kB / 1.353 GB, free: 4.043 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.485e-05/0.3163, allocations: 29.7 kB / 1.353 GB, free: 4.008 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.228e-05/0.3164, allocations: 112.1 kB / 1.353 GB, free: 3.895 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.278e-05/0.3164, allocations: 39.67 kB / 1.353 GB, free: 3.855 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.261e-05/0.3165, allocations: 33.7 kB / 1.353 GB, free: 3.816 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.3166, allocations: 326.8 kB / 1.354 GB, free: 3.488 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.682e-05/0.3167, allocations: 63.97 kB / 1.354 GB, free: 3.426 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.684e-05/0.3168, allocations: 73.69 kB / 1.354 GB, free: 3.348 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002065/0.317, allocations: 193 kB / 1.354 GB, free: 3.141 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.317, allocations: 0 / 1.354 GB, free: 3.141 MB / 1.045 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003465/0.3174, allocations: 275.1 kB / 1.354 GB, free: 2.859 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.025e-05/0.3174, allocations: 37.69 kB / 1.354 GB, free: 2.816 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.3174, allocations: 320 / 1.354 GB, free: 2.816 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.3174, allocations: 0 / 1.354 GB, free: 2.816 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.842e-05/0.3175, allocations: 16 kB / 1.354 GB, free: 2.801 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.3175, allocations: 4 kB / 1.354 GB, free: 2.797 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001051/0.3176, allocations: 15.92 kB / 1.354 GB, free: 2.781 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.574e-05/0.3176, allocations: 4 kB / 1.354 GB, free: 2.777 MB / 1.045 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.00016/0.3178, allocations: 187.5 kB / 1.355 GB, free: 2.578 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.411e-05/0.3178, allocations: 23.84 kB / 1.355 GB, free: 2.555 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002065/0.318, allocations: 95.06 kB / 1.355 GB, free: 2.449 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.318, allocations: 0 / 1.355 GB, free: 2.449 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.3181, allocations: 0 / 1.355 GB, free: 2.449 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.3181, allocations: 0 / 1.355 GB, free: 2.449 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002064/0.3183, allocations: 237.5 kB / 1.355 GB, free: 2.168 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3183, allocations: 0 / 1.355 GB, free: 2.168 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.742e-05/0.3183, allocations: 11.94 kB / 1.355 GB, free: 2.156 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.3183, allocations: 4 kB / 1.355 GB, free: 2.152 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.906e-05/0.3183, allocations: 8 kB / 1.355 GB, free: 2.145 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.582e-06/0.3183, allocations: 0 / 1.355 GB, free: 2.145 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3183, allocations: 4 kB / 1.355 GB, free: 2.141 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004244/0.3188, allocations: 331.7 kB / 1.355 GB, free: 1.789 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 9.614e-05/0.3189, allocations: 116.9 kB / 1.355 GB, free: 1.656 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.181e-05/0.3189, allocations: 4 kB / 1.355 GB, free: 1.652 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.929e-05/0.319, allocations: 12 kB / 1.355 GB, free: 1.641 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.909e-05/0.319, allocations: 11.92 kB / 1.355 GB, free: 1.629 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.041e-05/0.3191, allocations: 7.984 kB / 1.355 GB, free: 1.621 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001388/0.3192, allocations: 163.3 kB / 1.356 GB, free: 1.461 MB / 1.045 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3192, allocations: 0 / 1.356 GB, free: 1.461 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002597/0.3195, allocations: 51.88 kB / 1.356 GB, free: 1.41 MB / 1.045 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.0008273/0.3203, allocations: 0.9038 MB / 1.357 GB, free: 480 kB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003182/0.3206, allocations: 203.3 kB / 1.357 GB, free: 264 kB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3206, allocations: 0 / 1.357 GB, free: 264 kB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001574/0.3208, allocations: 135.3 kB / 1.357 GB, free: 116 kB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002147/0.321, allocations: 19.98 kB / 1.357 GB, free: 96 kB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002493/0.3235, allocations: 2.235 MB / 1.359 GB, free: 13.75 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003194/0.3238, allocations: 0.7275 MB / 1.36 GB, free: 13 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.896e-05/0.3238, allocations: 4 kB / 1.36 GB, free: 13 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.724e-05/0.3239, allocations: 43.61 kB / 1.36 GB, free: 12.95 MB / 1.061 GB Notification: Performance of SimCode: time 3.71e-07/0.3239, allocations: 0 / 1.36 GB, free: 12.95 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02658/0.3505, allocations: 3.553 MB / 1.363 GB, free: 9.559 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.839/8.189, allocations: 6.375 kB / 1.363 GB, free: 9.555 MB / 1.061 GB " [Timeout remaining time 292] (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 800 --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) [Timeout 840.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 14.88100252696313]