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.002412/0.002412, allocations: 83.69 kB / 20.23 MB, free: 4.191 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.002786/0.002786, allocations: 157.3 kB / 23.55 MB, free: 0.8789 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.541/1.541, allocations: 177.1 MB / 203.9 MB, free: 5.605 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.881/2.881, allocations: 359 MB / 0.6048 GB, free: 10.93 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.573e-06/1.573e-06, allocations: 0 / 0.7864 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.675e-05/2.832e-05, allocations: 5.125 kB / 0.7864 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.003086/0.003114, allocations: 1.636 MB / 0.788 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001402/0.004517, allocations: 0.6535 MB / 0.7886 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.225e-05/0.004579, allocations: 4 kB / 0.7886 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001891/0.004768, allocations: 73.39 kB / 0.7887 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0003214/0.00509, allocations: 113.4 kB / 0.7888 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003868/0.005476, allocations: 101.1 kB / 0.7889 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.000224/0.0057, allocations: 127.7 kB / 0.789 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.245e-05/0.005783, allocations: 8.844 kB / 0.789 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002546/0.006037, allocations: 104.2 kB / 0.7891 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001961/0.006233, allocations: 108.5 kB / 0.7892 GB, free: 9.918 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.314e-05/0.006267, allocations: 8 kB / 0.7892 GB, free: 9.91 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001721/0.006439, allocations: 84.81 kB / 0.7893 GB, free: 9.828 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 7.562e-05/0.006514, allocations: 27.92 kB / 0.7893 GB, free: 9.801 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 7.161e-05/0.006586, allocations: 31.86 kB / 0.7894 GB, free: 9.77 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003477/0.006934, allocations: 204 kB / 0.7895 GB, free: 9.57 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.057e-05/0.006944, allocations: 3.25 kB / 0.7896 GB, free: 9.57 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.503e-06/0.006946, allocations: 4 kB / 0.7896 GB, free: 9.566 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.006951, allocations: 0 / 0.7896 GB, free: 9.566 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.0008204/0.007771, allocations: 0.5088 MB / 0.7901 GB, free: 9.016 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.007807, allocations: 12.03 kB / 0.7901 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002171/0.008024, allocations: 32.77 kB / 0.7901 GB, free: 8.973 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002568/0.008281, allocations: 160.3 kB / 0.7902 GB, free: 8.789 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.02e-05/0.008301, allocations: 8.375 kB / 0.7903 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.71e-05/0.008318, allocations: 5.094 kB / 0.7903 GB, free: 8.777 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002454/0.008563, allocations: 136.9 kB / 0.7904 GB, free: 8.625 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.008573, allocations: 192 / 0.7904 GB, free: 8.625 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.008585, allocations: 384 / 0.7904 GB, free: 8.625 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.008592, allocations: 3.938 kB / 0.7904 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001377/0.00873, allocations: 69.69 kB / 0.7905 GB, free: 8.547 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006702/0.0094, allocations: 479.8 kB / 0.7909 GB, free: 8.039 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002467/0.009647, allocations: 131.8 kB / 0.791 GB, free: 7.879 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001305/0.009777, allocations: 82.78 kB / 0.7911 GB, free: 7.785 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.677e-05/0.009804, allocations: 3.938 kB / 0.7911 GB, free: 7.781 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003102/0.01011, allocations: 199.9 kB / 0.7913 GB, free: 7.551 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=14): time 1.423e-06/0.01012, allocations: 1 kB / 0.7913 GB, free: 7.551 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14): time 0.0005697/0.01069, allocations: 294.5 kB / 0.7916 GB, free: 7.238 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.64e-05/0.01077, allocations: 110.8 kB / 0.7917 GB, free: 7.105 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002931/0.01106, allocations: 272.7 kB / 0.792 GB, free: 6.824 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.467e-05/0.0111, allocations: 33.7 kB / 0.792 GB, free: 6.785 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001385/0.01124, allocations: 167.7 kB / 0.7922 GB, free: 6.613 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.863e-05/0.0113, allocations: 43.67 kB / 0.7922 GB, free: 6.57 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.212e-05/0.01138, allocations: 43.89 kB / 0.7922 GB, free: 6.52 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0005283/0.01191, allocations: 0.5129 MB / 0.7927 GB, free: 5.996 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001067/0.01201, allocations: 61.69 kB / 0.7928 GB, free: 5.93 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00013/0.01214, allocations: 93.05 kB / 0.7929 GB, free: 5.824 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000228/0.01237, allocations: 155.5 kB / 0.793 GB, free: 5.652 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.01237, allocations: 0 / 0.793 GB, free: 5.652 MB / 0.7448 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003964/0.01277, allocations: 241.3 kB / 0.7933 GB, free: 5.398 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.141e-05/0.01282, allocations: 43.06 kB / 0.7933 GB, free: 5.352 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.01283, allocations: 0 / 0.7933 GB, free: 5.352 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.01284, allocations: 4 kB / 0.7933 GB, free: 5.348 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.01297, allocations: 15.94 kB / 0.7933 GB, free: 5.332 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.01297, allocations: 1.156 kB / 0.7933 GB, free: 5.332 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001011/0.01307, allocations: 11.98 kB / 0.7933 GB, free: 5.32 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.982e-05/0.01309, allocations: 4 kB / 0.7933 GB, free: 5.316 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.0001914/0.01329, allocations: 208.5 kB / 0.7935 GB, free: 5.098 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.86e-05/0.01333, allocations: 29.42 kB / 0.7936 GB, free: 5.07 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002447/0.01358, allocations: 107 kB / 0.7937 GB, free: 4.965 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.01358, allocations: 0 / 0.7937 GB, free: 4.965 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.01359, allocations: 4.938 kB / 0.7937 GB, free: 4.961 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.217e-06/0.01359, allocations: 0 / 0.7937 GB, free: 4.961 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000246/0.01384, allocations: 184.6 kB / 0.7939 GB, free: 4.746 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-06/0.01384, allocations: 10.3 kB / 0.7939 GB, free: 4.738 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.252e-05/0.01391, allocations: 15.94 kB / 0.7939 GB, free: 4.723 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.01391, allocations: 3.938 kB / 0.7939 GB, free: 4.719 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.709e-05/0.01393, allocations: 4 kB / 0.7939 GB, free: 4.715 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.01393, allocations: 0 / 0.7939 GB, free: 4.715 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.01393, allocations: 0 / 0.7939 GB, free: 4.715 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004698/0.0144, allocations: 310.7 kB / 0.7942 GB, free: 4.375 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.636e-05/0.0145, allocations: 43.81 kB / 0.7942 GB, free: 4.332 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.954e-05/0.01454, allocations: 7.938 kB / 0.7942 GB, free: 4.324 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.206e-05/0.01463, allocations: 4.25 kB / 0.7942 GB, free: 4.32 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.103e-05/0.01469, allocations: 11.98 kB / 0.7942 GB, free: 4.309 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.9e-05/0.01472, allocations: 15.98 kB / 0.7943 GB, free: 4.293 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001714/0.01489, allocations: 184.8 kB / 0.7944 GB, free: 4.113 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01489, allocations: 0 / 0.7944 GB, free: 4.113 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002687/0.01516, allocations: 47.92 kB / 0.7945 GB, free: 4.066 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.0002331/0.01539, allocations: 140.5 kB / 0.7946 GB, free: 3.926 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004147/0.01581, allocations: 246.9 kB / 0.7949 GB, free: 3.656 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.01581, allocations: 0.5625 kB / 0.7949 GB, free: 3.656 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001975/0.01601, allocations: 155.7 kB / 0.795 GB, free: 3.484 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002354/0.01624, allocations: 21.39 kB / 0.795 GB, free: 3.465 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006763/0.01692, allocations: 349.9 kB / 0.7954 GB, free: 3.086 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001358/0.01705, allocations: 114.2 kB / 0.7955 GB, free: 2.949 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.545e-05/0.0171, allocations: 9.719 kB / 0.7955 GB, free: 2.938 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.696e-05/0.01714, allocations: 13.44 kB / 0.7955 GB, free: 2.926 MB / 0.7448 GB Notification: Performance of SimCode: time 7.91e-07/0.01714, allocations: 0 / 0.7955 GB, free: 2.926 MB / 0.7448 GB Notification: Performance of Templates: time 0.005757/0.02289, allocations: 1.717 MB / 0.7972 GB, free: 1.254 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1) [Timeout 240] 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.843707505962811]