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.001428/0.001428, allocations: 110.2 kB / 19.69 MB, free: 2.254 MB / 14.72 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.001577/0.001577, allocations: 209.6 kB / 23.01 MB, free: 4.57 MB / 14.72 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.573/1.573, allocations: 230.6 MB / 256.8 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.344/3.344, allocations: 0.505 GB / 0.8108 GB, free: 22.06 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002/0.002, allocations: 64.12 kB / 1.178 GB, free: 16.88 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4554/0.4574, allocations: 180.2 MB / 1.354 GB, free: 7.984 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.003411/0.4608, allocations: 1.623 MB / 1.356 GB, free: 6.355 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001421/0.4622, allocations: 0.6977 MB / 1.356 GB, free: 5.652 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.015e-05/0.4623, allocations: 3.938 kB / 1.356 GB, free: 5.648 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001828/0.4625, allocations: 79.81 kB / 1.356 GB, free: 5.57 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0003081/0.4628, allocations: 107.7 kB / 1.357 GB, free: 5.465 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003891/0.4632, allocations: 103.7 kB / 1.357 GB, free: 5.363 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002158/0.4634, allocations: 123.7 kB / 1.357 GB, free: 5.242 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 9.926e-05/0.4635, allocations: 11.97 kB / 1.357 GB, free: 5.23 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000221/0.4637, allocations: 83.73 kB / 1.357 GB, free: 5.148 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002136/0.4639, allocations: 111.8 kB / 1.357 GB, free: 5.039 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.307e-05/0.4639, allocations: 8 kB / 1.357 GB, free: 5.031 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001617/0.4641, allocations: 87.92 kB / 1.357 GB, free: 4.945 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 7.746e-05/0.4642, allocations: 35.89 kB / 1.357 GB, free: 4.91 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 8.047e-05/0.4643, allocations: 51.62 kB / 1.357 GB, free: 4.859 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003073/0.4646, allocations: 179.3 kB / 1.357 GB, free: 4.684 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.4646, allocations: 0 / 1.357 GB, free: 4.684 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.493e-06/0.4646, allocations: 3.938 kB / 1.357 GB, free: 4.68 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.4646, allocations: 0 / 1.357 GB, free: 4.68 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007937/0.4654, allocations: 415 kB / 1.358 GB, free: 4.238 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.4654, allocations: 8.031 kB / 1.358 GB, free: 4.23 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002046/0.4656, allocations: 24.83 kB / 1.358 GB, free: 4.207 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002925/0.4659, allocations: 170 kB / 1.358 GB, free: 4.016 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.551e-05/0.4659, allocations: 384 / 1.358 GB, free: 4.016 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.884e-05/0.4659, allocations: 8.359 kB / 1.358 GB, free: 4.008 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002552/0.4662, allocations: 131.6 kB / 1.358 GB, free: 3.867 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.4662, allocations: 0 / 1.358 GB, free: 3.867 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.4662, allocations: 0 / 1.358 GB, free: 3.867 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/0.4662, allocations: 4 kB / 1.358 GB, free: 3.863 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001382/0.4664, allocations: 71.95 kB / 1.358 GB, free: 3.793 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005154/0.4669, allocations: 372 kB / 1.358 GB, free: 3.383 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001883/0.4671, allocations: 109.3 kB / 1.359 GB, free: 3.258 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001154/0.4672, allocations: 69.77 kB / 1.359 GB, free: 3.184 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.515e-05/0.4672, allocations: 3.984 kB / 1.359 GB, free: 3.18 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000272/0.4675, allocations: 174.7 kB / 1.359 GB, free: 2.984 MB / 1.045 GB Notification: Performance of pre-optimization done (n=13): time 1.242e-06/0.4675, allocations: 4 kB / 1.359 GB, free: 2.98 MB / 1.045 GB Notification: Performance of matching and sorting (n=13): time 0.0005718/0.4681, allocations: 343.1 kB / 1.359 GB, free: 2.633 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.58e-05/0.4681, allocations: 106.8 kB / 1.359 GB, free: 2.504 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002273/0.4684, allocations: 214.8 kB / 1.359 GB, free: 2.281 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.278e-05/0.4684, allocations: 25.7 kB / 1.359 GB, free: 2.25 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.583e-05/0.4685, allocations: 112.1 kB / 1.36 GB, free: 2.137 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.167e-05/0.4685, allocations: 43.66 kB / 1.36 GB, free: 2.094 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.226e-05/0.4686, allocations: 29.7 kB / 1.36 GB, free: 2.059 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002037/0.4688, allocations: 334.8 kB / 1.36 GB, free: 1.723 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.216e-05/0.4689, allocations: 59.97 kB / 1.36 GB, free: 1.664 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001078/0.469, allocations: 85.62 kB / 1.36 GB, free: 1.574 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002323/0.4692, allocations: 193 kB / 1.36 GB, free: 1.367 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.4692, allocations: 0 / 1.36 GB, free: 1.367 MB / 1.045 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003699/0.4696, allocations: 267.1 kB / 1.361 GB, free: 1.094 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.618e-05/0.4697, allocations: 39.25 kB / 1.361 GB, free: 1.051 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.4697, allocations: 0 / 1.361 GB, free: 1.051 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/0.4697, allocations: 8 kB / 1.361 GB, free: 1.043 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.4698, allocations: 11.98 kB / 1.361 GB, free: 1.031 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/0.4698, allocations: 7.938 kB / 1.361 GB, free: 1.023 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.701e-05/0.4699, allocations: 11.94 kB / 1.361 GB, free: 1.012 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.733e-05/0.4699, allocations: 4.312 kB / 1.361 GB, free: 1.008 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 (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 (10): * Single equations (assignments): 9 * 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.0001964/0.4701, allocations: 177.3 kB / 1.361 GB, free: 0.8203 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.258e-05/0.4701, allocations: 19.91 kB / 1.361 GB, free: 0.8008 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002212/0.4704, allocations: 107.1 kB / 1.361 GB, free: 0.6875 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.4704, allocations: 0 / 1.361 GB, free: 0.6875 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.333e-06/0.4704, allocations: 4 kB / 1.361 GB, free: 0.6836 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.4704, allocations: 96 / 1.361 GB, free: 0.6836 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002381/0.4706, allocations: 208.5 kB / 1.361 GB, free: 448 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.4706, allocations: 3.938 kB / 1.361 GB, free: 444 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.09e-05/0.4707, allocations: 8 kB / 1.361 GB, free: 436 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.4707, allocations: 4 kB / 1.361 GB, free: 432 kB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.459e-05/0.4707, allocations: 11.98 kB / 1.361 GB, free: 420 kB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.4707, allocations: 0 / 1.361 GB, free: 420 kB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.4707, allocations: 0 / 1.361 GB, free: 420 kB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004575/0.4712, allocations: 343.4 kB / 1.361 GB, free: 48 kB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 6.955e-05/0.4712, allocations: 35.83 kB / 1.361 GB, free: 12 kB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.279e-05/0.4713, allocations: 7.938 kB / 1.361 GB, free: 4 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001131/0.4714, allocations: 8.047 kB / 1.361 GB, free: 15.99 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.513e-05/0.4714, allocations: 11.92 kB / 1.362 GB, free: 15.98 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.161e-05/0.4714, allocations: 8 kB / 1.362 GB, free: 15.98 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001632/0.4716, allocations: 168.2 kB / 1.362 GB, free: 15.81 MB / 1.061 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4716, allocations: 0 / 1.362 GB, free: 15.81 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002529/0.4719, allocations: 43.89 kB / 1.362 GB, free: 15.77 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,decAng.tNext,$whenCondition1,solDecNOAA.a,solDecNOAA.b,solDecNOAA.last,solDecNOAA.nextEvent,solDecNOAA.nextEventScaled) * Number of discrete states: 7 (solDecNOAA.nextEvent,solDecNOAA.last,solDecNOAA.nextEventScaled,solDecNOAA.b,solDecNOAA.a,$whenCondition1,decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * 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.0002152/0.4721, allocations: 128.9 kB / 1.362 GB, free: 15.64 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000345/0.4724, allocations: 211.3 kB / 1.362 GB, free: 15.42 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.4724, allocations: 0 / 1.362 GB, free: 15.42 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001666/0.4726, allocations: 139.3 kB / 1.362 GB, free: 15.27 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002145/0.4728, allocations: 16 kB / 1.362 GB, free: 15.25 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006944/0.4735, allocations: 374 kB / 1.363 GB, free: 14.85 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004167/0.4739, allocations: 0.7236 MB / 1.363 GB, free: 14.1 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.512e-05/0.4739, allocations: 15.44 kB / 1.363 GB, free: 14.08 MB / 1.061 GB Notification: Performance of SimCode: time 2.7e-07/0.4739, allocations: 0 / 1.363 GB, free: 14.08 MB / 1.061 GB Notification: Performance of Templates: time 0.00447/0.4784, allocations: 1.876 MB / 1.365 GB, free: 12.21 MB / 1.061 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 12.325576829985948]