Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0007684/0.0007684, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001185/0.001954, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0008333/0.0008333, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001075/0.001908, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9509/0.9509, allocations: 177.2 MB / 189.7 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08136/1.032, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.365/2.365, allocations: 447.1 MB / 0.675 GB, free: 5.891 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2287/2.594, allocations: 146 MB / 0.8176 GB, free: 3.801 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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_latest_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_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 0.8189 GB, free: 2.492 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.247e-05/2.369e-05, allocations: 4.562 kB / 0.8189 GB, free: 2.488 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002686/0.00271, allocations: 1.712 MB / 0.8206 GB, free: 0.7578 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0009388/0.003648, allocations: 0.6657 MB / 0.8212 GB, free: 88 kB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.399e-05/0.003712, allocations: 8 kB / 0.8212 GB, free: 80 kB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.0001349/0.003847, allocations: 75.75 kB / 0.8213 GB, free: 4 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.0002245/0.004072, allocations: 99.56 kB / 0.8214 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003017/0.004374, allocations: 99.62 kB / 0.8215 GB, free: 15.81 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001887/0.004562, allocations: 139.6 kB / 0.8216 GB, free: 15.67 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 7.067e-05/0.004633, allocations: 7.984 kB / 0.8216 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002271/0.00486, allocations: 103.8 kB / 0.8217 GB, free: 15.56 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001552/0.005015, allocations: 91.83 kB / 0.8218 GB, free: 15.47 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.389e-05/0.005039, allocations: 8 kB / 0.8218 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001867/0.005226, allocations: 103.8 kB / 0.8219 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 5.816e-05/0.005284, allocations: 31.86 kB / 0.822 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 4.718e-05/0.005331, allocations: 23.94 kB / 0.822 GB, free: 15.31 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002207/0.005552, allocations: 143.5 kB / 0.8221 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.216e-05/0.005564, allocations: 0 / 0.8221 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.122e-06/0.005565, allocations: 0 / 0.8221 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.402e-05/0.005579, allocations: 4 kB / 0.8221 GB, free: 15.16 MB / 0.8073 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.0006121/0.006191, allocations: 429.2 kB / 0.8225 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.006226, allocations: 8.031 kB / 0.8225 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001881/0.006414, allocations: 98.03 kB / 0.8226 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001702/0.006584, allocations: 149.5 kB / 0.8228 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.006598, allocations: 8.312 kB / 0.8228 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.573e-05/0.006614, allocations: 8.375 kB / 0.8228 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001615/0.006775, allocations: 137.1 kB / 0.8229 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.006782, allocations: 192 / 0.8229 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.006791, allocations: 384 / 0.8229 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.006799, allocations: 7.938 kB / 0.8229 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.164e-05/0.006861, allocations: 52.45 kB / 0.823 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003141/0.007175, allocations: 267.2 kB / 0.8232 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001366/0.007311, allocations: 142.7 kB / 0.8234 GB, free: 13.74 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.931e-05/0.007361, allocations: 63.62 kB / 0.8234 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.468e-05/0.007375, allocations: 4 kB / 0.8234 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001766/0.007552, allocations: 169.8 kB / 0.8236 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=14): time 9.62e-07/0.007553, allocations: 0 / 0.8236 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of matching and sorting (n=14): time 0.0002298/0.007783, allocations: 221.7 kB / 0.8238 GB, free: 13.22 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.922e-05/0.007862, allocations: 199.8 kB / 0.824 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/0.007983, allocations: 184.2 kB / 0.8242 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.91e-05/0.008002, allocations: 29.7 kB / 0.8242 GB, free: 12.76 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.651e-05/0.008049, allocations: 92.39 kB / 0.8243 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.091e-05/0.00809, allocations: 43.67 kB / 0.8243 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.443e-05/0.008144, allocations: 33.69 kB / 0.8244 GB, free: 12.58 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.117e-05/0.008235, allocations: 334.8 kB / 0.8247 GB, free: 12.24 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.888e-05/0.008284, allocations: 52.52 kB / 0.8247 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.467e-05/0.008339, allocations: 71.28 kB / 0.8248 GB, free: 12.1 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001087/0.008448, allocations: 131.8 kB / 0.8249 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.00845, allocations: 0 / 0.8249 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001587/0.008609, allocations: 163.8 kB / 0.8251 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 4.5e-05/0.008654, allocations: 45.62 kB / 0.8251 GB, free: 11.72 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.008659, allocations: 0 / 0.8251 GB, free: 11.72 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.008672, allocations: 0 / 0.8251 GB, free: 11.72 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.494e-05/0.008767, allocations: 19.98 kB / 0.8252 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.008771, allocations: 4 kB / 0.8252 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.345e-05/0.008834, allocations: 11.94 kB / 0.8252 GB, free: 11.69 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.36e-05/0.008848, allocations: 8 kB / 0.8252 GB, free: 11.68 MB / 0.8073 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.0001014/0.008949, allocations: 158.3 kB / 0.8253 GB, free: 11.51 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.062e-05/0.00898, allocations: 15.98 kB / 0.8253 GB, free: 11.49 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001296/0.009109, allocations: 75.06 kB / 0.8254 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.009113, allocations: 4 kB / 0.8254 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-06/0.009115, allocations: 0 / 0.8254 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.009118, allocations: 4 kB / 0.8254 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001144/0.009233, allocations: 101.8 kB / 0.8255 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.009234, allocations: 0 / 0.8255 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.902e-05/0.009283, allocations: 16 kB / 0.8255 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.027e-05/0.009333, allocations: 23.83 kB / 0.8256 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.009337, allocations: 4 kB / 0.8256 GB, free: 11.24 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.009348, allocations: 3.938 kB / 0.8256 GB, free: 11.24 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.009351, allocations: 3.938 kB / 0.8256 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.009353, allocations: 4 kB / 0.8256 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001859/0.009539, allocations: 207 kB / 0.8258 GB, free: 10.99 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.419e-05/0.009563, allocations: 4 kB / 0.8258 GB, free: 10.99 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.888e-05/0.009622, allocations: 19.98 kB / 0.8258 GB, free: 10.97 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.076e-05/0.009663, allocations: 7.922 kB / 0.8258 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.511e-05/0.009678, allocations: 4 kB / 0.8258 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 6.031e-05/0.009738, allocations: 60.53 kB / 0.8259 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.009738, allocations: 3.938 kB / 0.8259 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002206/0.009959, allocations: 47.94 kB / 0.8259 GB, free: 10.84 MB / 0.8073 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.0001858/0.01014, allocations: 122.8 kB / 0.826 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002093/0.01035, allocations: 207.7 kB / 0.8262 GB, free: 10.49 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 9.669e-06/0.01036, allocations: 4 kB / 0.8262 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001061/0.01047, allocations: 144.6 kB / 0.8264 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001664/0.01064, allocations: 63.28 kB / 0.8264 GB, free: 10.26 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001258/0.01189, allocations: 332.9 kB / 0.8267 GB, free: 9.902 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.405e-05/0.01195, allocations: 79.33 kB / 0.8268 GB, free: 9.805 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.89e-05/0.012, allocations: 8.734 kB / 0.8268 GB, free: 9.793 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001004/0.0121, allocations: 75.36 kB / 0.8269 GB, free: 9.719 MB / 0.8073 GB Notification: Performance of SimCode: time 1.313e-06/0.0121, allocations: 0 / 0.8269 GB, free: 9.719 MB / 0.8073 GB Notification: Performance of Templates: time 0.004374/0.01647, allocations: 1.887 MB / 0.8287 GB, free: 7.852 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.114845690317452]