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.001417/0.001417, allocations: 100.8 kB / 19.74 MB, free: 2.066 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.001637/0.001637, allocations: 213.4 kB / 23.04 MB, free: 4.844 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.587/1.587, allocations: 230.6 MB / 256.8 MB, free: 7.781 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.254/3.254, allocations: 0.49 GB / 0.7959 GB, free: 35.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.002089/0.002089, allocations: 68.56 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4344/0.4365, allocations: 176.1 MB / 1.327 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.003423/0.4399, allocations: 1.613 MB / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001378/0.4413, allocations: 0.6349 MB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.284e-05/0.4413, allocations: 0 / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001908/0.4415, allocations: 83.75 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000313/0.4418, allocations: 103.6 kB / 1.33 GB, free: 14.51 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003875/0.4422, allocations: 107 kB / 1.33 GB, free: 14.41 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002103/0.4424, allocations: 131.6 kB / 1.33 GB, free: 14.28 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 9.557e-05/0.4425, allocations: 11.98 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002224/0.4428, allocations: 75.78 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002038/0.443, allocations: 111.8 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.329e-05/0.443, allocations: 11.94 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001511/0.4431, allocations: 79.92 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.346e-05/0.4432, allocations: 27.92 kB / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.507e-05/0.4433, allocations: 47.72 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003006/0.4436, allocations: 183.2 kB / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.4436, allocations: 0 / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.693e-06/0.4436, allocations: 0 / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.4436, allocations: 0 / 1.33 GB, free: 13.74 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.0007972/0.4444, allocations: 411.1 kB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.4444, allocations: 8.031 kB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001908/0.4446, allocations: 28.78 kB / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002983/0.4449, allocations: 162.5 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.4449, allocations: 8.375 kB / 1.331 GB, free: 13.08 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.939e-05/0.445, allocations: 8.375 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002602/0.4452, allocations: 149.4 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.4452, allocations: 3.938 kB / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.562e-05/0.4452, allocations: 4 kB / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.4453, allocations: 0 / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001553/0.4454, allocations: 105.7 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004596/0.4459, allocations: 328.7 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002184/0.4461, allocations: 146.7 kB / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001386/0.4462, allocations: 103.5 kB / 1.332 GB, free: 12.15 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.139e-05/0.4462, allocations: 4 kB / 1.332 GB, free: 12.15 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002812/0.4465, allocations: 208.5 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.222e-06/0.4465, allocations: 0 / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.0006155/0.4471, allocations: 406.5 kB / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.313e-05/0.4472, allocations: 106.8 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002338/0.4475, allocations: 206.8 kB / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.487e-05/0.4475, allocations: 29.7 kB / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.667e-05/0.4476, allocations: 116.1 kB / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.994e-05/0.4476, allocations: 35.73 kB / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.089e-05/0.4477, allocations: 33.7 kB / 1.333 GB, free: 10.92 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.4479, allocations: 330.8 kB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001185/0.448, allocations: 93.67 kB / 1.333 GB, free: 10.49 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001183/0.4481, allocations: 107.4 kB / 1.333 GB, free: 10.37 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002308/0.4483, allocations: 205 kB / 1.333 GB, free: 10.15 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.4483, allocations: 0 / 1.333 GB, free: 10.15 MB / 1.029 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003803/0.4487, allocations: 304.9 kB / 1.334 GB, free: 9.836 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.865e-05/0.4488, allocations: 41.69 kB / 1.334 GB, free: 9.789 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/0.4488, allocations: 0 / 1.334 GB, free: 9.789 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.4488, allocations: 4.312 kB / 1.334 GB, free: 9.785 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.587e-05/0.4489, allocations: 15.98 kB / 1.334 GB, free: 9.77 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.4489, allocations: 4 kB / 1.334 GB, free: 9.766 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.566e-05/0.449, allocations: 15.89 kB / 1.334 GB, free: 9.75 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.766e-05/0.449, allocations: 8 kB / 1.334 GB, free: 9.742 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.0001753/0.4492, allocations: 185.2 kB / 1.334 GB, free: 9.551 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.382e-05/0.4492, allocations: 19.91 kB / 1.334 GB, free: 9.531 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002201/0.4494, allocations: 99.14 kB / 1.334 GB, free: 9.422 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.379e-06/0.4494, allocations: 4 kB / 1.334 GB, free: 9.418 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.4494, allocations: 0 / 1.334 GB, free: 9.418 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.4494, allocations: 4 kB / 1.334 GB, free: 9.414 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001813/0.4496, allocations: 173.1 kB / 1.334 GB, free: 9.215 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.4496, allocations: 0 / 1.334 GB, free: 9.215 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.347e-05/0.4497, allocations: 11.94 kB / 1.334 GB, free: 9.203 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.4497, allocations: 0 / 1.334 GB, free: 9.203 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.776e-05/0.4497, allocations: 4 kB / 1.334 GB, free: 9.199 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.634e-06/0.4497, allocations: 0 / 1.334 GB, free: 9.199 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.272e-06/0.4497, allocations: 4.094 kB / 1.334 GB, free: 9.195 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000468/0.4502, allocations: 377.1 kB / 1.335 GB, free: 8.793 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.276e-05/0.4502, allocations: 35.83 kB / 1.335 GB, free: 8.758 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.276e-05/0.4503, allocations: 12 kB / 1.335 GB, free: 8.746 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.555e-05/0.4504, allocations: 7.984 kB / 1.335 GB, free: 8.738 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.105e-05/0.4504, allocations: 15.92 kB / 1.335 GB, free: 8.723 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-05/0.4504, allocations: 4 kB / 1.335 GB, free: 8.719 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001525/0.4506, allocations: 168 kB / 1.335 GB, free: 8.555 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4506, allocations: 0 / 1.335 GB, free: 8.555 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000255/0.4508, allocations: 43.94 kB / 1.335 GB, free: 8.512 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.0002055/0.4511, allocations: 124.8 kB / 1.335 GB, free: 8.383 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003918/0.4514, allocations: 278.7 kB / 1.335 GB, free: 8.086 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.4514, allocations: 4 kB / 1.335 GB, free: 8.082 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001968/0.4516, allocations: 169 kB / 1.336 GB, free: 7.898 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002287/0.4519, allocations: 19.92 kB / 1.336 GB, free: 7.879 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007329/0.4526, allocations: 403.7 kB / 1.336 GB, free: 7.441 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001359/0.4527, allocations: 114.8 kB / 1.336 GB, free: 7.309 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.578e-05/0.4528, allocations: 15.44 kB / 1.336 GB, free: 7.293 MB / 1.029 GB Notification: Performance of SimCode: time 3.8e-07/0.4528, allocations: 0 / 1.336 GB, free: 7.293 MB / 1.029 GB Notification: Performance of Templates: time 0.004521/0.4573, allocations: 1.929 MB / 1.338 GB, free: 5.371 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: 12.222539101028815]