Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001599/0.001599, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001924/0.001924, allocations: 214.9 kB / 22.99 MB, free: 4.945 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.543/1.543, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.75/2.75, allocations: 476 MB / 0.7707 GB, free: 4.711 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002097/0.002097, allocations: 65.11 kB / 1.118 GB, free: 41.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3509/0.353, allocations: 170 MB / 1.284 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.003082/0.3561, allocations: 1.613 MB / 1.285 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001327/0.3574, allocations: 0.625 MB / 1.286 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.177e-05/0.3575, allocations: 4 kB / 1.286 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001643/0.3576, allocations: 71.77 kB / 1.286 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002745/0.3579, allocations: 111.7 kB / 1.286 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003527/0.3583, allocations: 99.77 kB / 1.286 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000187/0.3585, allocations: 131.6 kB / 1.286 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 7.521e-05/0.3585, allocations: 7.938 kB / 1.286 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002128/0.3587, allocations: 87.72 kB / 1.286 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000185/0.3589, allocations: 103.8 kB / 1.287 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.322e-05/0.359, allocations: 8 kB / 1.287 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001617/0.3591, allocations: 83.92 kB / 1.287 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7e-05/0.3592, allocations: 39.89 kB / 1.287 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.357e-05/0.3593, allocations: 39.73 kB / 1.287 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002901/0.3595, allocations: 175.2 kB / 1.287 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 8.606e-06/0.3596, allocations: 8 kB / 1.287 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.834e-06/0.3596, allocations: 0 / 1.287 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.65e-06/0.3596, allocations: 0 / 1.287 GB, free: 8.77 MB / 0.9825 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.0007802/0.3603, allocations: 407.1 kB / 1.287 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.166e-05/0.3604, allocations: 8.031 kB / 1.287 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001764/0.3606, allocations: 28.73 kB / 1.287 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003025/0.3609, allocations: 163.8 kB / 1.287 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/0.3609, allocations: 384 / 1.287 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.908e-05/0.3609, allocations: 8.375 kB / 1.287 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002743/0.3612, allocations: 157.4 kB / 1.288 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.301e-05/0.3612, allocations: 3.938 kB / 1.288 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/0.3612, allocations: 0 / 1.288 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.3612, allocations: 3.984 kB / 1.288 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001672/0.3614, allocations: 101.7 kB / 1.288 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004564/0.3618, allocations: 336.6 kB / 1.288 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002188/0.362, allocations: 142.7 kB / 1.288 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001413/0.3622, allocations: 107.5 kB / 1.288 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.45e-05/0.3622, allocations: 0 / 1.288 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000298/0.3625, allocations: 210.5 kB / 1.288 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=13): time 1.112e-06/0.3625, allocations: 0 / 1.288 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13): time 0.0006207/0.3631, allocations: 398.5 kB / 1.289 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.457e-05/0.3632, allocations: 110.8 kB / 1.289 GB, free: 6.398 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002476/0.3635, allocations: 222.9 kB / 1.289 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.243e-05/0.3635, allocations: 25.7 kB / 1.289 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.409e-05/0.3636, allocations: 116.1 kB / 1.289 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.663e-05/0.3636, allocations: 43.69 kB / 1.289 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.971e-05/0.3637, allocations: 29.7 kB / 1.289 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001816/0.3639, allocations: 334.8 kB / 1.29 GB, free: 5.605 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001222/0.364, allocations: 85.69 kB / 1.29 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001301/0.3641, allocations: 115.3 kB / 1.29 GB, free: 5.391 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000251/0.3644, allocations: 213.1 kB / 1.29 GB, free: 5.164 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.3644, allocations: 0 / 1.29 GB, free: 5.164 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004033/0.3648, allocations: 304.9 kB / 1.29 GB, free: 4.848 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.305e-05/0.3648, allocations: 37.7 kB / 1.29 GB, free: 4.805 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.3648, allocations: 0 / 1.29 GB, free: 4.805 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.3648, allocations: 0 / 1.29 GB, free: 4.805 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.947e-05/0.3649, allocations: 19.98 kB / 1.29 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.3649, allocations: 0 / 1.29 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.646e-05/0.365, allocations: 11.89 kB / 1.29 GB, free: 4.773 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.689e-05/0.3651, allocations: 7.984 kB / 1.29 GB, free: 4.766 MB / 0.9825 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.0001763/0.3652, allocations: 189.8 kB / 1.291 GB, free: 4.566 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.237e-05/0.3653, allocations: 15.91 kB / 1.291 GB, free: 4.551 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00021/0.3655, allocations: 95.08 kB / 1.291 GB, free: 4.445 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.3655, allocations: 0 / 1.291 GB, free: 4.445 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.696e-06/0.3655, allocations: 7.938 kB / 1.291 GB, free: 4.438 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.3655, allocations: 3.984 kB / 1.291 GB, free: 4.434 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001837/0.3657, allocations: 161.3 kB / 1.291 GB, free: 4.246 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.3657, allocations: 0 / 1.291 GB, free: 4.246 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.644e-05/0.3657, allocations: 19.92 kB / 1.291 GB, free: 4.227 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.3657, allocations: 0 / 1.291 GB, free: 4.227 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.177e-05/0.3658, allocations: 11.98 kB / 1.291 GB, free: 4.215 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.3658, allocations: 0 / 1.291 GB, free: 4.215 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3658, allocations: 0 / 1.291 GB, free: 4.215 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004972/0.3663, allocations: 373.1 kB / 1.291 GB, free: 3.816 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.579e-05/0.3663, allocations: 32 kB / 1.291 GB, free: 3.785 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.511e-05/0.3664, allocations: 12.12 kB / 1.291 GB, free: 3.773 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.365e-05/0.3665, allocations: 11.94 kB / 1.291 GB, free: 3.762 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.818e-05/0.3665, allocations: 11.92 kB / 1.291 GB, free: 3.75 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.463e-05/0.3665, allocations: 15.98 kB / 1.291 GB, free: 3.734 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001539/0.3667, allocations: 156.5 kB / 1.292 GB, free: 3.582 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3667, allocations: 0 / 1.292 GB, free: 3.582 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002684/0.367, allocations: 43.92 kB / 1.292 GB, free: 3.539 MB / 0.9825 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.0001995/0.3672, allocations: 123.2 kB / 1.292 GB, free: 3.41 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004163/0.3676, allocations: 282.7 kB / 1.292 GB, free: 3.109 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.3676, allocations: 0 / 1.292 GB, free: 3.109 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001984/0.3678, allocations: 169 kB / 1.292 GB, free: 2.926 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000217/0.368, allocations: 18.44 kB / 1.292 GB, free: 2.91 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006815/0.3687, allocations: 411.7 kB / 1.293 GB, free: 2.465 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001187/0.3688, allocations: 118.1 kB / 1.293 GB, free: 2.332 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.777e-05/0.3688, allocations: 15.44 kB / 1.293 GB, free: 2.316 MB / 0.9825 GB Notification: Performance of SimCode: time 6.01e-07/0.3688, allocations: 0 / 1.293 GB, free: 2.316 MB / 0.9825 GB Notification: Performance of Templates: time 0.004166/0.373, allocations: 1.922 MB / 1.295 GB, free: 412 kB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.makefile [Timeout 300] (rm -f Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & ./Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 11.183076250832528]