Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001825/0.001825, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.002213/0.002213, allocations: 161 kB / 23.01 MB, free: 4.602 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.479/1.479, allocations: 177.2 MB / 203.4 MB, free: 8.902 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.809/2.809, allocations: 377.9 MB / 0.6228 GB, free: 12.58 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002294/0.002294, allocations: 59.91 kB / 0.9819 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8541/0.8564, allocations: 176.1 MB / 1.154 GB, free: 33.39 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002324/0.8587, allocations: 1.604 MB / 1.155 GB, free: 32.3 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0009566/0.8597, allocations: 0.6404 MB / 1.156 GB, free: 31.88 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.654e-05/0.8597, allocations: 0 / 1.156 GB, free: 31.88 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001403/0.8599, allocations: 78.73 kB / 1.156 GB, free: 31.87 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0002373/0.8601, allocations: 102.8 kB / 1.156 GB, free: 31.84 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.000308/0.8604, allocations: 100.9 kB / 1.156 GB, free: 31.8 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001517/0.8606, allocations: 128.4 kB / 1.156 GB, free: 31.75 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 8.171e-05/0.8607, allocations: 9.844 kB / 1.156 GB, free: 31.75 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001712/0.8608, allocations: 82.25 kB / 1.157 GB, free: 31.72 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001491/0.861, allocations: 109.5 kB / 1.157 GB, free: 31.7 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.028e-05/0.861, allocations: 8.344 kB / 1.157 GB, free: 31.7 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001236/0.8611, allocations: 77.95 kB / 1.157 GB, free: 31.69 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 5.66e-05/0.8612, allocations: 34.09 kB / 1.157 GB, free: 31.67 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 5.894e-05/0.8612, allocations: 45.38 kB / 1.157 GB, free: 31.64 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002127/0.8614, allocations: 177.2 kB / 1.157 GB, free: 31.58 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.8615, allocations: 0 / 1.157 GB, free: 31.58 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.603e-06/0.8615, allocations: 0 / 1.157 GB, free: 31.58 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.037e-05/0.8615, allocations: 4 kB / 1.157 GB, free: 31.58 MB / 1.076 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.0005829/0.862, allocations: 407.6 kB / 1.157 GB, free: 31.21 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.8621, allocations: 11.22 kB / 1.157 GB, free: 31.21 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001658/0.8622, allocations: 24.17 kB / 1.157 GB, free: 31.2 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000215/0.8625, allocations: 161.7 kB / 1.158 GB, free: 31.04 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.709e-05/0.8625, allocations: 7.188 kB / 1.158 GB, free: 31.04 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.727e-05/0.8625, allocations: 7.125 kB / 1.158 GB, free: 31.04 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001945/0.8627, allocations: 160 kB / 1.158 GB, free: 30.93 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.8627, allocations: 0 / 1.158 GB, free: 30.93 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.8627, allocations: 4 kB / 1.158 GB, free: 30.93 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.8627, allocations: 0 / 1.158 GB, free: 30.93 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001163/0.8628, allocations: 101.4 kB / 1.158 GB, free: 30.88 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000303/0.8631, allocations: 344.7 kB / 1.158 GB, free: 30.56 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001547/0.8633, allocations: 138.3 kB / 1.158 GB, free: 30.46 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.887e-05/0.8634, allocations: 100.3 kB / 1.158 GB, free: 30.39 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.231e-05/0.8634, allocations: 3.422 kB / 1.158 GB, free: 30.39 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001931/0.8636, allocations: 212.6 kB / 1.159 GB, free: 30.24 MB / 1.076 GB Notification: Performance of pre-optimization done (n=13): time 1.162e-06/0.8636, allocations: 0 / 1.159 GB, free: 30.24 MB / 1.076 GB Notification: Performance of matching and sorting (n=13): time 0.0004567/0.8641, allocations: 404.3 kB / 1.159 GB, free: 30.04 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.332e-05/0.8641, allocations: 109.8 kB / 1.159 GB, free: 29.91 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001488/0.8642, allocations: 214.2 kB / 1.159 GB, free: 29.77 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.243e-05/0.8642, allocations: 25.7 kB / 1.159 GB, free: 29.74 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 4.376e-05/0.8643, allocations: 123.6 kB / 1.159 GB, free: 29.63 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.05e-05/0.8643, allocations: 30.83 kB / 1.159 GB, free: 29.61 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.709e-05/0.8644, allocations: 28.64 kB / 1.16 GB, free: 29.59 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.786e-05/0.8644, allocations: 331.2 kB / 1.16 GB, free: 29.27 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.487e-05/0.8645, allocations: 89.91 kB / 1.16 GB, free: 29.22 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.578e-05/0.8646, allocations: 118.8 kB / 1.16 GB, free: 29.14 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001577/0.8647, allocations: 205 kB / 1.16 GB, free: 29.02 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.8647, allocations: 0 / 1.16 GB, free: 29.02 MB / 1.076 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002764/0.865, allocations: 306.7 kB / 1.161 GB, free: 28.86 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.818e-05/0.8651, allocations: 38.97 kB / 1.161 GB, free: 28.83 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.8651, allocations: 2.844 kB / 1.161 GB, free: 28.83 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.8651, allocations: 0 / 1.161 GB, free: 28.83 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.344e-05/0.8652, allocations: 15.19 kB / 1.161 GB, free: 28.82 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.8652, allocations: 3.422 kB / 1.161 GB, free: 28.82 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001001/0.8653, allocations: 13.83 kB / 1.161 GB, free: 28.82 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.63e-05/0.8653, allocations: 9.625 kB / 1.161 GB, free: 28.81 MB / 1.076 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.0001/0.8654, allocations: 183.7 kB / 1.161 GB, free: 28.65 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.756e-05/0.8654, allocations: 19.47 kB / 1.161 GB, free: 28.64 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001728/0.8656, allocations: 97.77 kB / 1.161 GB, free: 28.58 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.8656, allocations: 2.719 kB / 1.161 GB, free: 28.58 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.8656, allocations: 0 / 1.161 GB, free: 28.58 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.8656, allocations: 3.938 kB / 1.161 GB, free: 28.58 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001109/0.8657, allocations: 174.8 kB / 1.161 GB, free: 28.42 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.8657, allocations: 3.938 kB / 1.161 GB, free: 28.42 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.343e-05/0.8658, allocations: 12.22 kB / 1.161 GB, free: 28.42 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.8658, allocations: 4 kB / 1.161 GB, free: 28.41 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.416e-05/0.8658, allocations: 5.75 kB / 1.161 GB, free: 28.41 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.8658, allocations: 0 / 1.161 GB, free: 28.41 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.8658, allocations: 128 / 1.161 GB, free: 28.41 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003475/0.8661, allocations: 377.5 kB / 1.161 GB, free: 28.2 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 6.328e-05/0.8662, allocations: 33.91 kB / 1.161 GB, free: 28.18 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.028e-05/0.8662, allocations: 2.594 kB / 1.161 GB, free: 28.18 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.778e-05/0.8663, allocations: 5.156 kB / 1.161 GB, free: 28.18 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.818e-05/0.8664, allocations: 15.95 kB / 1.161 GB, free: 28.18 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.821e-05/0.8664, allocations: 5.188 kB / 1.161 GB, free: 28.18 MB / 1.076 GB Notification: Performance of sorting global known variables: time 9.463e-05/0.8665, allocations: 170.3 kB / 1.162 GB, free: 28.08 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.8665, allocations: 4 kB / 1.162 GB, free: 28.07 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002502/0.8667, allocations: 40.72 kB / 1.162 GB, free: 28.07 MB / 1.076 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.0001397/0.8669, allocations: 128.3 kB / 1.162 GB, free: 27.98 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002801/0.8672, allocations: 278.2 kB / 1.162 GB, free: 27.8 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.8672, allocations: 0 / 1.162 GB, free: 27.8 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001253/0.8673, allocations: 176.7 kB / 1.162 GB, free: 27.68 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002087/0.8675, allocations: 13.84 kB / 1.162 GB, free: 27.67 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004767/0.868, allocations: 385.5 kB / 1.163 GB, free: 27.43 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.654e-05/0.868, allocations: 117.2 kB / 1.163 GB, free: 27.35 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 3.535e-05/0.8681, allocations: 2.562 kB / 1.163 GB, free: 27.35 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.793e-05/0.8681, allocations: 17.55 kB / 1.163 GB, free: 27.34 MB / 1.076 GB Notification: Performance of SimCode: time 3.5e-07/0.8681, allocations: 4 kB / 1.163 GB, free: 27.34 MB / 1.076 GB Notification: Performance of Templates: time 0.004452/0.8726, allocations: 1.692 MB / 1.164 GB, free: 27.11 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & ./Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.709127565962262]