Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.0008059/0.0008059, allocations: 104.3 kB / 19.72 MB, free: 424 kB / 13.93 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.0008056/0.0008056, allocations: 210.8 kB / 23.02 MB, free: 2.973 MB / 13.93 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 0.9077/0.9077, allocations: 230.6 MB / 256.8 MB, free: 9.582 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.94/1.94, allocations: 0.5046 GB / 0.8104 GB, free: 2.746 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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_13_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="Buildings_13_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001042/0.001042, allocations: 67.89 kB / 1.177 GB, free: 12 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6951/0.6962, allocations: 180 MB / 1.352 GB, free: 1.711 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002198/0.6984, allocations: 1.608 MB / 1.354 GB, free: 96 kB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.0009938/0.6993, allocations: 0.6388 MB / 1.355 GB, free: 15.45 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.979e-05/0.6994, allocations: 4 kB / 1.355 GB, free: 15.45 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001544/0.6996, allocations: 79.75 kB / 1.355 GB, free: 15.37 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002505/0.6998, allocations: 103.7 kB / 1.355 GB, free: 15.27 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003133/0.7001, allocations: 99.75 kB / 1.355 GB, free: 15.17 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0001679/0.7003, allocations: 135.7 kB / 1.355 GB, free: 15.04 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.201e-05/0.7004, allocations: 7.984 kB / 1.355 GB, free: 15.03 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001762/0.7006, allocations: 79.73 kB / 1.355 GB, free: 14.95 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001482/0.7007, allocations: 111.7 kB / 1.355 GB, free: 14.84 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 1.966e-05/0.7007, allocations: 8 kB / 1.355 GB, free: 14.83 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001174/0.7009, allocations: 87.86 kB / 1.355 GB, free: 14.75 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 5.948e-05/0.7009, allocations: 35.91 kB / 1.355 GB, free: 14.71 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 5.791e-05/0.701, allocations: 47.67 kB / 1.355 GB, free: 14.66 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002195/0.7012, allocations: 177.6 kB / 1.356 GB, free: 14.49 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 7.855e-06/0.7012, allocations: 4 kB / 1.356 GB, free: 14.49 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.064e-06/0.7012, allocations: 0 / 1.356 GB, free: 14.49 MB / 1.042 GB Notification: Performance of Transformations before backend: time 7.724e-06/0.7012, allocations: 0 / 1.356 GB, free: 14.49 MB / 1.042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.000579/0.7018, allocations: 419 kB / 1.356 GB, free: 14.04 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.7018, allocations: 16.86 kB / 1.356 GB, free: 14.03 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.246e-05/0.7019, allocations: 38.75 kB / 1.356 GB, free: 13.98 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001167/0.702, allocations: 24.84 kB / 1.356 GB, free: 13.96 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002489/0.7022, allocations: 161.9 kB / 1.356 GB, free: 13.77 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/0.7022, allocations: 8.375 kB / 1.356 GB, free: 13.77 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.304e-05/0.7023, allocations: 4.375 kB / 1.356 GB, free: 13.76 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002061/0.7025, allocations: 169.2 kB / 1.356 GB, free: 13.58 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.7025, allocations: 0 / 1.356 GB, free: 13.58 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.7025, allocations: 4 kB / 1.356 GB, free: 13.57 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.7025, allocations: 3.938 kB / 1.356 GB, free: 13.57 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001028/0.7026, allocations: 105.6 kB / 1.356 GB, free: 13.46 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004003/0.703, allocations: 379.9 kB / 1.357 GB, free: 13.04 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001655/0.7032, allocations: 146.8 kB / 1.357 GB, free: 12.88 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.86e-05/0.7033, allocations: 107.5 kB / 1.357 GB, free: 12.76 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.762e-05/0.7033, allocations: 0 / 1.357 GB, free: 12.76 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002095/0.7035, allocations: 205.3 kB / 1.357 GB, free: 12.53 MB / 1.042 GB Notification: Performance of pre-optimization done (n=14): time 1.072e-06/0.7035, allocations: 0 / 1.357 GB, free: 12.53 MB / 1.042 GB Notification: Performance of matching and sorting (n=14): time 0.0006654/0.7041, allocations: 406.8 kB / 1.358 GB, free: 12.11 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.627e-05/0.7042, allocations: 110.8 kB / 1.358 GB, free: 11.97 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001419/0.7043, allocations: 216.4 kB / 1.358 GB, free: 11.75 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.7044, allocations: 29.7 kB / 1.358 GB, free: 11.71 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 5.689e-05/0.7044, allocations: 116.4 kB / 1.358 GB, free: 11.59 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 3.278e-05/0.7044, allocations: 43.62 kB / 1.358 GB, free: 11.55 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.3e-05/0.7045, allocations: 29.72 kB / 1.358 GB, free: 11.52 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 8.867e-05/0.7046, allocations: 334.8 kB / 1.359 GB, free: 11.18 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.747e-05/0.7047, allocations: 93.67 kB / 1.359 GB, free: 11.08 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.005e-05/0.7047, allocations: 111.4 kB / 1.359 GB, free: 10.96 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001525/0.7049, allocations: 205 kB / 1.359 GB, free: 10.74 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.7049, allocations: 0 / 1.359 GB, free: 10.74 MB / 1.042 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002495/0.7051, allocations: 324.8 kB / 1.359 GB, free: 10.41 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 3.272e-05/0.7052, allocations: 37.69 kB / 1.359 GB, free: 10.36 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.7052, allocations: 4 kB / 1.359 GB, free: 10.36 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.7052, allocations: 0 / 1.359 GB, free: 10.36 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.401e-05/0.7053, allocations: 19.92 kB / 1.359 GB, free: 10.34 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.7053, allocations: 0 / 1.359 GB, free: 10.34 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.111e-05/0.7053, allocations: 15.94 kB / 1.359 GB, free: 10.32 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.309e-05/0.7053, allocations: 4 kB / 1.359 GB, free: 10.32 MB / 1.042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 12 (decAng.k,$PRE.decAng.k,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 (12): * Single equations (assignments): 11 * 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.0001122/0.7055, allocations: 185.6 kB / 1.359 GB, free: 10.12 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.833e-05/0.7055, allocations: 19.91 kB / 1.359 GB, free: 10.11 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001702/0.7056, allocations: 111.4 kB / 1.36 GB, free: 9.984 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.7056, allocations: 0 / 1.36 GB, free: 9.984 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.7057, allocations: 4.25 kB / 1.36 GB, free: 9.98 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.7057, allocations: 0 / 1.36 GB, free: 9.98 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001308/0.7058, allocations: 196.6 kB / 1.36 GB, free: 9.746 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.7058, allocations: 0 / 1.36 GB, free: 9.746 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.262e-05/0.7058, allocations: 11.98 kB / 1.36 GB, free: 9.734 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.7058, allocations: 0 / 1.36 GB, free: 9.734 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.7058, allocations: 4 kB / 1.36 GB, free: 9.73 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.7058, allocations: 3.938 kB / 1.36 GB, free: 9.727 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.7058, allocations: 0 / 1.36 GB, free: 9.727 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003029/0.7061, allocations: 389.1 kB / 1.36 GB, free: 9.312 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.112e-05/0.7062, allocations: 31.84 kB / 1.36 GB, free: 9.281 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.218e-05/0.7062, allocations: 4 kB / 1.36 GB, free: 9.277 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.861e-05/0.7063, allocations: 7.984 kB / 1.36 GB, free: 9.27 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.445e-05/0.7063, allocations: 15.98 kB / 1.36 GB, free: 9.254 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.514e-05/0.7063, allocations: 4 kB / 1.36 GB, free: 9.25 MB / 1.042 GB Notification: Performance of sorting global known variables: time 9.478e-05/0.7064, allocations: 164.2 kB / 1.36 GB, free: 9.09 MB / 1.042 GB Notification: Performance of sort global known variables: time 6.1e-08/0.7064, allocations: 3.938 kB / 1.36 GB, free: 9.086 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0001873/0.7066, allocations: 51.88 kB / 1.36 GB, free: 9.035 MB / 1.042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,decAng.tNext,decAng.k,$whenCondition1,solDecNOAA.a,solDecNOAA.b,solDecNOAA.last,solDecNOAA.nextEvent,solDecNOAA.nextEventScaled) * Number of discrete states: 8 (solDecNOAA.nextEvent,solDecNOAA.last,solDecNOAA.nextEventScaled,solDecNOAA.b,solDecNOAA.a,$whenCondition1,decAng.k,decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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.0005357/0.7071, allocations: 0.9314 MB / 1.361 GB, free: 8.062 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0002559/0.7074, allocations: 286.7 kB / 1.362 GB, free: 7.758 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.7074, allocations: 0 / 1.362 GB, free: 7.758 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001141/0.7075, allocations: 173 kB / 1.362 GB, free: 7.57 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001837/0.7077, allocations: 21.5 kB / 1.362 GB, free: 7.551 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0018/0.7095, allocations: 2.447 MB / 1.364 GB, free: 4.973 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.66e-05/0.7096, allocations: 114.1 kB / 1.364 GB, free: 4.844 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 3.698e-05/0.7096, allocations: 8.656 kB / 1.364 GB, free: 4.832 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.981e-05/0.7097, allocations: 47.42 kB / 1.364 GB, free: 4.785 MB / 1.042 GB Notification: Performance of SimCode: time 6.12e-07/0.7097, allocations: 0 / 1.364 GB, free: 4.785 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09529/0.805, allocations: 4.182 MB / 1.368 GB, free: 0.7617 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.622/7.427, allocations: 9.406 kB / 1.368 GB, free: 0.7578 MB / 1.042 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo Buildings_13_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < Buildings_13_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/Buildings_13_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=12614.4 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.fmu) > Buildings_13_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination_fmpy.pipe ; mkfifo Buildings_13_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination_fmpy_res.csv --start-time 0 --stop-time 3.1536e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 12614.4 ../Buildings_13_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.fmu) > Buildings_13_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.12097867950797]