Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001687/0.001687, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002325/0.002325, allocations: 211 kB / 22.24 MB, free: 4.855 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.486/1.486, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.138/3.138, allocations: 0.4892 GB / 0.7944 GB, free: 35.55 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="Buildings_12_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.00195/0.00195, allocations: 66.73 kB / 1.153 GB, free: 25.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3011/0.303, allocations: 176.1 MB / 1.325 GB, free: 2.387 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002906/0.3059, allocations: 1.62 MB / 1.327 GB, free: 0.7617 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001223/0.3072, allocations: 0.6349 MB / 1.327 GB, free: 124 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.403e-05/0.3072, allocations: 0 / 1.327 GB, free: 124 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001583/0.3074, allocations: 83.75 kB / 1.327 GB, free: 40 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0002859/0.3077, allocations: 103.7 kB / 1.327 GB, free: 15.94 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003742/0.308, allocations: 99.77 kB / 1.328 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002014/0.3082, allocations: 131.6 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 8.101e-05/0.3083, allocations: 7.984 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002205/0.3085, allocations: 75.8 kB / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001885/0.3087, allocations: 115.7 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.668e-05/0.3088, allocations: 8 kB / 1.328 GB, free: 15.51 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001625/0.3089, allocations: 87.86 kB / 1.328 GB, free: 15.42 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.732e-05/0.309, allocations: 27.91 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.621e-05/0.309, allocations: 39.73 kB / 1.328 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002818/0.3093, allocations: 179.5 kB / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3093, allocations: 0 / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.223e-06/0.3093, allocations: 0 / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.022e-06/0.3093, allocations: 0 / 1.328 GB, free: 15.18 MB / 1.029 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.0007232/0.3101, allocations: 420.5 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.3101, allocations: 12.03 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.815e-05/0.3102, allocations: 38.73 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001649/0.3103, allocations: 24.8 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002723/0.3106, allocations: 166.5 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.3106, allocations: 384 / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.447e-05/0.3106, allocations: 4.375 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002371/0.3109, allocations: 154.2 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.3109, allocations: 0 / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/0.3109, allocations: 4 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.3109, allocations: 7.938 kB / 1.329 GB, free: 14.28 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001551/0.311, allocations: 105.6 kB / 1.329 GB, free: 14.17 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004507/0.3115, allocations: 368 kB / 1.329 GB, free: 13.77 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001956/0.3117, allocations: 138.8 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00013/0.3118, allocations: 99.48 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.09e-05/0.3118, allocations: 4 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002812/0.3121, allocations: 208.5 kB / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.223e-06/0.3121, allocations: 0 / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.000583/0.3127, allocations: 398.5 kB / 1.33 GB, free: 12.84 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.575e-05/0.3128, allocations: 118.8 kB / 1.33 GB, free: 12.7 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002074/0.313, allocations: 210.8 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.18e-05/0.313, allocations: 25.7 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.762e-05/0.3131, allocations: 116.1 kB / 1.331 GB, free: 12.33 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.096e-05/0.3131, allocations: 35.72 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.39e-05/0.3132, allocations: 29.72 kB / 1.331 GB, free: 12.26 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.3133, allocations: 338.8 kB / 1.331 GB, free: 11.92 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001122/0.3134, allocations: 89.67 kB / 1.331 GB, free: 11.83 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001152/0.3136, allocations: 107.4 kB / 1.331 GB, free: 11.71 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002215/0.3138, allocations: 201 kB / 1.331 GB, free: 11.5 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3138, allocations: 0 / 1.331 GB, free: 11.5 MB / 1.029 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003817/0.3142, allocations: 309.2 kB / 1.332 GB, free: 11.18 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.571e-05/0.3142, allocations: 33.7 kB / 1.332 GB, free: 11.14 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.3142, allocations: 4 kB / 1.332 GB, free: 11.13 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.3142, allocations: 3.984 kB / 1.332 GB, free: 11.13 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.284e-05/0.3143, allocations: 16.09 kB / 1.332 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.3143, allocations: 3.938 kB / 1.332 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.904e-05/0.3144, allocations: 15.88 kB / 1.332 GB, free: 11.09 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.593e-05/0.3144, allocations: 4 kB / 1.332 GB, free: 11.09 MB / 1.029 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.0001656/0.3146, allocations: 196.3 kB / 1.332 GB, free: 10.89 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.079e-05/0.3146, allocations: 19.91 kB / 1.332 GB, free: 10.87 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002077/0.3148, allocations: 95.06 kB / 1.332 GB, free: 10.76 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.3148, allocations: 7.938 kB / 1.332 GB, free: 10.75 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/0.3148, allocations: 0 / 1.332 GB, free: 10.75 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.3149, allocations: 0 / 1.332 GB, free: 10.75 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000194/0.315, allocations: 192.6 kB / 1.332 GB, free: 10.52 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.315, allocations: 0 / 1.332 GB, free: 10.52 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.544e-05/0.3151, allocations: 8 kB / 1.332 GB, free: 10.52 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.3151, allocations: 0 / 1.332 GB, free: 10.52 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.831e-05/0.3151, allocations: 11.94 kB / 1.332 GB, free: 10.5 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.3151, allocations: 4.234 kB / 1.332 GB, free: 10.5 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.3151, allocations: 4 kB / 1.332 GB, free: 10.5 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004562/0.3156, allocations: 383.5 kB / 1.333 GB, free: 10.09 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.506e-05/0.3157, allocations: 31.83 kB / 1.333 GB, free: 10.06 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.294e-05/0.3157, allocations: 4 kB / 1.333 GB, free: 10.05 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.663e-05/0.3158, allocations: 11.98 kB / 1.333 GB, free: 10.04 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.781e-05/0.3158, allocations: 7.984 kB / 1.333 GB, free: 10.04 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-05/0.3159, allocations: 4 kB / 1.333 GB, free: 10.03 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001436/0.316, allocations: 171.9 kB / 1.333 GB, free: 9.863 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.316, allocations: 0 / 1.333 GB, free: 9.863 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002597/0.3163, allocations: 51.88 kB / 1.333 GB, free: 9.812 MB / 1.029 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.0008165/0.3171, allocations: 0.931 MB / 1.334 GB, free: 8.84 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003503/0.3174, allocations: 282.7 kB / 1.334 GB, free: 8.539 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/0.3174, allocations: 0 / 1.334 GB, free: 8.539 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001768/0.3176, allocations: 169 kB / 1.334 GB, free: 8.355 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002109/0.3178, allocations: 12.94 kB / 1.334 GB, free: 8.344 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002553/0.3204, allocations: 2.414 MB / 1.337 GB, free: 5.793 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001077/0.3205, allocations: 119 kB / 1.337 GB, free: 5.656 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.163e-05/0.3205, allocations: 12.16 kB / 1.337 GB, free: 5.645 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.21e-05/0.3206, allocations: 39.42 kB / 1.337 GB, free: 5.605 MB / 1.029 GB Notification: Performance of SimCode: time 3.71e-07/0.3206, allocations: 0 / 1.337 GB, free: 5.605 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02954/0.3501, allocations: 4.122 MB / 1.341 GB, free: 1.641 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/11.92, allocations: 0 / 1.341 GB, free: 1.641 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.fmu > Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 18.593887137714773]