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.001859/0.001859, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.002346/0.002346, allocations: 210.1 kB / 22.99 MB, free: 4.957 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.491/1.491, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.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 3.146/3.146, allocations: 0.49 GB / 0.7959 GB, free: 35.55 MB / 0.6231 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.002075/0.002075, allocations: 66.97 kB / 1.155 GB, free: 25.17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3599/0.362, allocations: 176.1 MB / 1.327 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002957/0.365, allocations: 1.609 MB / 1.329 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001254/0.3662, allocations: 0.6388 MB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.309e-05/0.3663, allocations: 0 / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001711/0.3665, allocations: 79.83 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002833/0.3667, allocations: 103.6 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003769/0.3671, allocations: 100.9 kB / 1.33 GB, free: 14.46 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001937/0.3673, allocations: 127.7 kB / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 9.038e-05/0.3674, allocations: 15.98 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002134/0.3676, allocations: 71.8 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001911/0.3678, allocations: 115.7 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.603e-05/0.3678, allocations: 8 kB / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001705/0.368, allocations: 91.86 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.562e-05/0.3681, allocations: 31.86 kB / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.491e-05/0.3681, allocations: 39.73 kB / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002788/0.3684, allocations: 183.2 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.3684, allocations: 0 / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.252e-06/0.3684, allocations: 0 / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.3684, allocations: 4 kB / 1.33 GB, free: 13.79 MB / 1.029 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.000745/0.3692, allocations: 415.1 kB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.3692, allocations: 8.031 kB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001902/0.3694, allocations: 28.78 kB / 1.331 GB, free: 13.31 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002645/0.3697, allocations: 154.6 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.095e-05/0.3697, allocations: 8.359 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.12e-05/0.3697, allocations: 12.36 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002445/0.37, allocations: 149.4 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.697e-06/0.37, allocations: 0 / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/0.37, allocations: 8 kB / 1.331 GB, free: 12.94 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.37, allocations: 3.938 kB / 1.331 GB, free: 12.94 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001556/0.3701, allocations: 113.6 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004033/0.3705, allocations: 336.7 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001991/0.3707, allocations: 138.8 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001241/0.3709, allocations: 99.48 kB / 1.332 GB, free: 12.19 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.222e-05/0.3709, allocations: 4 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002877/0.3712, allocations: 208.4 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.152e-06/0.3712, allocations: 4 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.0005657/0.3717, allocations: 410.7 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.526e-05/0.3718, allocations: 110.8 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000206/0.372, allocations: 206.8 kB / 1.332 GB, free: 11.17 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.266e-05/0.372, allocations: 29.7 kB / 1.333 GB, free: 11.13 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/0.3722, allocations: 116.1 kB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.322e-05/0.3722, allocations: 35.73 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.617e-05/0.3723, allocations: 29.7 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.3724, allocations: 326.8 kB / 1.333 GB, free: 10.62 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001178/0.3725, allocations: 93.67 kB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001206/0.3726, allocations: 107.4 kB / 1.333 GB, free: 10.4 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002252/0.3729, allocations: 209 kB / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3729, allocations: 0 / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003874/0.3733, allocations: 300.9 kB / 1.334 GB, free: 9.867 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.215e-05/0.3733, allocations: 41.69 kB / 1.334 GB, free: 9.82 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.3733, allocations: 0 / 1.334 GB, free: 9.82 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.3733, allocations: 4 kB / 1.334 GB, free: 9.816 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.094e-05/0.3734, allocations: 8.094 kB / 1.334 GB, free: 9.809 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.3734, allocations: 11.92 kB / 1.334 GB, free: 9.797 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.393e-05/0.3735, allocations: 11.89 kB / 1.334 GB, free: 9.785 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.6e-05/0.3735, allocations: 4 kB / 1.334 GB, free: 9.781 MB / 1.029 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.0001613/0.3737, allocations: 186 kB / 1.334 GB, free: 9.586 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.149e-05/0.3737, allocations: 19.91 kB / 1.334 GB, free: 9.566 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002114/0.3739, allocations: 103.1 kB / 1.334 GB, free: 9.453 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/0.3739, allocations: 4 kB / 1.334 GB, free: 9.449 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.3739, allocations: 384 / 1.334 GB, free: 9.449 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.3739, allocations: 0 / 1.334 GB, free: 9.449 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000175/0.3741, allocations: 173.1 kB / 1.334 GB, free: 9.25 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.3741, allocations: 4 kB / 1.334 GB, free: 9.246 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.387e-05/0.3742, allocations: 11.94 kB / 1.334 GB, free: 9.234 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.3742, allocations: 4 kB / 1.334 GB, free: 9.23 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.725e-05/0.3742, allocations: 4 kB / 1.334 GB, free: 9.227 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.3742, allocations: 0 / 1.334 GB, free: 9.227 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3742, allocations: 4 kB / 1.334 GB, free: 9.223 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004871/0.3747, allocations: 374.7 kB / 1.335 GB, free: 8.824 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.591e-05/0.3748, allocations: 35.83 kB / 1.335 GB, free: 8.789 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.427e-05/0.3748, allocations: 8 kB / 1.335 GB, free: 8.781 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.3e-05/0.3749, allocations: 7.984 kB / 1.335 GB, free: 8.773 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.329e-05/0.3749, allocations: 11.98 kB / 1.335 GB, free: 8.762 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.847e-05/0.375, allocations: 4 kB / 1.335 GB, free: 8.758 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001558/0.3751, allocations: 172 kB / 1.335 GB, free: 8.59 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3751, allocations: 0 / 1.335 GB, free: 8.59 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002554/0.3754, allocations: 43.94 kB / 1.335 GB, free: 8.547 MB / 1.029 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.0002808/0.3757, allocations: 132.7 kB / 1.335 GB, free: 8.41 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003994/0.3761, allocations: 274.7 kB / 1.335 GB, free: 8.117 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.3761, allocations: 0 / 1.335 GB, free: 8.117 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002002/0.3763, allocations: 169 kB / 1.335 GB, free: 7.934 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002179/0.3765, allocations: 19.92 kB / 1.335 GB, free: 7.914 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006754/0.3771, allocations: 382 kB / 1.336 GB, free: 7.504 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001203/0.3773, allocations: 117 kB / 1.336 GB, free: 7.371 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.439e-05/0.3773, allocations: 7.984 kB / 1.336 GB, free: 7.363 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.08e-05/0.3773, allocations: 11.44 kB / 1.336 GB, free: 7.352 MB / 1.029 GB Notification: Performance of SimCode: time 3.51e-07/0.3773, allocations: 4 kB / 1.336 GB, free: 7.348 MB / 1.029 GB Notification: Performance of Templates: time 0.005351/0.3827, allocations: 1.847 MB / 1.338 GB, free: 5.527 MB / 1.029 GB " [Timeout remaining time 300] 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 cvode -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.713160529034212]