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.001586/0.001586, allocations: 103 kB / 16.45 MB, free: 6.449 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.001916/0.001916, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.415/1.415, allocations: 230.6 MB / 252.8 MB, free: 9.113 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.687/2.687, allocations: 476.7 MB / 0.7672 GB, free: 5.254 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.002133/0.002133, allocations: 69.94 kB / 1.112 GB, free: 9.082 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3198/0.322, allocations: 169.9 MB / 1.278 GB, free: 5.273 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002878/0.3248, allocations: 1.624 MB / 1.28 GB, free: 3.641 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00116/0.326, allocations: 0.6867 MB / 1.281 GB, free: 2.949 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.597e-05/0.3261, allocations: 4 kB / 1.281 GB, free: 2.945 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000157/0.3262, allocations: 75.75 kB / 1.281 GB, free: 2.871 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.000282/0.3265, allocations: 115.7 kB / 1.281 GB, free: 2.758 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003471/0.3268, allocations: 95.78 kB / 1.281 GB, free: 2.664 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001911/0.327, allocations: 135.6 kB / 1.281 GB, free: 2.531 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 7.832e-05/0.3271, allocations: 4 kB / 1.281 GB, free: 2.527 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001985/0.3273, allocations: 87.72 kB / 1.281 GB, free: 2.441 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001686/0.3275, allocations: 103.8 kB / 1.281 GB, free: 2.34 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.078e-05/0.3275, allocations: 8 kB / 1.281 GB, free: 2.332 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001519/0.3277, allocations: 87.92 kB / 1.281 GB, free: 2.246 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.974e-05/0.3277, allocations: 35.91 kB / 1.281 GB, free: 2.211 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.173e-05/0.3278, allocations: 59.59 kB / 1.281 GB, free: 2.152 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002474/0.328, allocations: 171.6 kB / 1.281 GB, free: 1.984 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.328, allocations: 0 / 1.281 GB, free: 1.984 MB / 0.9825 GB Notification: Performance of FrontEnd: time 9.61e-07/0.328, allocations: 3.938 kB / 1.281 GB, free: 1.98 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.728e-06/0.328, allocations: 0 / 1.281 GB, free: 1.98 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.0007034/0.3287, allocations: 484.2 kB / 1.282 GB, free: 1.453 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.3288, allocations: 12.03 kB / 1.282 GB, free: 1.441 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.266e-05/0.3288, allocations: 38.69 kB / 1.282 GB, free: 1.395 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001563/0.329, allocations: 32.78 kB / 1.282 GB, free: 1.363 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000238/0.3292, allocations: 213.3 kB / 1.282 GB, free: 1.117 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.3292, allocations: 4.375 kB / 1.282 GB, free: 1.113 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.9e-05/0.3293, allocations: 8.375 kB / 1.282 GB, free: 1.105 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002117/0.3295, allocations: 127.4 kB / 1.282 GB, free: 0.9688 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.3295, allocations: 0 / 1.282 GB, free: 0.9688 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/0.3295, allocations: 7.938 kB / 1.282 GB, free: 0.9609 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.3295, allocations: 0 / 1.282 GB, free: 0.9609 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001416/0.3296, allocations: 75.95 kB / 1.282 GB, free: 0.8867 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004423/0.3301, allocations: 408.9 kB / 1.283 GB, free: 444 kB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001693/0.3302, allocations: 97.17 kB / 1.283 GB, free: 328 kB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001026/0.3303, allocations: 77.78 kB / 1.283 GB, free: 244 kB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.063e-05/0.3304, allocations: 4 kB / 1.283 GB, free: 240 kB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002446/0.3306, allocations: 169.1 kB / 1.283 GB, free: 48 kB / 0.9825 GB Notification: Performance of pre-optimization done (n=13): time 1.102e-06/0.3306, allocations: 0 / 1.283 GB, free: 48 kB / 0.9825 GB Notification: Performance of matching and sorting (n=13): time 0.0005667/0.3312, allocations: 343.1 kB / 1.283 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.917e-05/0.3313, allocations: 118.8 kB / 1.284 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002151/0.3315, allocations: 214.9 kB / 1.284 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.614e-05/0.3315, allocations: 29.7 kB / 1.284 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.757e-05/0.3316, allocations: 120.1 kB / 1.284 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.908e-05/0.3316, allocations: 31.7 kB / 1.284 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.84e-05/0.3317, allocations: 33.7 kB / 1.284 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.3318, allocations: 334.8 kB / 1.284 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.82e-05/0.3319, allocations: 55.98 kB / 1.284 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001003/0.332, allocations: 77.69 kB / 1.284 GB, free: 14.63 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002167/0.3322, allocations: 200.9 kB / 1.285 GB, free: 14.42 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.3322, allocations: 0 / 1.285 GB, free: 14.42 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000368/0.3326, allocations: 267.2 kB / 1.285 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.73e-05/0.3326, allocations: 37.7 kB / 1.285 GB, free: 14.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.3326, allocations: 0 / 1.285 GB, free: 14.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.3326, allocations: 96 / 1.285 GB, free: 14.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.3327, allocations: 20.23 kB / 1.285 GB, free: 14.08 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.3328, allocations: 0 / 1.285 GB, free: 14.08 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001029/0.3329, allocations: 31.81 kB / 1.285 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.501e-05/0.3329, allocations: 4 kB / 1.285 GB, free: 14.05 MB / 0.9981 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.0001696/0.333, allocations: 186.6 kB / 1.285 GB, free: 13.85 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.694e-05/0.3331, allocations: 15.91 kB / 1.285 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002112/0.3333, allocations: 99.16 kB / 1.285 GB, free: 13.72 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.3333, allocations: 0 / 1.285 GB, free: 13.72 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.3333, allocations: 0 / 1.285 GB, free: 13.72 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.3333, allocations: 7.984 kB / 1.285 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002195/0.3335, allocations: 233.5 kB / 1.285 GB, free: 13.44 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3335, allocations: 0 / 1.285 GB, free: 13.44 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.795e-05/0.3336, allocations: 15.92 kB / 1.285 GB, free: 13.42 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.3336, allocations: 0 / 1.285 GB, free: 13.42 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.732e-05/0.3336, allocations: 4 kB / 1.286 GB, free: 13.42 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.3336, allocations: 0 / 1.286 GB, free: 13.42 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.3336, allocations: 4 kB / 1.286 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004544/0.3341, allocations: 343.4 kB / 1.286 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001061/0.3342, allocations: 116.9 kB / 1.286 GB, free: 12.92 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.059e-05/0.3342, allocations: 4 kB / 1.286 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.479e-05/0.3343, allocations: 8 kB / 1.286 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.284e-05/0.3343, allocations: 7.984 kB / 1.286 GB, free: 12.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.089e-05/0.3344, allocations: 8 kB / 1.286 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001402/0.3345, allocations: 160.2 kB / 1.286 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.3345, allocations: 0 / 1.286 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002625/0.3348, allocations: 47.94 kB / 1.286 GB, free: 12.69 MB / 0.9981 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.0008367/0.3356, allocations: 0.8959 MB / 1.287 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003245/0.3359, allocations: 211.3 kB / 1.287 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.3359, allocations: 0 / 1.287 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001667/0.3361, allocations: 135.4 kB / 1.287 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002206/0.3363, allocations: 19.92 kB / 1.287 GB, free: 11.37 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002486/0.3388, allocations: 2.245 MB / 1.29 GB, free: 9.027 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003697/0.3392, allocations: 0.7352 MB / 1.29 GB, free: 8.266 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.818e-05/0.3392, allocations: 4 kB / 1.29 GB, free: 8.262 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.461e-05/0.3393, allocations: 43.42 kB / 1.29 GB, free: 8.219 MB / 0.9981 GB Notification: Performance of SimCode: time 2.7e-07/0.3393, allocations: 0 / 1.29 GB, free: 8.219 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02608/0.3654, allocations: 3.543 MB / 1.294 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.209/8.574, allocations: 5.156 kB / 1.294 GB, free: 4.84 MB / 0.9981 GB " [Timeout remaining time 291] (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: 14.852294787066057]