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.001316/0.001316, allocations: 112.8 kB / 17.08 MB, free: 6.012 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.001333/0.001333, allocations: 193.2 kB / 20.03 MB, free: 3.082 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.407/1.407, allocations: 222.9 MB / 245.7 MB, free: 4.227 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.691/2.691, allocations: 437.1 MB / 0.7177 GB, free: 4.551 MB / 0.5606 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.002636/0.002636, allocations: 71.88 kB / 1.028 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3467/0.3493, allocations: 151.6 MB / 1.176 GB, free: 5.922 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002802/0.3522, allocations: 1.607 MB / 1.177 GB, free: 4.293 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001138/0.3534, allocations: 0.6349 MB / 1.178 GB, free: 3.652 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.68e-05/0.3534, allocations: 0 / 1.178 GB, free: 3.652 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001563/0.3536, allocations: 83.77 kB / 1.178 GB, free: 3.57 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002693/0.3539, allocations: 107.7 kB / 1.178 GB, free: 3.465 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003422/0.3542, allocations: 95.77 kB / 1.178 GB, free: 3.371 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001794/0.3544, allocations: 139.6 kB / 1.178 GB, free: 3.234 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 7.816e-05/0.3545, allocations: 11.98 kB / 1.178 GB, free: 3.223 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001369/0.3546, allocations: 63.86 kB / 1.178 GB, free: 3.16 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001727/0.3548, allocations: 99.78 kB / 1.179 GB, free: 3.062 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.706e-05/0.3549, allocations: 15.98 kB / 1.179 GB, free: 3.047 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000144/0.355, allocations: 83.86 kB / 1.179 GB, free: 2.965 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 6.069e-05/0.3551, allocations: 35.84 kB / 1.179 GB, free: 2.93 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 7.131e-05/0.3552, allocations: 51.67 kB / 1.179 GB, free: 2.879 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002496/0.3554, allocations: 167.3 kB / 1.179 GB, free: 2.715 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.3554, allocations: 0 / 1.179 GB, free: 2.715 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.894e-06/0.3554, allocations: 3.938 kB / 1.179 GB, free: 2.711 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.3554, allocations: 0 / 1.179 GB, free: 2.711 MB / 0.92 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.0007363/0.3562, allocations: 492.2 kB / 1.179 GB, free: 2.176 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.202e-05/0.3562, allocations: 8.031 kB / 1.179 GB, free: 2.168 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.694e-05/0.3563, allocations: 16.84 kB / 1.179 GB, free: 2.152 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002727/0.3566, allocations: 216 kB / 1.18 GB, free: 1.902 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.3566, allocations: 4.375 kB / 1.18 GB, free: 1.898 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.086e-05/0.3566, allocations: 8.375 kB / 1.18 GB, free: 1.891 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002325/0.3568, allocations: 123.7 kB / 1.18 GB, free: 1.758 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.3569, allocations: 0 / 1.18 GB, free: 1.758 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.449e-05/0.3569, allocations: 8 kB / 1.18 GB, free: 1.75 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.3569, allocations: 4 kB / 1.18 GB, free: 1.746 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001297/0.357, allocations: 71.89 kB / 1.18 GB, free: 1.676 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004754/0.3575, allocations: 408.9 kB / 1.18 GB, free: 1.223 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002193/0.3577, allocations: 121 kB / 1.18 GB, free: 1.086 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001181/0.3579, allocations: 85.78 kB / 1.18 GB, free: 0.9961 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.962e-05/0.3579, allocations: 0 / 1.18 GB, free: 0.9961 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003009/0.3582, allocations: 166.7 kB / 1.181 GB, free: 0.8086 MB / 0.92 GB Notification: Performance of pre-optimization done (n=13): time 1.503e-06/0.3582, allocations: 4 kB / 1.181 GB, free: 0.8047 MB / 0.92 GB Notification: Performance of matching and sorting (n=13): time 0.0006519/0.3589, allocations: 331.1 kB / 1.181 GB, free: 480 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001028/0.359, allocations: 114.8 kB / 1.181 GB, free: 340 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002581/0.3593, allocations: 222.5 kB / 1.181 GB, free: 104 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.426e-05/0.3593, allocations: 25.7 kB / 1.181 GB, free: 72 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.000109/0.3594, allocations: 116.1 kB / 1.181 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.917e-05/0.3595, allocations: 31.89 kB / 1.181 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.714e-05/0.3595, allocations: 33.7 kB / 1.181 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001586/0.3597, allocations: 330.8 kB / 1.182 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.62e-05/0.3598, allocations: 63.97 kB / 1.182 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001088/0.3599, allocations: 80.08 kB / 1.182 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002303/0.3602, allocations: 201.3 kB / 1.182 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.3602, allocations: 0 / 1.182 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003738/0.3606, allocations: 275 kB / 1.182 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 5.728e-05/0.3606, allocations: 37.7 kB / 1.182 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.3606, allocations: 0 / 1.182 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.059e-05/0.3607, allocations: 0 / 1.182 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001476/0.3608, allocations: 15.98 kB / 1.182 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/0.3609, allocations: 4 kB / 1.182 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001177/0.361, allocations: 8 kB / 1.182 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.337e-05/0.361, allocations: 7.984 kB / 1.182 GB, free: 14.83 MB / 0.9356 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.0002303/0.3613, allocations: 180.2 kB / 1.183 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.076e-05/0.3613, allocations: 23.89 kB / 1.183 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003103/0.3616, allocations: 103.1 kB / 1.183 GB, free: 14.51 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.3616, allocations: 0 / 1.183 GB, free: 14.51 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/0.3616, allocations: 0 / 1.183 GB, free: 14.51 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.488e-06/0.3617, allocations: 3.984 kB / 1.183 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003007/0.362, allocations: 237.4 kB / 1.183 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.362, allocations: 0 / 1.183 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.625e-05/0.362, allocations: 8 kB / 1.183 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.671e-06/0.3621, allocations: 3.984 kB / 1.183 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.24e-05/0.3621, allocations: 4 kB / 1.183 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.272e-06/0.3621, allocations: 4 kB / 1.183 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.3621, allocations: 3.938 kB / 1.183 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005227/0.3626, allocations: 343.5 kB / 1.183 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001387/0.3628, allocations: 109 kB / 1.183 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.326e-05/0.3628, allocations: 7.984 kB / 1.183 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.3629, allocations: 12.12 kB / 1.183 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001137/0.3631, allocations: 7.984 kB / 1.183 GB, free: 13.69 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.35e-05/0.3631, allocations: 8 kB / 1.183 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001932/0.3633, allocations: 164.2 kB / 1.184 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.71e-07/0.3633, allocations: 0 / 1.184 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003121/0.3636, allocations: 47.94 kB / 1.184 GB, free: 13.47 MB / 0.9356 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.0003153/0.364, allocations: 135 kB / 1.184 GB, free: 13.33 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004487/0.3644, allocations: 243.3 kB / 1.184 GB, free: 13.08 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.3644, allocations: 96 / 1.184 GB, free: 13.08 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000234/0.3647, allocations: 167.3 kB / 1.184 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002616/0.365, allocations: 22.55 kB / 1.184 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000764/0.3657, allocations: 381.7 kB / 1.185 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004104/0.3661, allocations: 0.7236 MB / 1.185 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.837e-05/0.3662, allocations: 15.44 kB / 1.185 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of SimCode: time 3.3e-07/0.3662, allocations: 4 kB / 1.185 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of Templates: time 0.004313/0.3705, allocations: 1.857 MB / 1.187 GB, free: 9.855 MB / 0.9356 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.316093420027755]