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.00172/0.00172, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.002187/0.002187, allocations: 215 kB / 22.25 MB, free: 5.129 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.356/1.356, allocations: 230.6 MB / 256 MB, free: 8.004 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.065/3.065, allocations: 0.505 GB / 0.8101 GB, free: 22.07 MB / 0.6231 GB " [Timeout remaining time 177] 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.001993/0.001993, allocations: 60.67 kB / 1.177 GB, free: 17.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3347/0.3367, allocations: 180.2 MB / 1.353 GB, free: 8.496 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002806/0.3395, allocations: 1.647 MB / 1.354 GB, free: 6.84 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001168/0.3407, allocations: 0.6899 MB / 1.355 GB, free: 6.145 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.78e-05/0.3407, allocations: 0 / 1.355 GB, free: 6.145 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001596/0.3409, allocations: 79.81 kB / 1.355 GB, free: 6.066 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.000266/0.3412, allocations: 99.67 kB / 1.355 GB, free: 5.969 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003492/0.3415, allocations: 111.6 kB / 1.355 GB, free: 5.859 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001877/0.3417, allocations: 127.7 kB / 1.356 GB, free: 5.734 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 7.635e-05/0.3418, allocations: 11.98 kB / 1.356 GB, free: 5.723 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001846/0.342, allocations: 75.73 kB / 1.356 GB, free: 5.648 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001865/0.3421, allocations: 115.7 kB / 1.356 GB, free: 5.535 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.175e-05/0.3422, allocations: 8 kB / 1.356 GB, free: 5.527 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000154/0.3423, allocations: 87.92 kB / 1.356 GB, free: 5.441 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 6.255e-05/0.3424, allocations: 39.84 kB / 1.356 GB, free: 5.402 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 7.536e-05/0.3425, allocations: 51.62 kB / 1.356 GB, free: 5.352 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002827/0.3427, allocations: 183.5 kB / 1.356 GB, free: 5.172 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3427, allocations: 0 / 1.356 GB, free: 5.172 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3427, allocations: 3.938 kB / 1.356 GB, free: 5.168 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.427e-06/0.3428, allocations: 0 / 1.356 GB, free: 5.168 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.0006791/0.3434, allocations: 411.1 kB / 1.356 GB, free: 4.73 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.3435, allocations: 12.03 kB / 1.356 GB, free: 4.719 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.561e-05/0.3435, allocations: 34.73 kB / 1.357 GB, free: 4.676 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001616/0.3437, allocations: 24.84 kB / 1.357 GB, free: 4.652 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002571/0.3439, allocations: 158.2 kB / 1.357 GB, free: 4.473 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.3439, allocations: 4.375 kB / 1.357 GB, free: 4.469 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.878e-05/0.344, allocations: 4.375 kB / 1.357 GB, free: 4.465 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002142/0.3442, allocations: 131.5 kB / 1.357 GB, free: 4.324 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.3442, allocations: 0 / 1.357 GB, free: 4.324 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.3442, allocations: 3.984 kB / 1.357 GB, free: 4.32 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.3442, allocations: 0 / 1.357 GB, free: 4.32 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001242/0.3443, allocations: 75.91 kB / 1.357 GB, free: 4.246 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004284/0.3447, allocations: 376 kB / 1.357 GB, free: 3.832 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001724/0.3449, allocations: 109.1 kB / 1.357 GB, free: 3.707 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.727e-05/0.345, allocations: 65.78 kB / 1.357 GB, free: 3.637 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.113e-05/0.345, allocations: 8 kB / 1.357 GB, free: 3.629 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002393/0.3453, allocations: 166.8 kB / 1.358 GB, free: 3.441 MB / 1.045 GB Notification: Performance of pre-optimization done (n=13): time 1.152e-06/0.3453, allocations: 0 / 1.358 GB, free: 3.441 MB / 1.045 GB Notification: Performance of matching and sorting (n=13): time 0.0005266/0.3458, allocations: 343.2 kB / 1.358 GB, free: 3.094 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.873e-05/0.3459, allocations: 114.7 kB / 1.358 GB, free: 2.957 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002012/0.3461, allocations: 218.5 kB / 1.358 GB, free: 2.73 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.023e-05/0.3461, allocations: 29.7 kB / 1.358 GB, free: 2.695 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.966e-05/0.3462, allocations: 116.1 kB / 1.358 GB, free: 2.578 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.055e-05/0.3462, allocations: 31.75 kB / 1.358 GB, free: 2.547 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.612e-05/0.3463, allocations: 29.7 kB / 1.358 GB, free: 2.512 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.3464, allocations: 338.7 kB / 1.359 GB, free: 2.172 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.204e-05/0.3465, allocations: 59.98 kB / 1.359 GB, free: 2.113 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.466e-05/0.3466, allocations: 73.69 kB / 1.359 GB, free: 2.035 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002185/0.3468, allocations: 201 kB / 1.359 GB, free: 1.82 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3468, allocations: 0 / 1.359 GB, free: 1.82 MB / 1.045 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003373/0.3472, allocations: 271.4 kB / 1.359 GB, free: 1.543 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.029e-05/0.3472, allocations: 35.11 kB / 1.359 GB, free: 1.504 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.3472, allocations: 0 / 1.359 GB, free: 1.504 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.3472, allocations: 0 / 1.359 GB, free: 1.504 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.3473, allocations: 19.98 kB / 1.359 GB, free: 1.484 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.3473, allocations: 0 / 1.359 GB, free: 1.484 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001048/0.3474, allocations: 19.92 kB / 1.359 GB, free: 1.465 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.467e-05/0.3475, allocations: 8 kB / 1.359 GB, free: 1.457 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.0001529/0.3476, allocations: 180 kB / 1.36 GB, free: 1.266 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.912e-05/0.3476, allocations: 15.91 kB / 1.36 GB, free: 1.25 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002031/0.3478, allocations: 99.02 kB / 1.36 GB, free: 1.145 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.3478, allocations: 0 / 1.36 GB, free: 1.145 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.3478, allocations: 96 / 1.36 GB, free: 1.145 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-06/0.3478, allocations: 7.969 kB / 1.36 GB, free: 1.137 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001998/0.348, allocations: 212.5 kB / 1.36 GB, free: 0.8867 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.3481, allocations: 0 / 1.36 GB, free: 0.8867 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.424e-05/0.3481, allocations: 11.98 kB / 1.36 GB, free: 0.875 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.3481, allocations: 0 / 1.36 GB, free: 0.875 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.64e-05/0.3481, allocations: 8 kB / 1.36 GB, free: 0.8672 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.3481, allocations: 4 kB / 1.36 GB, free: 0.8633 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3481, allocations: 96 / 1.36 GB, free: 0.8633 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000406/0.3485, allocations: 343.4 kB / 1.36 GB, free: 0.5 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 7.018e-05/0.3486, allocations: 39.77 kB / 1.36 GB, free: 472 kB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.516e-05/0.3486, allocations: 7.984 kB / 1.36 GB, free: 464 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.024e-05/0.3487, allocations: 4 kB / 1.36 GB, free: 460 kB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.846e-05/0.3488, allocations: 11.98 kB / 1.36 GB, free: 448 kB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.808e-05/0.3488, allocations: 4 kB / 1.36 GB, free: 444 kB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001369/0.3489, allocations: 168.2 kB / 1.36 GB, free: 276 kB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3489, allocations: 0 / 1.36 GB, free: 276 kB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002552/0.3492, allocations: 51.83 kB / 1.361 GB, free: 224 kB / 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.0007839/0.35, allocations: 0.8924 MB / 1.361 GB, free: 15.29 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003348/0.3503, allocations: 215.3 kB / 1.362 GB, free: 15.07 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3503, allocations: 0 / 1.362 GB, free: 15.07 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001523/0.3505, allocations: 135.3 kB / 1.362 GB, free: 14.93 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002088/0.3507, allocations: 19.98 kB / 1.362 GB, free: 14.91 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002459/0.3531, allocations: 2.237 MB / 1.364 GB, free: 12.56 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003448/0.3535, allocations: 0.7275 MB / 1.365 GB, free: 11.8 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.105e-05/0.3535, allocations: 4 kB / 1.365 GB, free: 11.8 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.673e-05/0.3536, allocations: 39.42 kB / 1.365 GB, free: 11.76 MB / 1.061 GB Notification: Performance of SimCode: time 6.31e-07/0.3536, allocations: 0 / 1.365 GB, free: 11.76 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03041/0.384, allocations: 3.696 MB / 1.368 GB, free: 8.211 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.66/11.04, allocations: 18.73 kB / 1.368 GB, free: 8.199 MB / 1.061 GB " [Timeout remaining time 289] (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: 17.48602056200025]