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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 106.8 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001361/0.001361, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.283/1.283, allocations: 225.6 MB / 249.3 MB, free: 3.191 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.451/2.451, allocations: 476.7 MB / 0.7628 GB, free: 15.2 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001781/0.001781, allocations: 75.86 kB / 1.107 GB, free: 5.203 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7282/0.73, allocations: 168.7 MB / 1.271 GB, free: 7.715 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002187/0.7321, allocations: 1.632 MB / 1.273 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0008435/0.733, allocations: 0.6512 MB / 1.274 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.132e-05/0.733, allocations: 4.781 kB / 1.274 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001434/0.7332, allocations: 70.75 kB / 1.274 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002196/0.7334, allocations: 103.2 kB / 1.274 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002772/0.7337, allocations: 106.5 kB / 1.274 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001482/0.7338, allocations: 129.5 kB / 1.274 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.393e-05/0.7339, allocations: 6.609 kB / 1.274 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001263/0.734, allocations: 69.72 kB / 1.274 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000157/0.7342, allocations: 118.7 kB / 1.274 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.864e-05/0.7342, allocations: 6.406 kB / 1.274 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001113/0.7343, allocations: 77.05 kB / 1.274 GB, free: 5.973 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.804e-05/0.7344, allocations: 35.59 kB / 1.274 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.178e-05/0.7344, allocations: 51.81 kB / 1.274 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000192/0.7346, allocations: 174.3 kB / 1.274 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.776e-06/0.7346, allocations: 0.625 kB / 1.274 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.152e-06/0.7346, allocations: 0 / 1.274 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.7346, allocations: 6.953 kB / 1.275 GB, free: 5.848 MB / 0.9981 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.0005185/0.7351, allocations: 480.3 kB / 1.275 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.185e-05/0.7352, allocations: 12.52 kB / 1.275 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.763e-05/0.7352, allocations: 36.81 kB / 1.275 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.801e-05/0.7352, allocations: 16.59 kB / 1.275 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001481/0.7354, allocations: 221.5 kB / 1.275 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.7354, allocations: 2.75 kB / 1.275 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.457e-05/0.7354, allocations: 8.594 kB / 1.275 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001745/0.7356, allocations: 131.6 kB / 1.275 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.595e-06/0.7356, allocations: 0.5312 kB / 1.275 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.7356, allocations: 1.625 kB / 1.275 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.7356, allocations: 0.7812 kB / 1.275 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001167/0.7357, allocations: 71.38 kB / 1.275 GB, free: 5.008 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002917/0.736, allocations: 415.9 kB / 1.276 GB, free: 4.613 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001395/0.7361, allocations: 104.9 kB / 1.276 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.905e-05/0.7362, allocations: 69.02 kB / 1.276 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.816e-05/0.7363, allocations: 5.031 kB / 1.276 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001833/0.7364, allocations: 178.7 kB / 1.276 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=13): time 1.142e-06/0.7364, allocations: 0 / 1.276 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13): time 0.0004505/0.7369, allocations: 336.3 kB / 1.277 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.082e-05/0.7369, allocations: 108.2 kB / 1.277 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001498/0.7371, allocations: 217.4 kB / 1.277 GB, free: 4 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.172e-05/0.7371, allocations: 30.95 kB / 1.277 GB, free: 3.965 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.695e-05/0.7371, allocations: 118.4 kB / 1.277 GB, free: 3.855 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.815e-05/0.7371, allocations: 41.23 kB / 1.277 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.46e-05/0.7372, allocations: 31.39 kB / 1.277 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.893e-05/0.7372, allocations: 331.3 kB / 1.277 GB, free: 3.477 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.278e-05/0.7373, allocations: 62.86 kB / 1.277 GB, free: 3.461 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.546e-05/0.7374, allocations: 76.17 kB / 1.277 GB, free: 3.43 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001666/0.7376, allocations: 201.6 kB / 1.278 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.7376, allocations: 0.75 kB / 1.278 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002911/0.7379, allocations: 264.6 kB / 1.278 GB, free: 3.188 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.602e-05/0.7379, allocations: 36.2 kB / 1.278 GB, free: 3.156 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.7379, allocations: 3.672 kB / 1.278 GB, free: 3.156 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.7379, allocations: 0.8438 kB / 1.278 GB, free: 3.156 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.651e-05/0.738, allocations: 14.78 kB / 1.278 GB, free: 3.152 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.279e-06/0.738, allocations: 2.406 kB / 1.278 GB, free: 3.152 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.203e-05/0.7381, allocations: 18.56 kB / 1.278 GB, free: 3.141 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.312e-05/0.7381, allocations: 3.688 kB / 1.278 GB, free: 3.141 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 9.596e-05/0.7382, allocations: 181.5 kB / 1.278 GB, free: 2.98 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.991e-05/0.7382, allocations: 23.36 kB / 1.278 GB, free: 2.969 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001641/0.7384, allocations: 100.8 kB / 1.278 GB, free: 2.898 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.7384, allocations: 1.812 kB / 1.278 GB, free: 2.898 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.636e-06/0.7384, allocations: 1.312 kB / 1.278 GB, free: 2.898 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.7384, allocations: 2.25 kB / 1.278 GB, free: 2.898 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001277/0.7385, allocations: 238.4 kB / 1.279 GB, free: 2.676 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.7385, allocations: 4 kB / 1.279 GB, free: 2.672 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.106e-05/0.7386, allocations: 8.938 kB / 1.279 GB, free: 2.672 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.7386, allocations: 1.609 kB / 1.279 GB, free: 2.672 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.504e-05/0.7386, allocations: 7.766 kB / 1.279 GB, free: 2.668 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.7386, allocations: 3.672 kB / 1.279 GB, free: 2.668 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.7386, allocations: 0 / 1.279 GB, free: 2.668 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003447/0.7389, allocations: 341.5 kB / 1.279 GB, free: 2.488 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.632e-05/0.739, allocations: 111.4 kB / 1.279 GB, free: 2.379 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.947e-05/0.739, allocations: 4.062 kB / 1.279 GB, free: 2.379 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.066e-05/0.7391, allocations: 4.875 kB / 1.279 GB, free: 2.379 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.75e-05/0.7392, allocations: 10.86 kB / 1.279 GB, free: 2.375 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.812e-05/0.7392, allocations: 6.312 kB / 1.279 GB, free: 2.375 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001036/0.7393, allocations: 162.3 kB / 1.279 GB, free: 2.277 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.7393, allocations: 0.9375 kB / 1.279 GB, free: 2.277 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002341/0.7395, allocations: 47.19 kB / 1.279 GB, free: 2.27 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.0005615/0.7401, allocations: 0.8956 MB / 1.28 GB, free: 1.566 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002678/0.7403, allocations: 218.2 kB / 1.28 GB, free: 1.457 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.7403, allocations: 0 / 1.28 GB, free: 1.457 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001287/0.7405, allocations: 139.7 kB / 1.28 GB, free: 1.371 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001856/0.7407, allocations: 19.92 kB / 1.28 GB, free: 1.359 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001842/0.7425, allocations: 2.246 MB / 1.283 GB, free: 15.82 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003062/0.7428, allocations: 0.7264 MB / 1.283 GB, free: 15.12 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.33e-05/0.7428, allocations: 5.969 kB / 1.283 GB, free: 15.12 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.201e-05/0.7429, allocations: 40.94 kB / 1.283 GB, free: 15.09 MB / 1.014 GB Notification: Performance of SimCode: time 3e-07/0.7429, allocations: 0 / 1.283 GB, free: 15.09 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02435/0.7672, allocations: 3.535 MB / 1.287 GB, free: 14.52 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.087/7.854, allocations: 2.719 kB / 1.287 GB, free: 14.52 MB / 1.014 GB " [Timeout remaining time 292] (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: 13.11415059400315]