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.000936/0.000936, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001375/0.002311, allocations: 435.8 kB / 10.33 MB, free: 368 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.0009104/0.0009104, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001215/0.002125, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9395/0.9395, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08656/1.026, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.35/2.35, allocations: 446.7 MB / 0.6745 GB, free: 6.223 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2264/2.576, allocations: 145.9 MB / 0.817 GB, free: 4.227 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.052e-06/1.052e-06, allocations: 0 / 0.8183 GB, free: 2.941 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.662e-05/1.767e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.938 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.001964/0.001982, allocations: 1.708 MB / 0.8199 GB, free: 1.211 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0007193/0.002701, allocations: 0.6736 MB / 0.8206 GB, free: 0.5312 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.018e-05/0.002751, allocations: 3.938 kB / 0.8206 GB, free: 0.5273 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.0001092/0.00286, allocations: 79.77 kB / 0.8207 GB, free: 460 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.0001655/0.003026, allocations: 103.6 kB / 0.8208 GB, free: 356 kB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002132/0.003239, allocations: 91.64 kB / 0.8209 GB, free: 264 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001364/0.003375, allocations: 131.7 kB / 0.821 GB, free: 132 kB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 5.972e-05/0.003435, allocations: 4 kB / 0.821 GB, free: 128 kB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001762/0.003611, allocations: 119.8 kB / 0.8211 GB, free: 8 kB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001356/0.003747, allocations: 91.77 kB / 0.8212 GB, free: 15.92 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.024e-05/0.003767, allocations: 8 kB / 0.8212 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001435/0.003911, allocations: 103.8 kB / 0.8213 GB, free: 15.81 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 4.531e-05/0.003956, allocations: 27.94 kB / 0.8213 GB, free: 15.78 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 4.245e-05/0.003998, allocations: 31.88 kB / 0.8214 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.000173/0.004171, allocations: 135.6 kB / 0.8215 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.233e-05/0.004184, allocations: 0 / 0.8215 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.222e-06/0.004185, allocations: 0 / 0.8215 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.213e-05/0.004197, allocations: 0 / 0.8215 GB, free: 15.62 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.0005127/0.00471, allocations: 433.2 kB / 0.8219 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.888e-05/0.004739, allocations: 8.625 kB / 0.8219 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001516/0.00489, allocations: 98.03 kB / 0.822 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000142/0.005032, allocations: 153.2 kB / 0.8222 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.181e-05/0.005044, allocations: 8.375 kB / 0.8222 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.147e-05/0.005056, allocations: 4.375 kB / 0.8222 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001327/0.005188, allocations: 133.1 kB / 0.8223 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.005196, allocations: 4.125 kB / 0.8223 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.286e-06/0.005204, allocations: 384 / 0.8223 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.00521, allocations: 11.92 kB / 0.8223 GB, free: 14.69 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.18e-05/0.005262, allocations: 52.52 kB / 0.8224 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002907/0.005552, allocations: 271.2 kB / 0.8226 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001145/0.005667, allocations: 138.7 kB / 0.8228 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.824e-05/0.005705, allocations: 55.41 kB / 0.8228 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.617e-05/0.005721, allocations: 4 kB / 0.8228 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001506/0.005872, allocations: 171.5 kB / 0.823 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=14): time 1.192e-06/0.005873, allocations: 3.938 kB / 0.823 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of matching and sorting (n=14): time 0.0001867/0.00606, allocations: 221.4 kB / 0.8232 GB, free: 13.67 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.426e-05/0.006104, allocations: 106.8 kB / 0.8233 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.879e-05/0.006193, allocations: 183.5 kB / 0.8235 GB, free: 13.35 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.006209, allocations: 33.69 kB / 0.8235 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.311e-05/0.006242, allocations: 96.39 kB / 0.8236 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.947e-05/0.006271, allocations: 35.69 kB / 0.8236 GB, free: 13.17 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.883e-05/0.00631, allocations: 33.69 kB / 0.8237 GB, free: 13.13 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.46e-05/0.006385, allocations: 326.8 kB / 0.824 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.545e-05/0.00642, allocations: 52.52 kB / 0.824 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.004e-05/0.00646, allocations: 67.38 kB / 0.8241 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.264e-05/0.006543, allocations: 140 kB / 0.8242 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.006545, allocations: 0 / 0.8242 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001146/0.006659, allocations: 159.8 kB / 0.8244 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.522e-05/0.006694, allocations: 45.62 kB / 0.8244 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.006699, allocations: 0 / 0.8244 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.143e-06/0.006706, allocations: 0 / 0.8244 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.108e-05/0.006787, allocations: 19.98 kB / 0.8244 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.826e-06/0.00679, allocations: 0 / 0.8244 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.131e-05/0.006841, allocations: 16.19 kB / 0.8244 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/0.006851, allocations: 11.92 kB / 0.8245 GB, free: 12.24 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 7.823e-05/0.00693, allocations: 158.4 kB / 0.8246 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.853e-05/0.006948, allocations: 15.98 kB / 0.8246 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000103/0.007051, allocations: 75.06 kB / 0.8247 GB, free: 11.97 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.007054, allocations: 7.938 kB / 0.8247 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-06/0.007055, allocations: 0 / 0.8247 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.007059, allocations: 0 / 0.8247 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.772e-05/0.007146, allocations: 105.8 kB / 0.8248 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.007148, allocations: 3.938 kB / 0.8248 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.582e-05/0.007184, allocations: 15.98 kB / 0.8248 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.867e-05/0.007222, allocations: 23.84 kB / 0.8248 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.007224, allocations: 0 / 0.8248 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.007235, allocations: 11.92 kB / 0.8249 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.007237, allocations: 0 / 0.8249 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.007239, allocations: 4 kB / 0.8249 GB, free: 11.78 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000136/0.007375, allocations: 213.2 kB / 0.8251 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.175e-05/0.007397, allocations: 7.984 kB / 0.8251 GB, free: 11.53 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.997e-05/0.007437, allocations: 8 kB / 0.8251 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.46e-05/0.007472, allocations: 11.92 kB / 0.8251 GB, free: 11.51 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.441e-05/0.007486, allocations: 11.98 kB / 0.8251 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.858e-05/0.007525, allocations: 56.62 kB / 0.8252 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.007525, allocations: 0 / 0.8252 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001426/0.007667, allocations: 47.94 kB / 0.8252 GB, free: 11.39 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.0001305/0.007798, allocations: 123.1 kB / 0.8253 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001523/0.00795, allocations: 199.5 kB / 0.8255 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/0.007956, allocations: 4 kB / 0.8255 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 7.516e-05/0.008031, allocations: 133.9 kB / 0.8256 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001124/0.008144, allocations: 27.98 kB / 0.8257 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001173/0.009317, allocations: 341 kB / 0.826 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.007e-05/0.009357, allocations: 79.33 kB / 0.8261 GB, free: 10.4 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.263e-05/0.00939, allocations: 8.719 kB / 0.8261 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.697e-05/0.009467, allocations: 67.38 kB / 0.8261 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of SimCode: time 1.062e-06/0.009468, allocations: 4 kB / 0.8261 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of Templates: time 0.003607/0.01307, allocations: 1.883 MB / 0.828 GB, free: 8.469 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.99591857381165]