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.001312/0.001312, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.00147/0.00147, allocations: 212.4 kB / 22.99 MB, free: 4.984 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.439/1.439, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.238/3.238, allocations: 0.49 GB / 0.7959 GB, free: 35.47 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.002014/0.002014, allocations: 62.53 kB / 1.155 GB, free: 25.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3326/0.3347, allocations: 176.1 MB / 1.327 GB, free: 1.008 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002967/0.3376, allocations: 1.616 MB / 1.329 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001258/0.3389, allocations: 0.6271 MB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.591e-05/0.3389, allocations: 0 / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001681/0.3391, allocations: 79.83 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002746/0.3394, allocations: 107.5 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003813/0.3398, allocations: 107.6 kB / 1.33 GB, free: 14.47 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001953/0.34, allocations: 127.7 kB / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 8.085e-05/0.34, allocations: 12 kB / 1.33 GB, free: 14.33 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001883/0.3402, allocations: 71.8 kB / 1.33 GB, free: 14.26 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001853/0.3404, allocations: 115.7 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.433e-05/0.3404, allocations: 8 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001633/0.3406, allocations: 91.86 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.973e-05/0.3407, allocations: 31.91 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.634e-05/0.3407, allocations: 39.67 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002715/0.341, allocations: 179.3 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.341, allocations: 0 / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.423e-06/0.341, allocations: 7.938 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.341, allocations: 0 / 1.33 GB, free: 13.8 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.0007598/0.3418, allocations: 419.1 kB / 1.331 GB, free: 13.35 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.3418, allocations: 8.031 kB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001823/0.342, allocations: 24.8 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002562/0.3422, allocations: 162.5 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.3423, allocations: 4.375 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.067e-05/0.3423, allocations: 12.36 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002524/0.3425, allocations: 153.4 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.3426, allocations: 4 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.86e-05/0.3426, allocations: 4 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.862e-06/0.3426, allocations: 0 / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001689/0.3427, allocations: 109.6 kB / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004361/0.3432, allocations: 336.7 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002064/0.3434, allocations: 138.8 kB / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001306/0.3435, allocations: 99.48 kB / 1.332 GB, free: 12.2 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.116e-05/0.3435, allocations: 4 kB / 1.332 GB, free: 12.2 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002873/0.3438, allocations: 208.4 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.353e-06/0.3438, allocations: 0 / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.0006444/0.3445, allocations: 398.8 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.098e-05/0.3446, allocations: 118.7 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002204/0.3448, allocations: 206.8 kB / 1.332 GB, free: 11.19 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.272e-05/0.3448, allocations: 29.7 kB / 1.333 GB, free: 11.15 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.024e-05/0.3449, allocations: 116.1 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.025e-05/0.3449, allocations: 31.73 kB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.195e-05/0.345, allocations: 29.72 kB / 1.333 GB, free: 10.97 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001579/0.3451, allocations: 330.8 kB / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001284/0.3453, allocations: 93.67 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001332/0.3454, allocations: 111.4 kB / 1.333 GB, free: 10.42 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002613/0.3457, allocations: 209 kB / 1.333 GB, free: 10.2 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.3457, allocations: 0 / 1.333 GB, free: 10.2 MB / 1.029 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003932/0.3461, allocations: 305.2 kB / 1.334 GB, free: 9.879 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.629e-05/0.3461, allocations: 41.69 kB / 1.334 GB, free: 9.832 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.3461, allocations: 3.938 kB / 1.334 GB, free: 9.828 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.023e-05/0.3461, allocations: 4 kB / 1.334 GB, free: 9.824 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/0.3462, allocations: 8 kB / 1.334 GB, free: 9.816 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.3462, allocations: 4 kB / 1.334 GB, free: 9.812 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001155/0.3464, allocations: 15.88 kB / 1.334 GB, free: 9.797 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.73e-05/0.3464, allocations: 8.234 kB / 1.334 GB, free: 9.789 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.0001789/0.3466, allocations: 180.6 kB / 1.334 GB, free: 9.598 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.268e-05/0.3466, allocations: 19.91 kB / 1.334 GB, free: 9.578 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002383/0.3468, allocations: 103.1 kB / 1.334 GB, free: 9.465 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.274e-06/0.3468, allocations: 4 kB / 1.334 GB, free: 9.461 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3468, allocations: 0 / 1.334 GB, free: 9.461 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.3468, allocations: 0 / 1.334 GB, free: 9.461 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001903/0.347, allocations: 165.2 kB / 1.334 GB, free: 9.27 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.347, allocations: 0 / 1.334 GB, free: 9.27 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.23e-05/0.3471, allocations: 19.98 kB / 1.334 GB, free: 9.25 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.3471, allocations: 0 / 1.334 GB, free: 9.25 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.993e-05/0.3471, allocations: 4 kB / 1.334 GB, free: 9.246 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.3471, allocations: 4 kB / 1.334 GB, free: 9.242 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.3471, allocations: 0 / 1.334 GB, free: 9.242 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005086/0.3476, allocations: 377.1 kB / 1.335 GB, free: 8.84 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.544e-05/0.3477, allocations: 35.83 kB / 1.335 GB, free: 8.805 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.898e-05/0.3478, allocations: 8 kB / 1.335 GB, free: 8.797 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.3479, allocations: 7.984 kB / 1.335 GB, free: 8.789 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.639e-05/0.3479, allocations: 11.98 kB / 1.335 GB, free: 8.777 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.056e-05/0.3479, allocations: 8 kB / 1.335 GB, free: 8.77 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001517/0.3481, allocations: 168 kB / 1.335 GB, free: 8.605 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3481, allocations: 0 / 1.335 GB, free: 8.605 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002719/0.3484, allocations: 43.94 kB / 1.335 GB, free: 8.562 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.0001998/0.3486, allocations: 131.2 kB / 1.335 GB, free: 8.426 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003859/0.3489, allocations: 282.6 kB / 1.335 GB, free: 8.125 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.3489, allocations: 96 / 1.335 GB, free: 8.125 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001912/0.3491, allocations: 169.2 kB / 1.335 GB, free: 7.941 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002319/0.3494, allocations: 21.14 kB / 1.335 GB, free: 7.922 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006443/0.35, allocations: 382.1 kB / 1.336 GB, free: 7.512 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001132/0.3501, allocations: 114.1 kB / 1.336 GB, free: 7.379 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.211e-05/0.3502, allocations: 4 kB / 1.336 GB, free: 7.375 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.848e-05/0.3502, allocations: 19.42 kB / 1.336 GB, free: 7.355 MB / 1.029 GB Notification: Performance of SimCode: time 3.41e-07/0.3502, allocations: 0 / 1.336 GB, free: 7.355 MB / 1.029 GB Notification: Performance of Templates: time 0.005357/0.3556, allocations: 1.849 MB / 1.338 GB, free: 5.535 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 gbode -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.777024793991586]