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.001872/0.001872, allocations: 110.3 kB / 16.46 MB, free: 6.453 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.00202/0.00202, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.448/1.448, allocations: 230.6 MB / 252.8 MB, free: 8.938 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.2/3.2, allocations: 0.49 GB / 0.7916 GB, free: 33.33 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.002035/0.002035, allocations: 72.67 kB / 1.149 GB, free: 26.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3406/0.3427, allocations: 176.1 MB / 1.321 GB, free: 2.957 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.003169/0.3459, allocations: 1.637 MB / 1.323 GB, free: 1.309 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001389/0.3472, allocations: 0.6855 MB / 1.323 GB, free: 0.6172 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.374e-05/0.3473, allocations: 0 / 1.323 GB, free: 0.6172 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001876/0.3475, allocations: 71.83 kB / 1.324 GB, free: 0.5469 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0003045/0.3478, allocations: 115.7 kB / 1.324 GB, free: 444 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003867/0.3482, allocations: 114.9 kB / 1.324 GB, free: 332 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001889/0.3484, allocations: 123.7 kB / 1.324 GB, free: 208 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 7.747e-05/0.3485, allocations: 4 kB / 1.324 GB, free: 204 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001904/0.3486, allocations: 83.73 kB / 1.324 GB, free: 120 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001821/0.3488, allocations: 115.7 kB / 1.324 GB, free: 4 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.89e-05/0.3489, allocations: 8.047 kB / 1.324 GB, free: 15.99 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001645/0.349, allocations: 87.86 kB / 1.324 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.308e-05/0.3491, allocations: 27.92 kB / 1.324 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.714e-05/0.3492, allocations: 55.61 kB / 1.324 GB, free: 15.83 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002696/0.3495, allocations: 183.2 kB / 1.324 GB, free: 15.65 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.3495, allocations: 0 / 1.324 GB, free: 15.65 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.112e-06/0.3495, allocations: 0 / 1.324 GB, free: 15.65 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.249e-06/0.3495, allocations: 0 / 1.324 GB, free: 15.65 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.0007755/0.3502, allocations: 494.2 kB / 1.325 GB, free: 15.11 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.3503, allocations: 19.98 kB / 1.325 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001856/0.3505, allocations: 20.84 kB / 1.325 GB, free: 15.07 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003096/0.3508, allocations: 212.1 kB / 1.325 GB, free: 14.83 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.3508, allocations: 384 / 1.325 GB, free: 14.83 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.769e-05/0.3508, allocations: 4.375 kB / 1.325 GB, free: 14.82 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002468/0.3511, allocations: 131.6 kB / 1.325 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.3511, allocations: 3.984 kB / 1.325 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.631e-05/0.3511, allocations: 4 kB / 1.325 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.3511, allocations: 4 kB / 1.325 GB, free: 14.67 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001346/0.3512, allocations: 71.91 kB / 1.325 GB, free: 14.6 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005033/0.3517, allocations: 408.9 kB / 1.326 GB, free: 14.15 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001837/0.3519, allocations: 105.2 kB / 1.326 GB, free: 14.03 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001092/0.352, allocations: 77.72 kB / 1.326 GB, free: 13.95 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.11e-05/0.352, allocations: 0 / 1.326 GB, free: 13.95 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002509/0.3523, allocations: 170.8 kB / 1.326 GB, free: 13.75 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.082e-06/0.3523, allocations: 0 / 1.326 GB, free: 13.75 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.0005524/0.3528, allocations: 335.3 kB / 1.326 GB, free: 13.41 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.741e-05/0.3529, allocations: 114.8 kB / 1.327 GB, free: 13.28 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002365/0.3532, allocations: 220.1 kB / 1.327 GB, free: 13.05 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.356e-05/0.3532, allocations: 25.7 kB / 1.327 GB, free: 13.02 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.606e-05/0.3533, allocations: 116.1 kB / 1.327 GB, free: 12.9 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.828e-05/0.3533, allocations: 39.73 kB / 1.327 GB, free: 12.86 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.401e-05/0.3534, allocations: 21.72 kB / 1.327 GB, free: 12.83 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001524/0.3535, allocations: 338.8 kB / 1.327 GB, free: 12.49 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.498e-05/0.3536, allocations: 55.92 kB / 1.327 GB, free: 12.44 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001068/0.3537, allocations: 89.67 kB / 1.327 GB, free: 12.34 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000221/0.354, allocations: 189 kB / 1.328 GB, free: 12.14 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.354, allocations: 0 / 1.328 GB, free: 12.14 MB / 1.029 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003584/0.3543, allocations: 267.2 kB / 1.328 GB, free: 11.87 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.857e-05/0.3544, allocations: 33.7 kB / 1.328 GB, free: 11.83 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.866e-06/0.3544, allocations: 3.984 kB / 1.328 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.3544, allocations: 4 kB / 1.328 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.3545, allocations: 11.94 kB / 1.328 GB, free: 11.81 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.3545, allocations: 8.406 kB / 1.328 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001098/0.3546, allocations: 23.81 kB / 1.328 GB, free: 11.78 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.258e-05/0.3546, allocations: 8 kB / 1.328 GB, free: 11.77 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.0001776/0.3548, allocations: 181.7 kB / 1.328 GB, free: 11.58 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.377e-05/0.3548, allocations: 15.91 kB / 1.328 GB, free: 11.56 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002267/0.3551, allocations: 103.1 kB / 1.328 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.3551, allocations: 0 / 1.328 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.3551, allocations: 8 kB / 1.328 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.3551, allocations: 0 / 1.328 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002275/0.3553, allocations: 233.5 kB / 1.328 GB, free: 11.17 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.3553, allocations: 0 / 1.328 GB, free: 11.17 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.197e-05/0.3554, allocations: 15.98 kB / 1.328 GB, free: 11.15 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.3554, allocations: 0 / 1.328 GB, free: 11.15 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.739e-05/0.3554, allocations: 4 kB / 1.328 GB, free: 11.15 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.3554, allocations: 0 / 1.328 GB, free: 11.15 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3554, allocations: 0 / 1.328 GB, free: 11.15 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004434/0.3558, allocations: 347.4 kB / 1.329 GB, free: 10.78 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.892e-05/0.3559, allocations: 108.9 kB / 1.329 GB, free: 10.66 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.418e-05/0.356, allocations: 8 kB / 1.329 GB, free: 10.65 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.677e-05/0.3561, allocations: 4 kB / 1.329 GB, free: 10.64 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.318e-05/0.3561, allocations: 11.98 kB / 1.329 GB, free: 10.63 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-05/0.3561, allocations: 8 kB / 1.329 GB, free: 10.62 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001505/0.3563, allocations: 164.2 kB / 1.329 GB, free: 10.46 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3563, allocations: 4 kB / 1.329 GB, free: 10.46 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002611/0.3565, allocations: 40 kB / 1.329 GB, free: 10.42 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.0002243/0.3568, allocations: 141.1 kB / 1.329 GB, free: 10.28 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003299/0.3571, allocations: 211.3 kB / 1.329 GB, free: 10.06 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.3571, allocations: 0 / 1.329 GB, free: 10.06 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001678/0.3573, allocations: 143.3 kB / 1.33 GB, free: 9.91 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000209/0.3575, allocations: 11.98 kB / 1.33 GB, free: 9.898 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006192/0.3581, allocations: 352.2 kB / 1.33 GB, free: 9.523 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003497/0.3584, allocations: 0.7244 MB / 1.331 GB, free: 8.773 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.555e-05/0.3585, allocations: 4.188 kB / 1.331 GB, free: 8.77 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.693e-05/0.3585, allocations: 23.42 kB / 1.331 GB, free: 8.746 MB / 1.029 GB Notification: Performance of SimCode: time 3.01e-07/0.3585, allocations: 0 / 1.331 GB, free: 8.746 MB / 1.029 GB Notification: Performance of Templates: time 0.004967/0.3635, allocations: 1.674 MB / 1.332 GB, free: 7.082 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/jenkins/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.69786267541349]