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.000871/0.000871, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0008372/0.0008372, allocations: 177.9 kB / 23.21 MB, free: 1.352 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.913/0.913, allocations: 177.1 MB / 203.5 MB, free: 5.723 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.804/1.804, allocations: 377.8 MB / 0.6228 GB, free: 8.656 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: translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|decAng.decAng|solDecNOAA.y",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|decAng.decAng|solDecNOAA.y",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 0.9822 GB, free: 2.121 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.39e-05/3.557e-05, allocations: 6.219 kB / 0.9822 GB, free: 2.113 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002461/0.002497, allocations: 1.607 MB / 0.9838 GB, free: 0.4961 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001032/0.003529, allocations: 0.6426 MB / 0.9844 GB, free: 15.85 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.574e-05/0.003605, allocations: 7.875 kB / 0.9844 GB, free: 15.84 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001668/0.003772, allocations: 75.83 kB / 0.9845 GB, free: 15.77 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002827/0.004054, allocations: 107.5 kB / 0.9846 GB, free: 15.66 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003394/0.004394, allocations: 103.7 kB / 0.9847 GB, free: 15.56 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0001876/0.004581, allocations: 143.6 kB / 0.9848 GB, free: 15.42 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.004688, allocations: 8 kB / 0.9848 GB, free: 15.41 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002175/0.004906, allocations: 91.84 kB / 0.9849 GB, free: 15.32 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001549/0.005061, allocations: 111.8 kB / 0.985 GB, free: 15.21 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.252e-05/0.005083, allocations: 11.94 kB / 0.985 GB, free: 15.2 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001147/0.005198, allocations: 79.92 kB / 0.9851 GB, free: 15.12 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 7.22e-05/0.00527, allocations: 39.84 kB / 0.9851 GB, free: 15.08 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 5.756e-05/0.005328, allocations: 27.92 kB / 0.9852 GB, free: 15.05 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002506/0.005578, allocations: 195.4 kB / 0.9853 GB, free: 14.86 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.005582, allocations: 4 kB / 0.9853 GB, free: 14.86 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.134e-06/0.005584, allocations: 4 kB / 0.9853 GB, free: 14.86 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.00559, allocations: 0 / 0.9853 GB, free: 14.86 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.0006079/0.006197, allocations: 419 kB / 0.9857 GB, free: 14.41 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.006239, allocations: 12.03 kB / 0.9858 GB, free: 14.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001448/0.006384, allocations: 20.84 kB / 0.9858 GB, free: 14.38 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002501/0.006634, allocations: 165.2 kB / 0.9859 GB, free: 14.19 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.006651, allocations: 8.312 kB / 0.9859 GB, free: 14.18 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.407e-05/0.006665, allocations: 4.375 kB / 0.9859 GB, free: 14.18 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002056/0.006871, allocations: 163.5 kB / 0.9861 GB, free: 14 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.006879, allocations: 4.125 kB / 0.9861 GB, free: 14 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.006892, allocations: 384 / 0.9861 GB, free: 14 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.006899, allocations: 7.938 kB / 0.9861 GB, free: 13.99 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001115/0.007011, allocations: 105.6 kB / 0.9862 GB, free: 13.88 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000439/0.00745, allocations: 348.6 kB / 0.9865 GB, free: 13.51 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001736/0.007623, allocations: 138.8 kB / 0.9867 GB, free: 13.35 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.073e-05/0.007704, allocations: 103.5 kB / 0.9868 GB, free: 13.23 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.139e-05/0.007725, allocations: 4 kB / 0.9868 GB, free: 13.23 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002101/0.007936, allocations: 216.3 kB / 0.987 GB, free: 12.99 MB / 0.948 GB Notification: Performance of pre-optimization done (n=14): time 2.084e-06/0.007938, allocations: 3.938 kB / 0.987 GB, free: 12.98 MB / 0.948 GB Notification: Performance of matching and sorting (n=14): time 0.0004391/0.008377, allocations: 402.5 kB / 0.9874 GB, free: 12.57 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.63e-05/0.008433, allocations: 114.8 kB / 0.9875 GB, free: 12.43 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001435/0.008577, allocations: 216.1 kB / 0.9877 GB, free: 12.21 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/0.008593, allocations: 29.7 kB / 0.9877 GB, free: 12.17 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.96e-05/0.008653, allocations: 112.4 kB / 0.9878 GB, free: 12.05 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.532e-05/0.008688, allocations: 43.91 kB / 0.9879 GB, free: 12.01 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.282e-05/0.008731, allocations: 33.7 kB / 0.9879 GB, free: 11.97 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.688e-05/0.008818, allocations: 330.8 kB / 0.9882 GB, free: 11.64 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.017e-05/0.008898, allocations: 93.67 kB / 0.9883 GB, free: 11.54 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.778e-05/0.008976, allocations: 115.4 kB / 0.9884 GB, free: 11.42 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001571/0.009133, allocations: 205 kB / 0.9886 GB, free: 11.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.009135, allocations: 3.938 kB / 0.9886 GB, free: 11.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000259/0.009394, allocations: 317 kB / 0.9889 GB, free: 10.87 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.906e-05/0.009433, allocations: 37.7 kB / 0.989 GB, free: 10.82 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.00944, allocations: 4.062 kB / 0.989 GB, free: 10.82 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.009455, allocations: 0 / 0.989 GB, free: 10.82 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.068e-05/0.009536, allocations: 15.94 kB / 0.989 GB, free: 10.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.009543, allocations: 3.984 kB / 0.989 GB, free: 10.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.577e-05/0.009609, allocations: 28.12 kB / 0.989 GB, free: 10.77 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.273e-05/0.009622, allocations: 4 kB / 0.989 GB, free: 10.77 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.0002007/0.009822, allocations: 175.5 kB / 0.9892 GB, free: 10.58 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.198e-05/0.009844, allocations: 23.84 kB / 0.9892 GB, free: 10.56 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001767/0.01002, allocations: 115.1 kB / 0.9893 GB, free: 10.44 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.01002, allocations: 4 kB / 0.9893 GB, free: 10.44 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.01003, allocations: 0 / 0.9893 GB, free: 10.44 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.01003, allocations: 0 / 0.9893 GB, free: 10.44 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001207/0.01015, allocations: 173.2 kB / 0.9895 GB, free: 10.24 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.01016, allocations: 0 / 0.9895 GB, free: 10.24 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.178e-05/0.0102, allocations: 11.98 kB / 0.9895 GB, free: 10.23 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.0102, allocations: 3.938 kB / 0.9895 GB, free: 10.22 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.01021, allocations: 4 kB / 0.9895 GB, free: 10.22 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.01022, allocations: 4 kB / 0.9895 GB, free: 10.21 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.01022, allocations: 0 / 0.9895 GB, free: 10.21 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002878/0.01051, allocations: 369.1 kB / 0.9898 GB, free: 9.82 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.277e-05/0.01056, allocations: 31.84 kB / 0.9899 GB, free: 9.789 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.581e-05/0.01058, allocations: 11.94 kB / 0.9899 GB, free: 9.777 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.255e-05/0.01064, allocations: 11.98 kB / 0.9899 GB, free: 9.766 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.786e-05/0.01068, allocations: 11.98 kB / 0.9899 GB, free: 9.754 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.557e-05/0.0107, allocations: 4 kB / 0.9899 GB, free: 9.75 MB / 0.948 GB Notification: Performance of sorting global known variables: time 8.891e-05/0.01079, allocations: 160.5 kB / 0.9901 GB, free: 9.594 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.01079, allocations: 0 / 0.9901 GB, free: 9.594 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001823/0.01097, allocations: 47.94 kB / 0.9901 GB, free: 9.547 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.0001823/0.01115, allocations: 135.1 kB / 0.9902 GB, free: 9.402 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002539/0.01141, allocations: 286.7 kB / 0.9905 GB, free: 9.098 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.01141, allocations: 3.938 kB / 0.9905 GB, free: 9.094 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001097/0.01152, allocations: 173 kB / 0.9907 GB, free: 8.906 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001752/0.01169, allocations: 12 kB / 0.9907 GB, free: 8.895 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005136/0.01221, allocations: 418.1 kB / 0.9911 GB, free: 8.445 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.15e-05/0.01229, allocations: 114.2 kB / 0.9912 GB, free: 8.309 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.789e-05/0.01234, allocations: 12.5 kB / 0.9912 GB, free: 8.297 MB / 0.948 GB Notification: Performance of SimCode: time 1.162e-06/0.01234, allocations: 4 kB / 0.9912 GB, free: 8.293 MB / 0.948 GB Notification: Performance of Templates: time 0.003129/0.01547, allocations: 1.963 MB / 0.9931 GB, free: 6.348 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination_res.mat","/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: 6.867802569642663]