Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008576/0.0008576, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 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.001036/0.001036, allocations: 169.9 kB / 22.46 MB, free: 2.102 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.8803/0.8803, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.727/1.727, allocations: 377.8 MB / 0.6221 GB, free: 8.676 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.365e-06/2.365e-06, allocations: 0 / 0.9809 GB, free: 2.598 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.511e-05/2.747e-05, allocations: 2.281 kB / 0.9809 GB, free: 2.594 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.003227/0.003254, allocations: 1.603 MB / 0.9825 GB, free: 0.9805 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001403/0.004657, allocations: 0.6426 MB / 0.9831 GB, free: 340 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.463e-05/0.004752, allocations: 4 kB / 0.9831 GB, free: 336 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0001977/0.004949, allocations: 75.75 kB / 0.9832 GB, free: 260 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.0003571/0.005307, allocations: 107.6 kB / 0.9833 GB, free: 152 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.000472/0.005778, allocations: 115.6 kB / 0.9834 GB, free: 36 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0002677/0.006046, allocations: 139.6 kB / 0.9836 GB, free: 15.9 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001327/0.006179, allocations: 3.984 kB / 0.9836 GB, free: 15.89 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003803/0.006559, allocations: 95.84 kB / 0.9837 GB, free: 15.8 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002136/0.006773, allocations: 111.8 kB / 0.9838 GB, free: 15.69 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.593e-05/0.006799, allocations: 8 kB / 0.9838 GB, free: 15.68 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000205/0.007004, allocations: 79.94 kB / 0.9838 GB, free: 15.61 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 9.541e-05/0.007099, allocations: 39.83 kB / 0.9839 GB, free: 15.57 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 9.17e-05/0.007191, allocations: 27.92 kB / 0.9839 GB, free: 15.54 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003658/0.007557, allocations: 199.4 kB / 0.9841 GB, free: 15.34 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.007561, allocations: 0 / 0.9841 GB, free: 15.34 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.302e-06/0.007562, allocations: 0 / 0.9841 GB, free: 15.34 MB / 0.948 GB Notification: Performance of Transformations before backend: time 7.003e-06/0.007569, allocations: 3.984 kB / 0.9841 GB, free: 15.34 MB / 0.948 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.0009346/0.008503, allocations: 419 kB / 0.9845 GB, free: 14.89 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.578e-05/0.008569, allocations: 12.03 kB / 0.9845 GB, free: 14.88 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.174e-05/0.008621, allocations: 34.75 kB / 0.9845 GB, free: 14.84 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002168/0.008838, allocations: 20.84 kB / 0.9846 GB, free: 14.82 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003784/0.009216, allocations: 173.2 kB / 0.9847 GB, free: 14.62 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.046e-05/0.009247, allocations: 4.375 kB / 0.9847 GB, free: 14.62 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.278e-05/0.009269, allocations: 8.359 kB / 0.9847 GB, free: 14.61 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003116/0.009581, allocations: 157.6 kB / 0.9849 GB, free: 14.44 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.009594, allocations: 4.188 kB / 0.9849 GB, free: 14.44 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.054e-05/0.009614, allocations: 8.062 kB / 0.9849 GB, free: 14.43 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.009622, allocations: 0 / 0.9849 GB, free: 14.43 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001685/0.00979, allocations: 105.7 kB / 0.985 GB, free: 14.32 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007185/0.01051, allocations: 368 kB / 0.9854 GB, free: 13.91 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002365/0.01075, allocations: 142.8 kB / 0.9855 GB, free: 13.75 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.151e-05/0.01084, allocations: 107.5 kB / 0.9856 GB, free: 13.63 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.043e-05/0.01087, allocations: 7.875 kB / 0.9856 GB, free: 13.62 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002905/0.01116, allocations: 215.8 kB / 0.9858 GB, free: 13.39 MB / 0.948 GB Notification: Performance of pre-optimization done (n=14): time 3.747e-06/0.01116, allocations: 4 kB / 0.9858 GB, free: 13.38 MB / 0.948 GB Notification: Performance of matching and sorting (n=14): time 0.0004991/0.01166, allocations: 402.5 kB / 0.9862 GB, free: 12.96 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.017e-05/0.01173, allocations: 114.8 kB / 0.9863 GB, free: 12.83 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001974/0.01193, allocations: 216.1 kB / 0.9865 GB, free: 12.61 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/0.01195, allocations: 25.7 kB / 0.9865 GB, free: 12.57 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 6.697e-05/0.01201, allocations: 116.4 kB / 0.9866 GB, free: 12.45 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.262e-05/0.01206, allocations: 39.67 kB / 0.9867 GB, free: 12.41 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.505e-05/0.01211, allocations: 33.72 kB / 0.9867 GB, free: 12.38 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.01222, allocations: 330.8 kB / 0.987 GB, free: 12.04 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.403e-05/0.0123, allocations: 97.61 kB / 0.9871 GB, free: 11.94 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.439e-05/0.01238, allocations: 115.4 kB / 0.9872 GB, free: 11.82 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001606/0.01254, allocations: 205 kB / 0.9874 GB, free: 11.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.01255, allocations: 3.938 kB / 0.9874 GB, free: 11.59 MB / 0.948 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002764/0.01282, allocations: 313.1 kB / 0.9877 GB, free: 11.27 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 4.736e-05/0.01287, allocations: 37.69 kB / 0.9878 GB, free: 11.23 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.01288, allocations: 4.078 kB / 0.9878 GB, free: 11.22 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.0129, allocations: 0 / 0.9878 GB, free: 11.22 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001146/0.01301, allocations: 19.92 kB / 0.9878 GB, free: 11.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.01302, allocations: 7.922 kB / 0.9878 GB, free: 11.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.032e-05/0.0131, allocations: 15.89 kB / 0.9878 GB, free: 11.18 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.387e-05/0.01312, allocations: 8 kB / 0.9878 GB, free: 11.17 MB / 0.948 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.0001415/0.01326, allocations: 183.5 kB / 0.988 GB, free: 10.98 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.299e-05/0.01328, allocations: 19.84 kB / 0.988 GB, free: 10.96 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002012/0.01348, allocations: 115.1 kB / 0.9881 GB, free: 10.84 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.01348, allocations: 0 / 0.9881 GB, free: 10.84 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.882e-06/0.01349, allocations: 256 / 0.9881 GB, free: 10.84 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.0135, allocations: 0 / 0.9881 GB, free: 10.84 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001537/0.01365, allocations: 196.6 kB / 0.9883 GB, free: 10.61 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.01365, allocations: 0 / 0.9883 GB, free: 10.61 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.264e-05/0.0137, allocations: 15.98 kB / 0.9883 GB, free: 10.59 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.01371, allocations: 4 kB / 0.9883 GB, free: 10.59 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.01372, allocations: 0 / 0.9883 GB, free: 10.59 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.01372, allocations: 4 kB / 0.9883 GB, free: 10.58 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.01372, allocations: 0 / 0.9883 GB, free: 10.58 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002984/0.01402, allocations: 381 kB / 0.9887 GB, free: 10.18 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.831e-05/0.01409, allocations: 31.84 kB / 0.9887 GB, free: 10.14 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.657e-05/0.01412, allocations: 8 kB / 0.9887 GB, free: 10.14 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.975e-05/0.01418, allocations: 7.984 kB / 0.9887 GB, free: 10.13 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.007e-05/0.01423, allocations: 11.98 kB / 0.9888 GB, free: 10.12 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.734e-05/0.01425, allocations: 8 kB / 0.9888 GB, free: 10.11 MB / 0.948 GB Notification: Performance of sorting global known variables: time 9.604e-05/0.01434, allocations: 160.5 kB / 0.9889 GB, free: 9.953 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.01434, allocations: 4 kB / 0.9889 GB, free: 9.949 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001886/0.01453, allocations: 39.94 kB / 0.989 GB, free: 9.91 MB / 0.948 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.000588/0.01512, allocations: 0.9407 MB / 0.9899 GB, free: 8.93 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002742/0.01539, allocations: 290.6 kB / 0.9902 GB, free: 8.621 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.01539, allocations: 3.938 kB / 0.9902 GB, free: 8.617 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001109/0.01551, allocations: 169 kB / 0.9903 GB, free: 8.434 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002079/0.01571, allocations: 16 kB / 0.9903 GB, free: 8.418 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001924/0.01764, allocations: 2.45 MB / 0.9927 GB, free: 5.836 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.64e-05/0.01771, allocations: 111.4 kB / 0.9928 GB, free: 5.707 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 3.999e-05/0.01775, allocations: 4.734 kB / 0.9928 GB, free: 5.699 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.846e-05/0.01781, allocations: 48.48 kB / 0.9929 GB, free: 5.652 MB / 0.948 GB Notification: Performance of SimCode: time 1.112e-06/0.01781, allocations: 0 / 0.9929 GB, free: 5.652 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01897/0.03678, allocations: 4.314 MB / 0.9971 GB, free: 1.516 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.697/6.734, allocations: 14.72 kB / 0.9971 GB, free: 1.504 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.fmu > Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.857672188431025]