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.001523/0.001523, allocations: 102.1 kB / 19.7 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.001762/0.001762, allocations: 219.6 kB / 23.01 MB, free: 4.609 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.45/1.45, allocations: 230.6 MB / 256.8 MB, free: 8.039 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.161/3.161, allocations: 0.49 GB / 0.7958 GB, free: 33.46 MB / 0.6231 GB " [Timeout remaining time 176] 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.002046/0.002046, allocations: 61.09 kB / 1.155 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3702/0.3723, allocations: 176.1 MB / 1.327 GB, free: 1.496 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.003004/0.3753, allocations: 1.653 MB / 1.329 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001272/0.3766, allocations: 0.6855 MB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.069e-05/0.3766, allocations: 0 / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001784/0.3768, allocations: 83.77 kB / 1.329 GB, free: 15.06 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003172/0.3771, allocations: 99.67 kB / 1.33 GB, free: 14.96 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.00039/0.3775, allocations: 107.7 kB / 1.33 GB, free: 14.86 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002037/0.3777, allocations: 127.7 kB / 1.33 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 8.726e-05/0.3778, allocations: 4 kB / 1.33 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002011/0.378, allocations: 75.73 kB / 1.33 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002006/0.3782, allocations: 123.7 kB / 1.33 GB, free: 14.54 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.152e-05/0.3782, allocations: 4 kB / 1.33 GB, free: 14.53 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001544/0.3784, allocations: 83.92 kB / 1.33 GB, free: 14.45 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.944e-05/0.3785, allocations: 35.91 kB / 1.33 GB, free: 14.41 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.132e-05/0.3785, allocations: 63.53 kB / 1.33 GB, free: 14.35 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002806/0.3788, allocations: 175.2 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3788, allocations: 4 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.803e-06/0.3788, allocations: 4 kB / 1.33 GB, free: 14.17 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.3788, allocations: 0 / 1.33 GB, free: 14.17 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.0007535/0.3796, allocations: 411.1 kB / 1.331 GB, free: 13.73 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.3796, allocations: 8.031 kB / 1.331 GB, free: 13.73 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001965/0.3798, allocations: 24.8 kB / 1.331 GB, free: 13.7 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000271/0.3801, allocations: 162.6 kB / 1.331 GB, free: 13.52 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.3801, allocations: 384 / 1.331 GB, free: 13.52 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.841e-05/0.3801, allocations: 12.38 kB / 1.331 GB, free: 13.51 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002365/0.3804, allocations: 127.4 kB / 1.331 GB, free: 13.38 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.3804, allocations: 0 / 1.331 GB, free: 13.38 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.049e-05/0.3804, allocations: 7.984 kB / 1.331 GB, free: 13.37 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.3804, allocations: 4 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001323/0.3805, allocations: 63.97 kB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004994/0.381, allocations: 384 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002002/0.3812, allocations: 109.1 kB / 1.332 GB, free: 12.75 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001148/0.3813, allocations: 73.78 kB / 1.332 GB, free: 12.68 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.245e-05/0.3814, allocations: 0 / 1.332 GB, free: 12.68 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002574/0.3816, allocations: 166.8 kB / 1.332 GB, free: 12.49 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.062e-06/0.3816, allocations: 0 / 1.332 GB, free: 12.49 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.0005535/0.3822, allocations: 343.2 kB / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.736e-05/0.3823, allocations: 110.8 kB / 1.332 GB, free: 12.01 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002258/0.3825, allocations: 214.8 kB / 1.332 GB, free: 11.78 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.287e-05/0.3825, allocations: 25.7 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.245e-05/0.3826, allocations: 116.1 kB / 1.333 GB, free: 11.63 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.043e-05/0.3826, allocations: 31.75 kB / 1.333 GB, free: 11.6 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.892e-05/0.3827, allocations: 37.64 kB / 1.333 GB, free: 11.56 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001537/0.3829, allocations: 330.8 kB / 1.333 GB, free: 11.23 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.218e-05/0.3829, allocations: 59.97 kB / 1.333 GB, free: 11.17 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001034/0.383, allocations: 77.69 kB / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002212/0.3833, allocations: 197 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.3833, allocations: 256 / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003425/0.3836, allocations: 275.2 kB / 1.334 GB, free: 10.59 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.241e-05/0.3837, allocations: 37.7 kB / 1.334 GB, free: 10.55 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.3837, allocations: 0 / 1.334 GB, free: 10.55 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.3837, allocations: 0 / 1.334 GB, free: 10.55 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.3838, allocations: 19.92 kB / 1.334 GB, free: 10.53 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.3838, allocations: 0 / 1.334 GB, free: 10.53 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.629e-05/0.3839, allocations: 15.89 kB / 1.334 GB, free: 10.52 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.683e-05/0.3839, allocations: 7.984 kB / 1.334 GB, free: 10.51 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.0001662/0.3841, allocations: 176.7 kB / 1.334 GB, free: 10.32 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.196e-05/0.3841, allocations: 27.89 kB / 1.334 GB, free: 10.29 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002177/0.3843, allocations: 95.02 kB / 1.334 GB, free: 10.19 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.3843, allocations: 0 / 1.334 GB, free: 10.19 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.3843, allocations: 0 / 1.334 GB, free: 10.19 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.938e-06/0.3843, allocations: 7.984 kB / 1.334 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000253/0.3846, allocations: 204.5 kB / 1.334 GB, free: 9.938 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.3846, allocations: 0 / 1.334 GB, free: 9.938 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.27e-05/0.3846, allocations: 8 kB / 1.334 GB, free: 9.93 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.484e-06/0.3846, allocations: 7.984 kB / 1.334 GB, free: 9.922 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/0.3847, allocations: 4 kB / 1.334 GB, free: 9.918 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.542e-06/0.3847, allocations: 4 kB / 1.334 GB, free: 9.914 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.3847, allocations: 3.938 kB / 1.334 GB, free: 9.91 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005027/0.3852, allocations: 339.5 kB / 1.334 GB, free: 9.551 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.154e-05/0.3852, allocations: 35.81 kB / 1.335 GB, free: 9.516 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.652e-05/0.3853, allocations: 8 kB / 1.335 GB, free: 9.508 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.921e-05/0.3854, allocations: 7.984 kB / 1.335 GB, free: 9.5 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.903e-05/0.3854, allocations: 12.08 kB / 1.335 GB, free: 9.488 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.427e-05/0.3854, allocations: 15.94 kB / 1.335 GB, free: 9.473 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001482/0.3856, allocations: 164 kB / 1.335 GB, free: 9.312 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.3856, allocations: 0 / 1.335 GB, free: 9.312 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002518/0.3858, allocations: 43.94 kB / 1.335 GB, free: 9.27 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.0002119/0.3861, allocations: 133.7 kB / 1.335 GB, free: 9.133 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003486/0.3864, allocations: 215.4 kB / 1.335 GB, free: 8.91 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3864, allocations: 4 kB / 1.335 GB, free: 8.906 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001722/0.3866, allocations: 139.4 kB / 1.335 GB, free: 8.758 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002151/0.3868, allocations: 12 kB / 1.335 GB, free: 8.746 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006632/0.3875, allocations: 376.2 kB / 1.336 GB, free: 8.344 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003563/0.3878, allocations: 0.7284 MB / 1.336 GB, free: 7.59 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.404e-05/0.3879, allocations: 15.44 kB / 1.336 GB, free: 7.574 MB / 1.029 GB Notification: Performance of SimCode: time 2.81e-07/0.3879, allocations: 0 / 1.336 GB, free: 7.574 MB / 1.029 GB Notification: Performance of Templates: time 0.004147/0.392, allocations: 1.873 MB / 1.338 GB, free: 5.707 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 -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: 11.301340987993171]