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.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.00163/0.00163, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002095/0.002095, allocations: 210.3 kB / 22.25 MB, free: 5.086 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.441/1.441, allocations: 230.6 MB / 256 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.664/2.664, allocations: 476.7 MB / 0.7707 GB, free: 4.328 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_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"}) [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.002042/0.002042, allocations: 63.38 kB / 1.117 GB, free: 39.88 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3031/0.3051, allocations: 169.9 MB / 1.283 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002964/0.3081, allocations: 1.652 MB / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001249/0.3094, allocations: 0.6873 MB / 1.286 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.545e-05/0.3094, allocations: 8 kB / 1.286 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000168/0.3096, allocations: 75.75 kB / 1.286 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002853/0.3099, allocations: 95.69 kB / 1.286 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003527/0.3102, allocations: 103.8 kB / 1.286 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001957/0.3104, allocations: 131.7 kB / 1.286 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 7.736e-05/0.3105, allocations: 8 kB / 1.286 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000201/0.3107, allocations: 75.8 kB / 1.286 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002001/0.3109, allocations: 123.7 kB / 1.286 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.931e-05/0.3109, allocations: 4 kB / 1.286 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001538/0.3111, allocations: 87.92 kB / 1.286 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.05e-05/0.3111, allocations: 27.92 kB / 1.286 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.529e-05/0.3112, allocations: 63.59 kB / 1.286 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002749/0.3115, allocations: 178.8 kB / 1.287 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3115, allocations: 0 / 1.287 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.342e-06/0.3115, allocations: 0 / 1.287 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.3115, allocations: 0 / 1.287 GB, free: 8.367 MB / 0.9825 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.0007517/0.3123, allocations: 411.1 kB / 1.287 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.3123, allocations: 8.031 kB / 1.287 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.52e-05/0.3123, allocations: 42.67 kB / 1.287 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001542/0.3125, allocations: 20.8 kB / 1.287 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000262/0.3128, allocations: 170.2 kB / 1.287 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.3128, allocations: 384 / 1.287 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.682e-05/0.3128, allocations: 4.375 kB / 1.287 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000227/0.313, allocations: 131 kB / 1.287 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.313, allocations: 3.938 kB / 1.287 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/0.313, allocations: 4 kB / 1.287 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.313, allocations: 0 / 1.287 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001284/0.3132, allocations: 71.95 kB / 1.287 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004719/0.3136, allocations: 380 kB / 1.288 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001754/0.3138, allocations: 105.2 kB / 1.288 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001074/0.3139, allocations: 65.8 kB / 1.288 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.122e-05/0.3139, allocations: 4 kB / 1.288 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002685/0.3142, allocations: 178.7 kB / 1.288 GB, free: 6.629 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=13): time 1.413e-06/0.3142, allocations: 3.938 kB / 1.288 GB, free: 6.625 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13): time 0.0005354/0.3147, allocations: 335.3 kB / 1.288 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.827e-05/0.3148, allocations: 106.8 kB / 1.289 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000221/0.315, allocations: 223.9 kB / 1.289 GB, free: 5.926 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.336e-05/0.3151, allocations: 29.69 kB / 1.289 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.741e-05/0.3151, allocations: 120.1 kB / 1.289 GB, free: 5.77 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.372e-05/0.3152, allocations: 35.7 kB / 1.289 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.994e-05/0.3152, allocations: 25.7 kB / 1.289 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.3154, allocations: 334.8 kB / 1.289 GB, free: 5.367 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9e-05/0.3155, allocations: 59.97 kB / 1.289 GB, free: 5.309 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001192/0.3156, allocations: 80.64 kB / 1.289 GB, free: 5.227 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002216/0.3158, allocations: 200.9 kB / 1.29 GB, free: 5.012 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3158, allocations: 256 / 1.29 GB, free: 5.012 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003454/0.3162, allocations: 267.2 kB / 1.29 GB, free: 4.738 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.052e-05/0.3162, allocations: 37.69 kB / 1.29 GB, free: 4.695 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/0.3162, allocations: 4.094 kB / 1.29 GB, free: 4.691 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.3162, allocations: 3.938 kB / 1.29 GB, free: 4.688 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.765e-05/0.3163, allocations: 11.98 kB / 1.29 GB, free: 4.676 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.3163, allocations: 4 kB / 1.29 GB, free: 4.672 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001027/0.3164, allocations: 15.89 kB / 1.29 GB, free: 4.656 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.471e-05/0.3165, allocations: 8 kB / 1.29 GB, free: 4.648 MB / 0.9825 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.0001689/0.3166, allocations: 183.4 kB / 1.29 GB, free: 4.453 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.197e-05/0.3167, allocations: 15.91 kB / 1.29 GB, free: 4.438 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002056/0.3169, allocations: 99.14 kB / 1.29 GB, free: 4.328 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.3169, allocations: 0 / 1.29 GB, free: 4.328 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.3169, allocations: 4 kB / 1.29 GB, free: 4.324 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.3169, allocations: 0 / 1.29 GB, free: 4.324 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002167/0.3171, allocations: 212.5 kB / 1.29 GB, free: 4.074 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.3171, allocations: 4 kB / 1.29 GB, free: 4.07 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.524e-05/0.3172, allocations: 11.94 kB / 1.29 GB, free: 4.059 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.3172, allocations: 3.938 kB / 1.29 GB, free: 4.055 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.911e-05/0.3172, allocations: 11.98 kB / 1.29 GB, free: 4.043 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3172, allocations: 0 / 1.29 GB, free: 4.043 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3172, allocations: 0 / 1.29 GB, free: 4.043 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004361/0.3176, allocations: 335.5 kB / 1.291 GB, free: 3.688 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.988e-05/0.3177, allocations: 31.83 kB / 1.291 GB, free: 3.656 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.136e-05/0.3177, allocations: 7.938 kB / 1.291 GB, free: 3.648 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.972e-05/0.3178, allocations: 11.98 kB / 1.291 GB, free: 3.637 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.504e-05/0.3179, allocations: 11.98 kB / 1.291 GB, free: 3.625 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.879e-05/0.3179, allocations: 4 kB / 1.291 GB, free: 3.621 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001428/0.318, allocations: 160.5 kB / 1.291 GB, free: 3.465 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.318, allocations: 0 / 1.291 GB, free: 3.465 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000263/0.3183, allocations: 51.88 kB / 1.291 GB, free: 3.414 MB / 0.9825 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.0008589/0.3192, allocations: 0.8882 MB / 1.292 GB, free: 2.488 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003615/0.3195, allocations: 215.4 kB / 1.292 GB, free: 2.266 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3195, allocations: 0 / 1.292 GB, free: 2.266 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001664/0.3197, allocations: 131.4 kB / 1.292 GB, free: 2.125 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002249/0.3199, allocations: 15.73 kB / 1.292 GB, free: 2.113 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002642/0.3226, allocations: 2.257 MB / 1.294 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003715/0.3229, allocations: 0.7275 MB / 1.295 GB, free: 15 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 4.572e-05/0.323, allocations: 15.86 kB / 1.295 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.965e-05/0.323, allocations: 39.42 kB / 1.295 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of SimCode: time 7.31e-07/0.323, allocations: 3.938 kB / 1.295 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03099/0.354, allocations: 3.695 MB / 1.299 GB, free: 11.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.75/11.1, allocations: 9.688 kB / 1.299 GB, free: 11.4 MB / 0.9981 GB " [Timeout remaining time 288] (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) [Timeout 420.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.5614189909993]