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.0008046/0.0008046, allocations: 80.55 kB / 19.96 MB, free: 4.602 MB / 18.57 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.001503/0.001503, allocations: 177.2 kB / 23.24 MB, free: 1.324 MB / 18.57 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.8984/0.8984, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.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.893/1.893, allocations: 389.6 MB / 0.6343 GB, free: 12.59 MB / 0.6042 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 2.134e-06/2.134e-06, allocations: 0 / 1.001 GB, free: 13.55 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.21e-05/3.424e-05, allocations: 5.797 kB / 1.001 GB, free: 13.55 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002645/0.002679, allocations: 1.596 MB / 1.002 GB, free: 11.94 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001092/0.003771, allocations: 0.6387 MB / 1.003 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.816e-05/0.003849, allocations: 0 / 1.003 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001805/0.004029, allocations: 83.69 kB / 1.003 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0003288/0.004358, allocations: 107.5 kB / 1.003 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004186/0.004777, allocations: 103.7 kB / 1.003 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0002046/0.004981, allocations: 139.6 kB / 1.003 GB, free: 10.87 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.005088, allocations: 8 kB / 1.003 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002477/0.005335, allocations: 91.84 kB / 1.003 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001718/0.005507, allocations: 111.8 kB / 1.003 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 3.509e-05/0.005542, allocations: 8 kB / 1.003 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001469/0.005689, allocations: 91.8 kB / 1.004 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 7.399e-05/0.005763, allocations: 35.91 kB / 1.004 GB, free: 10.53 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 6.518e-05/0.005828, allocations: 31.86 kB / 1.004 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002743/0.006103, allocations: 195.4 kB / 1.004 GB, free: 10.31 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 6.553e-06/0.006109, allocations: 4 kB / 1.004 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.254e-06/0.006112, allocations: 0 / 1.004 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 7.064e-06/0.006119, allocations: 0 / 1.004 GB, free: 10.3 MB / 0.9636 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.0006918/0.00681, allocations: 419 kB / 1.004 GB, free: 9.859 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/0.00686, allocations: 13.34 kB / 1.004 GB, free: 9.848 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.907e-05/0.006899, allocations: 42.72 kB / 1.004 GB, free: 9.797 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001598/0.007059, allocations: 24.8 kB / 1.004 GB, free: 9.773 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002993/0.007358, allocations: 153.5 kB / 1.004 GB, free: 9.598 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.787e-05/0.007376, allocations: 4.312 kB / 1.004 GB, free: 9.594 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.588e-05/0.007392, allocations: 12.38 kB / 1.004 GB, free: 9.582 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002376/0.00763, allocations: 153.6 kB / 1.005 GB, free: 9.414 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.007639, allocations: 192 / 1.005 GB, free: 9.414 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.653e-05/0.007655, allocations: 12.12 kB / 1.005 GB, free: 9.402 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.007662, allocations: 0 / 1.005 GB, free: 9.402 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001156/0.007777, allocations: 105.6 kB / 1.005 GB, free: 9.293 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005129/0.00829, allocations: 376 kB / 1.005 GB, free: 8.879 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002141/0.008504, allocations: 142.8 kB / 1.005 GB, free: 8.715 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.078e-05/0.008595, allocations: 107.5 kB / 1.005 GB, free: 8.598 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.365e-05/0.008619, allocations: 0 / 1.005 GB, free: 8.598 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002544/0.008873, allocations: 208.5 kB / 1.005 GB, free: 8.363 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=14): time 1.573e-06/0.008875, allocations: 7.938 kB / 1.005 GB, free: 8.355 MB / 0.9636 GB Notification: Performance of matching and sorting (n=14): time 0.0007586/0.009633, allocations: 411.1 kB / 1.006 GB, free: 7.93 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.822e-05/0.009702, allocations: 114.7 kB / 1.006 GB, free: 7.793 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001567/0.009858, allocations: 212.4 kB / 1.006 GB, free: 7.57 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.998e-05/0.009878, allocations: 29.7 kB / 1.006 GB, free: 7.535 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 8.371e-05/0.009962, allocations: 116.4 kB / 1.006 GB, free: 7.414 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 4.196e-05/0.01, allocations: 31.73 kB / 1.006 GB, free: 7.383 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.188e-05/0.01006, allocations: 33.7 kB / 1.006 GB, free: 7.344 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.01016, allocations: 330.8 kB / 1.007 GB, free: 7.012 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.69e-05/0.01025, allocations: 97.73 kB / 1.007 GB, free: 6.91 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.293e-05/0.01034, allocations: 121.2 kB / 1.007 GB, free: 6.781 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001637/0.01051, allocations: 209 kB / 1.007 GB, free: 6.559 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.01051, allocations: 7.875 kB / 1.007 GB, free: 6.551 MB / 0.9636 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000274/0.01078, allocations: 316.8 kB / 1.007 GB, free: 6.223 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 4.295e-05/0.01083, allocations: 41.69 kB / 1.007 GB, free: 6.176 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.01083, allocations: 0 / 1.007 GB, free: 6.176 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2e-05/0.01085, allocations: 4 kB / 1.007 GB, free: 6.172 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.01096, allocations: 8 kB / 1.007 GB, free: 6.164 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.01097, allocations: 4 kB / 1.007 GB, free: 6.16 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.4e-05/0.01104, allocations: 11.92 kB / 1.008 GB, free: 6.148 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.31e-05/0.01105, allocations: 4 kB / 1.008 GB, free: 6.145 MB / 0.9636 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.0001416/0.0112, allocations: 190.1 kB / 1.008 GB, free: 5.945 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.639e-05/0.01122, allocations: 19.86 kB / 1.008 GB, free: 5.926 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002003/0.01142, allocations: 111.1 kB / 1.008 GB, free: 5.809 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.01143, allocations: 7.938 kB / 1.008 GB, free: 5.801 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.01143, allocations: 0 / 1.008 GB, free: 5.801 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.01144, allocations: 0 / 1.008 GB, free: 5.801 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001705/0.01161, allocations: 188.6 kB / 1.008 GB, free: 5.574 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.01161, allocations: 0 / 1.008 GB, free: 5.574 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.412e-05/0.01165, allocations: 15.94 kB / 1.008 GB, free: 5.559 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.01166, allocations: 0 / 1.008 GB, free: 5.559 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.561e-05/0.01167, allocations: 11.98 kB / 1.008 GB, free: 5.547 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.01168, allocations: 4 kB / 1.008 GB, free: 5.543 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.01168, allocations: 0 / 1.008 GB, free: 5.543 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003329/0.01201, allocations: 381 kB / 1.008 GB, free: 5.137 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 7.102e-05/0.01208, allocations: 27.89 kB / 1.008 GB, free: 5.109 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.843e-05/0.01211, allocations: 7.984 kB / 1.008 GB, free: 5.102 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.237e-05/0.01217, allocations: 8 kB / 1.008 GB, free: 5.094 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.281e-05/0.01222, allocations: 7.984 kB / 1.008 GB, free: 5.086 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.127e-05/0.01225, allocations: 7.984 kB / 1.008 GB, free: 5.078 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0001119/0.01236, allocations: 164.2 kB / 1.009 GB, free: 4.918 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7e-08/0.01236, allocations: 0 / 1.009 GB, free: 4.918 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002036/0.01256, allocations: 51.92 kB / 1.009 GB, free: 4.867 MB / 0.9636 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.0006899/0.01325, allocations: 0.9288 MB / 1.01 GB, free: 3.895 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0003036/0.01356, allocations: 290.6 kB / 1.01 GB, free: 3.586 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.01356, allocations: 0 / 1.01 GB, free: 3.586 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.000123/0.01368, allocations: 169 kB / 1.01 GB, free: 3.402 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002249/0.01391, allocations: 16 kB / 1.01 GB, free: 3.387 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002182/0.01609, allocations: 2.45 MB / 1.012 GB, free: 0.8047 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002921/0.01638, allocations: 118.2 kB / 1.013 GB, free: 0.6719 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 4.594e-05/0.01643, allocations: 8.719 kB / 1.013 GB, free: 0.6602 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.433e-05/0.01649, allocations: 44.48 kB / 1.013 GB, free: 0.6172 MB / 0.9636 GB Notification: Performance of SimCode: time 1.553e-06/0.01649, allocations: 4 kB / 1.013 GB, free: 0.6133 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08847/0.105, allocations: 4.299 MB / 1.017 GB, free: 12.49 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.053/7.158, allocations: 9.562 kB / 1.017 GB, free: 12.48 MB / 0.9792 GB " [Timeout remaining time 293] (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: 11.922858770005405]