Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001726/0.001726, allocations: 118.7 kB / 17.13 MB, free: 5.758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002067/0.002067, allocations: 193.2 kB / 20.08 MB, free: 2.848 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 225.6 MB / 248.5 MB, free: 3.641 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.585/2.585, allocations: 443.5 MB / 0.7293 GB, free: 14.52 MB / 0.5763 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001879/0.001879, allocations: 59.89 kB / 1.057 GB, free: 2.043 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3/0.3019, allocations: 160.7 MB / 1.214 GB, free: 1.012 MB / 0.9513 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002992/0.3049, allocations: 1.609 MB / 1.216 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001202/0.3061, allocations: 0.6629 MB / 1.216 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.97e-05/0.3062, allocations: 3.938 kB / 1.216 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001571/0.3063, allocations: 67.84 kB / 1.216 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003056/0.3066, allocations: 119.6 kB / 1.216 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003589/0.307, allocations: 98.38 kB / 1.217 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002/0.3072, allocations: 127.7 kB / 1.217 GB, free: 14.31 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.053e-05/0.3073, allocations: 4 kB / 1.217 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001856/0.3075, allocations: 83.73 kB / 1.217 GB, free: 14.22 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000199/0.3077, allocations: 115.7 kB / 1.217 GB, free: 14.11 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.274e-05/0.3077, allocations: 4 kB / 1.217 GB, free: 14.11 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001432/0.3078, allocations: 79.92 kB / 1.217 GB, free: 14.03 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.233e-05/0.3079, allocations: 27.91 kB / 1.217 GB, free: 14 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001042/0.308, allocations: 59.61 kB / 1.217 GB, free: 13.94 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002578/0.3082, allocations: 163.3 kB / 1.217 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.3082, allocations: 0 / 1.217 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.352e-06/0.3082, allocations: 0 / 1.217 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.027e-05/0.3083, allocations: 0 / 1.217 GB, free: 13.78 MB / 0.9669 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.0007607/0.309, allocations: 492.2 kB / 1.218 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.3091, allocations: 15.97 kB / 1.218 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.25e-05/0.3091, allocations: 16.84 kB / 1.218 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003046/0.3094, allocations: 216.1 kB / 1.218 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.3094, allocations: 384 / 1.218 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.029e-05/0.3094, allocations: 4.375 kB / 1.218 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002366/0.3097, allocations: 127.6 kB / 1.218 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.3097, allocations: 4 kB / 1.218 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.574e-05/0.3097, allocations: 3.984 kB / 1.218 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.3097, allocations: 4 kB / 1.218 GB, free: 12.81 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001486/0.3099, allocations: 67.97 kB / 1.218 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005259/0.3104, allocations: 404.9 kB / 1.218 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002014/0.3106, allocations: 113.1 kB / 1.219 GB, free: 12.17 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001109/0.3107, allocations: 69.78 kB / 1.219 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.315e-05/0.3107, allocations: 0 / 1.219 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003244/0.311, allocations: 170.7 kB / 1.219 GB, free: 11.9 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=13): time 1.192e-06/0.311, allocations: 4 kB / 1.219 GB, free: 11.9 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13): time 0.0006805/0.3117, allocations: 339.1 kB / 1.219 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.462e-05/0.3118, allocations: 110.8 kB / 1.219 GB, free: 11.42 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002333/0.312, allocations: 214.6 kB / 1.219 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.098e-05/0.3121, allocations: 33.58 kB / 1.219 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.572e-05/0.3122, allocations: 116.1 kB / 1.22 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.718e-05/0.3122, allocations: 35.94 kB / 1.22 GB, free: 11.01 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.032e-05/0.3123, allocations: 25.72 kB / 1.22 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001674/0.3124, allocations: 338.8 kB / 1.22 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.893e-05/0.3125, allocations: 59.92 kB / 1.22 GB, free: 10.58 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001097/0.3126, allocations: 81.69 kB / 1.22 GB, free: 10.49 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002338/0.3129, allocations: 193 kB / 1.22 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.3129, allocations: 0 / 1.22 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003732/0.3133, allocations: 275 kB / 1.221 GB, free: 10 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 5.239e-05/0.3133, allocations: 33.7 kB / 1.221 GB, free: 9.965 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.3133, allocations: 0 / 1.221 GB, free: 9.965 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.3133, allocations: 11.98 kB / 1.221 GB, free: 9.953 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001165/0.3134, allocations: 8 kB / 1.221 GB, free: 9.945 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/0.3135, allocations: 4.312 kB / 1.221 GB, free: 9.941 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001126/0.3136, allocations: 11.98 kB / 1.221 GB, free: 9.93 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.905e-05/0.3136, allocations: 8 kB / 1.221 GB, free: 9.922 MB / 0.9669 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.000235/0.3138, allocations: 179.4 kB / 1.221 GB, free: 9.73 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.771e-05/0.3139, allocations: 19.91 kB / 1.221 GB, free: 9.711 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002332/0.3141, allocations: 103.1 kB / 1.221 GB, free: 9.602 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.94e-06/0.3141, allocations: 3.984 kB / 1.221 GB, free: 9.598 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.892e-06/0.3141, allocations: 4 kB / 1.221 GB, free: 9.594 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.3141, allocations: 0 / 1.221 GB, free: 9.594 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002375/0.3143, allocations: 229.5 kB / 1.221 GB, free: 9.32 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.3143, allocations: 0 / 1.221 GB, free: 9.32 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.114e-05/0.3144, allocations: 16.02 kB / 1.221 GB, free: 9.305 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.3144, allocations: 7.938 kB / 1.221 GB, free: 9.297 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.487e-05/0.3144, allocations: 0 / 1.221 GB, free: 9.297 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.3144, allocations: 4 kB / 1.221 GB, free: 9.293 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.3144, allocations: 4 kB / 1.221 GB, free: 9.289 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004656/0.3149, allocations: 343.4 kB / 1.221 GB, free: 8.926 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000125/0.315, allocations: 108.9 kB / 1.222 GB, free: 8.801 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.692e-05/0.3151, allocations: 8 kB / 1.222 GB, free: 8.793 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.691e-05/0.3152, allocations: 7.938 kB / 1.222 GB, free: 8.785 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.061e-05/0.3152, allocations: 11.98 kB / 1.222 GB, free: 8.773 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-05/0.3152, allocations: 12 kB / 1.222 GB, free: 8.762 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001469/0.3154, allocations: 164.2 kB / 1.222 GB, free: 8.602 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3154, allocations: 0 / 1.222 GB, free: 8.602 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000269/0.3157, allocations: 39.94 kB / 1.222 GB, free: 8.562 MB / 0.9669 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.0002092/0.3159, allocations: 135.1 kB / 1.222 GB, free: 8.422 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003529/0.3162, allocations: 211.3 kB / 1.222 GB, free: 8.203 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3162, allocations: 0 / 1.222 GB, free: 8.203 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001758/0.3164, allocations: 143.3 kB / 1.222 GB, free: 8.051 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002158/0.3166, allocations: 11.98 kB / 1.222 GB, free: 8.039 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000684/0.3173, allocations: 373.8 kB / 1.223 GB, free: 7.637 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000381/0.3177, allocations: 0.7275 MB / 1.223 GB, free: 6.883 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.488e-05/0.3177, allocations: 11.44 kB / 1.223 GB, free: 6.871 MB / 0.9669 GB Notification: Performance of SimCode: time 3.71e-07/0.3177, allocations: 0 / 1.223 GB, free: 6.871 MB / 0.9669 GB Notification: Performance of Templates: time 0.004274/0.322, allocations: 1.88 MB / 1.225 GB, free: 5 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.makefile [Timeout 300] (rm -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & ./Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.339535978157073]