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.001863/0.001863, 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.001726/0.001726, allocations: 212.6 kB / 22.25 MB, free: 4.859 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.448/1.448, allocations: 230.6 MB / 256 MB, free: 7.793 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.677/2.677, allocations: 476 MB / 0.7699 GB, free: 4.707 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.00205/0.00205, allocations: 67.77 kB / 1.117 GB, free: 41.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.265/0.2671, allocations: 170 MB / 1.283 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002745/0.2698, allocations: 1.603 MB / 1.284 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001134/0.271, allocations: 0.6328 MB / 1.285 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.491e-05/0.271, allocations: 0 / 1.285 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001547/0.2712, allocations: 71.81 kB / 1.285 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002708/0.2715, allocations: 103.6 kB / 1.285 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003874/0.2718, allocations: 108.4 kB / 1.285 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001888/0.272, allocations: 127.7 kB / 1.285 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.323e-05/0.2721, allocations: 8 kB / 1.285 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001989/0.2723, allocations: 75.8 kB / 1.285 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001884/0.2725, allocations: 119.7 kB / 1.285 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.222e-05/0.2725, allocations: 4 kB / 1.285 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001472/0.2727, allocations: 75.94 kB / 1.285 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.075e-05/0.2727, allocations: 43.78 kB / 1.285 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.984e-05/0.2728, allocations: 47.72 kB / 1.285 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002599/0.2731, allocations: 174.9 kB / 1.286 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.2731, allocations: 0 / 1.286 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.733e-06/0.2731, allocations: 0 / 1.286 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.73e-06/0.2731, allocations: 0 / 1.286 GB, free: 9.199 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.000679/0.2738, allocations: 411 kB / 1.286 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.2738, allocations: 12.03 kB / 1.286 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.969e-05/0.2738, allocations: 34.75 kB / 1.286 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000158/0.274, allocations: 32.78 kB / 1.286 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002532/0.2743, allocations: 154.2 kB / 1.286 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.2743, allocations: 12.3 kB / 1.286 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.974e-05/0.2743, allocations: 4.375 kB / 1.286 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002494/0.2745, allocations: 153.2 kB / 1.286 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.2745, allocations: 8 kB / 1.286 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.2746, allocations: 0 / 1.286 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.2746, allocations: 0 / 1.286 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001569/0.2747, allocations: 109.6 kB / 1.287 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004554/0.2752, allocations: 356.1 kB / 1.287 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002146/0.2754, allocations: 146.8 kB / 1.287 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001671/0.2756, allocations: 99.48 kB / 1.287 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.657e-05/0.2756, allocations: 0 / 1.287 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000279/0.2759, allocations: 209.1 kB / 1.287 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=13): time 1.142e-06/0.2759, allocations: 3.938 kB / 1.287 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13): time 0.0005836/0.2764, allocations: 402.7 kB / 1.288 GB, free: 6.867 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.865e-05/0.2765, allocations: 106.8 kB / 1.288 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002136/0.2767, allocations: 223.8 kB / 1.288 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.955e-05/0.2767, allocations: 29.7 kB / 1.288 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.983e-05/0.2768, allocations: 124.1 kB / 1.288 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.912e-05/0.2769, allocations: 31.7 kB / 1.288 GB, free: 6.316 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.014e-05/0.2769, allocations: 33.64 kB / 1.288 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.2771, allocations: 334.8 kB / 1.289 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001133/0.2772, allocations: 89.67 kB / 1.289 GB, free: 5.848 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001188/0.2773, allocations: 111.4 kB / 1.289 GB, free: 5.727 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000217/0.2775, allocations: 200.9 kB / 1.289 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.2775, allocations: 0 / 1.289 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003643/0.2779, allocations: 304.9 kB / 1.289 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.889e-05/0.2779, allocations: 40.52 kB / 1.289 GB, free: 5.152 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.2779, allocations: 0 / 1.289 GB, free: 5.152 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.2779, allocations: 4 kB / 1.289 GB, free: 5.148 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.179e-05/0.278, allocations: 15.98 kB / 1.289 GB, free: 5.133 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.278, allocations: 0 / 1.289 GB, free: 5.133 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001004/0.2781, allocations: 19.88 kB / 1.289 GB, free: 5.113 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.617e-05/0.2782, allocations: 8 kB / 1.289 GB, free: 5.105 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.0001539/0.2783, allocations: 179.4 kB / 1.289 GB, free: 4.914 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.365e-05/0.2783, allocations: 19.91 kB / 1.29 GB, free: 4.895 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002044/0.2785, allocations: 99.41 kB / 1.29 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.785e-06/0.2786, allocations: 7.984 kB / 1.29 GB, free: 4.777 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.2786, allocations: 8.062 kB / 1.29 GB, free: 4.77 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.2786, allocations: 0 / 1.29 GB, free: 4.77 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001896/0.2788, allocations: 184.6 kB / 1.29 GB, free: 4.547 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.2788, allocations: 3.984 kB / 1.29 GB, free: 4.543 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.4e-05/0.2788, allocations: 12 kB / 1.29 GB, free: 4.531 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.2788, allocations: 3.938 kB / 1.29 GB, free: 4.527 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.858e-05/0.2788, allocations: 8 kB / 1.29 GB, free: 4.52 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.2788, allocations: 96 / 1.29 GB, free: 4.52 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2788, allocations: 3.938 kB / 1.29 GB, free: 4.516 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004563/0.2793, allocations: 380.3 kB / 1.29 GB, free: 4.113 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.895e-05/0.2794, allocations: 31.83 kB / 1.29 GB, free: 4.082 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.485e-05/0.2794, allocations: 8 kB / 1.29 GB, free: 4.074 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.177e-05/0.2795, allocations: 7.984 kB / 1.29 GB, free: 4.066 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.412e-05/0.2795, allocations: 11.97 kB / 1.29 GB, free: 4.055 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.178e-05/0.2796, allocations: 12 kB / 1.29 GB, free: 4.043 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001352/0.2797, allocations: 160.5 kB / 1.29 GB, free: 3.887 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2797, allocations: 0 / 1.29 GB, free: 3.887 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002444/0.2799, allocations: 39.94 kB / 1.29 GB, free: 3.848 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.0007967/0.2807, allocations: 0.9288 MB / 1.291 GB, free: 2.875 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003513/0.2811, allocations: 278.7 kB / 1.292 GB, free: 2.578 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.2811, allocations: 0 / 1.292 GB, free: 2.578 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000184/0.2813, allocations: 173 kB / 1.292 GB, free: 2.391 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001992/0.2815, allocations: 12 kB / 1.292 GB, free: 2.379 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00254/0.284, allocations: 2.423 MB / 1.294 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001052/0.2841, allocations: 118.1 kB / 1.294 GB, free: 15.69 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.965e-05/0.2842, allocations: 7.938 kB / 1.294 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.669e-05/0.2842, allocations: 43.41 kB / 1.294 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of SimCode: time 4.51e-07/0.2842, allocations: 3.938 kB / 1.294 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02949/0.3137, allocations: 4.13 MB / 1.298 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/11.44, allocations: 9.734 kB / 1.298 GB, free: 11.66 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.832723221741617]