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.001388/0.001388, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001639/0.001639, allocations: 213.9 kB / 22.99 MB, free: 4.945 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.444/1.444, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.272/3.272, allocations: 0.5107 GB / 0.8166 GB, free: 17.79 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.002121/0.002121, allocations: 73.38 kB / 1.187 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3674/0.3695, allocations: 181.9 MB / 1.365 GB, free: 13.58 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.003265/0.3728, allocations: 1.619 MB / 1.366 GB, free: 11.95 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001342/0.3741, allocations: 0.6321 MB / 1.367 GB, free: 11.31 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.772e-05/0.3742, allocations: 3.938 kB / 1.367 GB, free: 11.3 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001835/0.3744, allocations: 79.81 kB / 1.367 GB, free: 11.23 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0003096/0.3747, allocations: 99.69 kB / 1.367 GB, free: 11.13 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004308/0.3751, allocations: 103.7 kB / 1.367 GB, free: 11.03 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002497/0.3754, allocations: 127.7 kB / 1.367 GB, free: 10.9 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.33e-05/0.3755, allocations: 0 / 1.367 GB, free: 10.9 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002788/0.3757, allocations: 87.72 kB / 1.367 GB, free: 10.82 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002464/0.376, allocations: 111.7 kB / 1.367 GB, free: 10.71 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.023e-05/0.376, allocations: 8 kB / 1.367 GB, free: 10.7 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001831/0.3762, allocations: 79.94 kB / 1.367 GB, free: 10.62 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 8.883e-05/0.3763, allocations: 39.84 kB / 1.367 GB, free: 10.58 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 8.331e-05/0.3764, allocations: 43.72 kB / 1.368 GB, free: 10.54 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003268/0.3767, allocations: 175.3 kB / 1.368 GB, free: 10.37 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.3767, allocations: 4 kB / 1.368 GB, free: 10.36 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.764e-06/0.3767, allocations: 0 / 1.368 GB, free: 10.36 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.194e-05/0.3767, allocations: 0 / 1.368 GB, free: 10.36 MB / 1.061 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.0008215/0.3775, allocations: 415 kB / 1.368 GB, free: 9.922 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.3776, allocations: 12.03 kB / 1.368 GB, free: 9.91 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002052/0.3778, allocations: 28.84 kB / 1.368 GB, free: 9.883 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003359/0.3781, allocations: 161.9 kB / 1.368 GB, free: 9.699 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.005e-05/0.3781, allocations: 384 / 1.368 GB, free: 9.699 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.368e-05/0.3782, allocations: 4.375 kB / 1.368 GB, free: 9.695 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002755/0.3784, allocations: 165.3 kB / 1.368 GB, free: 9.516 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.3785, allocations: 3.938 kB / 1.368 GB, free: 9.512 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.3785, allocations: 0 / 1.368 GB, free: 9.512 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/0.3785, allocations: 4 kB / 1.368 GB, free: 9.508 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001604/0.3786, allocations: 101.7 kB / 1.369 GB, free: 9.402 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004576/0.3791, allocations: 332.7 kB / 1.369 GB, free: 9.043 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002187/0.3793, allocations: 138.8 kB / 1.369 GB, free: 8.883 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001302/0.3794, allocations: 103.5 kB / 1.369 GB, free: 8.77 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.642e-05/0.3795, allocations: 0 / 1.369 GB, free: 8.77 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003178/0.3798, allocations: 211 kB / 1.369 GB, free: 8.535 MB / 1.061 GB Notification: Performance of pre-optimization done (n=13): time 1.423e-06/0.3798, allocations: 0 / 1.369 GB, free: 8.535 MB / 1.061 GB Notification: Performance of matching and sorting (n=13): time 0.0006123/0.3804, allocations: 402.6 kB / 1.37 GB, free: 8.117 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.853e-05/0.3805, allocations: 114.8 kB / 1.37 GB, free: 7.98 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002254/0.3807, allocations: 214.6 kB / 1.37 GB, free: 7.754 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.453e-05/0.3807, allocations: 33.7 kB / 1.37 GB, free: 7.715 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.829e-05/0.3808, allocations: 108.1 kB / 1.37 GB, free: 7.605 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.927e-05/0.3809, allocations: 39.69 kB / 1.37 GB, free: 7.566 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.961e-05/0.3809, allocations: 25.72 kB / 1.37 GB, free: 7.535 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001561/0.3811, allocations: 334.8 kB / 1.371 GB, free: 7.199 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001154/0.3812, allocations: 89.67 kB / 1.371 GB, free: 7.105 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00013/0.3813, allocations: 115.3 kB / 1.371 GB, free: 6.98 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002295/0.3815, allocations: 204.9 kB / 1.371 GB, free: 6.762 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.3816, allocations: 0 / 1.371 GB, free: 6.762 MB / 1.061 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003961/0.3819, allocations: 304.9 kB / 1.371 GB, free: 6.445 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 5.155e-05/0.382, allocations: 41.69 kB / 1.371 GB, free: 6.398 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.382, allocations: 4.094 kB / 1.371 GB, free: 6.395 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.382, allocations: 3.938 kB / 1.371 GB, free: 6.391 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/0.3821, allocations: 12 kB / 1.371 GB, free: 6.379 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.3821, allocations: 0 / 1.371 GB, free: 6.379 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000109/0.3822, allocations: 20.17 kB / 1.371 GB, free: 6.359 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.593e-05/0.3823, allocations: 4 kB / 1.371 GB, free: 6.355 MB / 1.061 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.0001688/0.3824, allocations: 184.5 kB / 1.371 GB, free: 6.16 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.88e-05/0.3825, allocations: 23.86 kB / 1.371 GB, free: 6.137 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002143/0.3827, allocations: 107.1 kB / 1.372 GB, free: 6.02 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.3827, allocations: 0 / 1.372 GB, free: 6.02 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.3827, allocations: 0 / 1.372 GB, free: 6.02 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.3827, allocations: 4 kB / 1.372 GB, free: 6.016 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000176/0.3829, allocations: 157.2 kB / 1.372 GB, free: 5.832 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3829, allocations: 0 / 1.372 GB, free: 5.832 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.181e-05/0.3829, allocations: 15.92 kB / 1.372 GB, free: 5.816 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.3829, allocations: 0 / 1.372 GB, free: 5.816 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.829e-05/0.3829, allocations: 8 kB / 1.372 GB, free: 5.809 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.383, allocations: 0 / 1.372 GB, free: 5.809 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.383, allocations: 0 / 1.372 GB, free: 5.809 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004829/0.3834, allocations: 385.1 kB / 1.372 GB, free: 5.398 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001004/0.3835, allocations: 35.78 kB / 1.372 GB, free: 5.363 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.725e-05/0.3836, allocations: 8 kB / 1.372 GB, free: 5.355 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.687e-05/0.3837, allocations: 11.98 kB / 1.372 GB, free: 5.344 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.241e-05/0.3837, allocations: 7.984 kB / 1.372 GB, free: 5.336 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.455e-05/0.3837, allocations: 8 kB / 1.372 GB, free: 5.328 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001561/0.3839, allocations: 163.2 kB / 1.372 GB, free: 5.168 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3839, allocations: 0 / 1.372 GB, free: 5.168 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000266/0.3842, allocations: 43.94 kB / 1.372 GB, free: 5.125 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.0002062/0.3844, allocations: 131.5 kB / 1.373 GB, free: 4.992 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004018/0.3848, allocations: 274.7 kB / 1.373 GB, free: 4.699 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.3848, allocations: 0 / 1.373 GB, free: 4.699 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001972/0.385, allocations: 169 kB / 1.373 GB, free: 4.516 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002245/0.3852, allocations: 15.94 kB / 1.373 GB, free: 4.5 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007093/0.3859, allocations: 411.7 kB / 1.373 GB, free: 4.059 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000116/0.386, allocations: 110.1 kB / 1.373 GB, free: 3.93 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.07e-05/0.3861, allocations: 19.42 kB / 1.373 GB, free: 3.91 MB / 1.061 GB Notification: Performance of SimCode: time 3.01e-07/0.3861, allocations: 0 / 1.373 GB, free: 3.91 MB / 1.061 GB Notification: Performance of Templates: time 0.004743/0.3908, allocations: 1.928 MB / 1.375 GB, free: 1.996 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: 11.360837522894144]