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.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.001889/0.001889, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.002329/0.002329, allocations: 161.7 kB / 23.55 MB, free: 0.8906 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 1.468/1.468, allocations: 177.1 MB / 203.9 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.782/2.782, allocations: 359 MB / 0.6048 GB, free: 10.96 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.7864 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.934e-05/3.088e-05, allocations: 7.5 kB / 0.7864 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.003295/0.003326, allocations: 1.62 MB / 0.7879 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001433/0.004759, allocations: 0.6464 MB / 0.7886 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.279e-05/0.004832, allocations: 0 / 0.7886 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001892/0.005021, allocations: 77.2 kB / 0.7886 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0003193/0.00534, allocations: 101.4 kB / 0.7887 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003853/0.005725, allocations: 101.1 kB / 0.7888 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.000226/0.005951, allocations: 139.6 kB / 0.789 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 7.657e-05/0.006028, allocations: 9.031 kB / 0.789 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002733/0.006301, allocations: 103.8 kB / 0.7891 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001933/0.006494, allocations: 100.8 kB / 0.7892 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.782e-05/0.006522, allocations: 8 kB / 0.7892 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001637/0.006686, allocations: 89 kB / 0.7893 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 6.764e-05/0.006754, allocations: 31.86 kB / 0.7893 GB, free: 9.836 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 7.636e-05/0.00683, allocations: 35.91 kB / 0.7893 GB, free: 9.801 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003385/0.007169, allocations: 196.7 kB / 0.7895 GB, free: 9.609 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.007172, allocations: 0 / 0.7895 GB, free: 9.609 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.32e-07/0.007173, allocations: 0 / 0.7895 GB, free: 9.609 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.159e-06/0.007178, allocations: 0 / 0.7895 GB, free: 9.609 MB / 0.7448 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.0007995/0.007978, allocations: 418 kB / 0.7899 GB, free: 9.168 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.008013, allocations: 8.031 kB / 0.7899 GB, free: 9.16 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002427/0.008256, allocations: 36.77 kB / 0.79 GB, free: 9.125 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003107/0.008566, allocations: 163.3 kB / 0.7901 GB, free: 8.941 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.979e-05/0.008586, allocations: 4.375 kB / 0.7901 GB, free: 8.938 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.751e-05/0.008604, allocations: 4.375 kB / 0.7901 GB, free: 8.934 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002833/0.008887, allocations: 166.3 kB / 0.7903 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.008896, allocations: 1.844 kB / 0.7903 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/0.00891, allocations: 384 / 0.7903 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.008917, allocations: 3.938 kB / 0.7903 GB, free: 8.75 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001798/0.009097, allocations: 97.67 kB / 0.7904 GB, free: 8.648 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005765/0.009674, allocations: 357.7 kB / 0.7907 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002586/0.009932, allocations: 146.9 kB / 0.7909 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001609/0.01009, allocations: 105.1 kB / 0.791 GB, free: 7.984 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.883e-05/0.01012, allocations: 4 kB / 0.791 GB, free: 7.98 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003066/0.01043, allocations: 208.3 kB / 0.7912 GB, free: 7.746 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=14): time 1.142e-06/0.01043, allocations: 0 / 0.7912 GB, free: 7.746 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14): time 0.0006936/0.01112, allocations: 416.3 kB / 0.7916 GB, free: 7.316 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.208e-05/0.01122, allocations: 110.8 kB / 0.7917 GB, free: 7.184 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002466/0.01146, allocations: 214.6 kB / 0.7919 GB, free: 6.961 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.333e-05/0.0115, allocations: 29.7 kB / 0.7919 GB, free: 6.926 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.796e-05/0.01159, allocations: 113.3 kB / 0.792 GB, free: 6.809 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.58e-05/0.01165, allocations: 43.91 kB / 0.7921 GB, free: 6.766 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.849e-05/0.01172, allocations: 29.72 kB / 0.7921 GB, free: 6.73 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001924/0.01191, allocations: 331.3 kB / 0.7924 GB, free: 6.398 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001548/0.01206, allocations: 98.36 kB / 0.7925 GB, free: 6.297 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001492/0.01221, allocations: 117 kB / 0.7926 GB, free: 6.172 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002754/0.01249, allocations: 209.7 kB / 0.7928 GB, free: 5.949 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.01249, allocations: 1.312 kB / 0.7928 GB, free: 5.949 MB / 0.7448 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004674/0.01296, allocations: 324.8 kB / 0.7931 GB, free: 5.613 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.74e-05/0.01301, allocations: 41.69 kB / 0.7932 GB, free: 5.566 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.01301, allocations: 4 kB / 0.7932 GB, free: 5.562 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/0.01303, allocations: 0.5312 kB / 0.7932 GB, free: 5.562 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/0.01315, allocations: 21.3 kB / 0.7932 GB, free: 5.543 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.451e-06/0.01316, allocations: 0 / 0.7932 GB, free: 5.543 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001123/0.01327, allocations: 8 kB / 0.7932 GB, free: 5.535 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.79e-05/0.01329, allocations: 5.156 kB / 0.7932 GB, free: 5.531 MB / 0.7448 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.0001896/0.01348, allocations: 181.6 kB / 0.7934 GB, free: 5.34 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.477e-05/0.01353, allocations: 32.97 kB / 0.7934 GB, free: 5.309 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002313/0.01376, allocations: 111 kB / 0.7935 GB, free: 5.199 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.01376, allocations: 1.75 kB / 0.7935 GB, free: 5.199 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.01377, allocations: 0 / 0.7935 GB, free: 5.199 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.01377, allocations: 0 / 0.7935 GB, free: 5.199 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000212/0.01398, allocations: 157.3 kB / 0.7937 GB, free: 5.016 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.01399, allocations: 4 kB / 0.7937 GB, free: 5.012 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.784e-05/0.01404, allocations: 9.344 kB / 0.7937 GB, free: 5.004 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.01405, allocations: 3.938 kB / 0.7937 GB, free: 5 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.144e-05/0.01407, allocations: 11.98 kB / 0.7937 GB, free: 4.988 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.01407, allocations: 0.875 kB / 0.7937 GB, free: 4.988 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.01407, allocations: 0 / 0.7937 GB, free: 4.988 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005507/0.01462, allocations: 381.1 kB / 0.794 GB, free: 4.582 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.302e-05/0.01471, allocations: 33.89 kB / 0.7941 GB, free: 4.551 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.808e-05/0.01475, allocations: 8.188 kB / 0.7941 GB, free: 4.543 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001215/0.01487, allocations: 16 kB / 0.7941 GB, free: 4.527 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.795e-05/0.01492, allocations: 7.984 kB / 0.7941 GB, free: 4.52 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.491e-05/0.01495, allocations: 11.98 kB / 0.7941 GB, free: 4.508 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001634/0.01511, allocations: 153.1 kB / 0.7943 GB, free: 4.359 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9.1e-08/0.01511, allocations: 3.938 kB / 0.7943 GB, free: 4.355 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002957/0.01541, allocations: 55.36 kB / 0.7943 GB, free: 4.305 MB / 0.7448 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.0002352/0.01564, allocations: 135.1 kB / 0.7945 GB, free: 4.164 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004396/0.01608, allocations: 286.8 kB / 0.7947 GB, free: 3.859 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.01609, allocations: 0 / 0.7947 GB, free: 3.859 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002072/0.01629, allocations: 169 kB / 0.7949 GB, free: 3.676 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002295/0.01652, allocations: 19.98 kB / 0.7949 GB, free: 3.656 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007235/0.01725, allocations: 397.8 kB / 0.7953 GB, free: 3.234 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001316/0.01738, allocations: 106.3 kB / 0.7954 GB, free: 3.105 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.429e-05/0.01742, allocations: 9.531 kB / 0.7954 GB, free: 3.094 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.686e-05/0.01746, allocations: 17.44 kB / 0.7954 GB, free: 3.078 MB / 0.7448 GB Notification: Performance of SimCode: time 7.51e-07/0.01746, allocations: 0 / 0.7954 GB, free: 3.078 MB / 0.7448 GB Notification: Performance of Templates: time 0.005697/0.02316, allocations: 1.731 MB / 0.7971 GB, free: 1.398 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.csv","/var/lib/jenkins/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: 7.534750575083308]