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.001304/0.001304, allocations: 78.64 kB / 19.76 MB, free: 1.875 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.001425/0.001425, allocations: 157.9 kB / 23.01 MB, free: 4.598 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.426/1.426, allocations: 177.2 MB / 203.4 MB, free: 8.934 MB / 190.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.682/2.682, allocations: 359.1 MB / 0.6044 GB, free: 14.87 MB / 0.5762 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.002141/0.002141, allocations: 67.89 kB / 0.9515 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3063/0.3084, allocations: 169.9 MB / 1.117 GB, free: 2.559 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002862/0.3113, allocations: 1.599 MB / 1.119 GB, free: 0.9453 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001211/0.3125, allocations: 0.6467 MB / 1.12 GB, free: 300 kB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.038e-05/0.3125, allocations: 0 / 1.12 GB, free: 300 kB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001595/0.3127, allocations: 79.77 kB / 1.12 GB, free: 220 kB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002647/0.313, allocations: 103.7 kB / 1.12 GB, free: 116 kB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003336/0.3133, allocations: 91.78 kB / 1.12 GB, free: 24 kB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002173/0.3135, allocations: 135.6 kB / 1.12 GB, free: 15.89 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 6.806e-05/0.3136, allocations: 7.984 kB / 1.12 GB, free: 15.88 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000188/0.3138, allocations: 83.8 kB / 1.12 GB, free: 15.8 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001915/0.314, allocations: 107.8 kB / 1.12 GB, free: 15.7 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.067e-05/0.314, allocations: 4 kB / 1.12 GB, free: 15.69 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001572/0.3141, allocations: 91.86 kB / 1.12 GB, free: 15.6 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 6.363e-05/0.3142, allocations: 35.83 kB / 1.12 GB, free: 15.57 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 7.602e-05/0.3143, allocations: 43.73 kB / 1.12 GB, free: 15.52 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002624/0.3146, allocations: 175.3 kB / 1.121 GB, free: 15.35 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3146, allocations: 0 / 1.121 GB, free: 15.35 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.153e-06/0.3146, allocations: 0 / 1.121 GB, free: 15.35 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.578e-06/0.3146, allocations: 4 kB / 1.121 GB, free: 15.35 MB / 1.076 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.0007163/0.3153, allocations: 411.1 kB / 1.121 GB, free: 14.91 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.147e-05/0.3153, allocations: 12.03 kB / 1.121 GB, free: 14.9 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000167/0.3155, allocations: 24.73 kB / 1.121 GB, free: 14.88 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000242/0.3157, allocations: 163.8 kB / 1.121 GB, free: 14.69 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.3157, allocations: 384 / 1.121 GB, free: 14.69 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.673e-05/0.3157, allocations: 4.375 kB / 1.121 GB, free: 14.69 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002524/0.316, allocations: 157.4 kB / 1.121 GB, free: 14.52 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.316, allocations: 7.922 kB / 1.121 GB, free: 14.51 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.316, allocations: 4 kB / 1.121 GB, free: 14.5 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.371e-06/0.316, allocations: 4 kB / 1.121 GB, free: 14.5 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001559/0.3162, allocations: 93.67 kB / 1.121 GB, free: 14.4 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004131/0.3166, allocations: 336.7 kB / 1.122 GB, free: 14.04 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002072/0.3168, allocations: 142.7 kB / 1.122 GB, free: 13.88 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001332/0.3169, allocations: 103.6 kB / 1.122 GB, free: 13.76 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2e-05/0.317, allocations: 3.938 kB / 1.122 GB, free: 13.76 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002803/0.3172, allocations: 212.4 kB / 1.122 GB, free: 13.52 MB / 1.076 GB Notification: Performance of pre-optimization done (n=13): time 1.082e-06/0.3172, allocations: 4 kB / 1.122 GB, free: 13.52 MB / 1.076 GB Notification: Performance of matching and sorting (n=13): time 0.0005959/0.3178, allocations: 394.5 kB / 1.123 GB, free: 13.11 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.08e-05/0.3179, allocations: 110.8 kB / 1.123 GB, free: 12.97 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002237/0.3181, allocations: 218.5 kB / 1.123 GB, free: 12.75 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.109e-05/0.3182, allocations: 25.7 kB / 1.123 GB, free: 12.71 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 7.779e-05/0.3182, allocations: 120 kB / 1.123 GB, free: 12.59 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.136e-05/0.3183, allocations: 31.8 kB / 1.123 GB, free: 12.56 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.492e-05/0.3183, allocations: 29.7 kB / 1.123 GB, free: 12.53 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001514/0.3185, allocations: 330.8 kB / 1.123 GB, free: 12.2 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001137/0.3186, allocations: 89.67 kB / 1.123 GB, free: 12.1 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001346/0.3187, allocations: 119.3 kB / 1.124 GB, free: 11.97 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002453/0.319, allocations: 209.2 kB / 1.124 GB, free: 11.75 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.319, allocations: 0 / 1.124 GB, free: 11.75 MB / 1.076 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003977/0.3194, allocations: 308.9 kB / 1.124 GB, free: 11.43 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 4.062e-05/0.3194, allocations: 37.69 kB / 1.124 GB, free: 11.39 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.3194, allocations: 0 / 1.124 GB, free: 11.39 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.3194, allocations: 0 / 1.124 GB, free: 11.39 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.3195, allocations: 19.98 kB / 1.124 GB, free: 11.37 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.3196, allocations: 240 / 1.124 GB, free: 11.37 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001111/0.3197, allocations: 11.95 kB / 1.124 GB, free: 11.36 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.568e-05/0.3197, allocations: 4 kB / 1.124 GB, free: 11.35 MB / 1.076 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.0001633/0.3198, allocations: 190 kB / 1.124 GB, free: 11.15 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.594e-05/0.3199, allocations: 19.89 kB / 1.124 GB, free: 11.13 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002061/0.3201, allocations: 99.22 kB / 1.124 GB, free: 11.04 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.3201, allocations: 0 / 1.124 GB, free: 11.04 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.3201, allocations: 0 / 1.124 GB, free: 11.04 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.3201, allocations: 7.984 kB / 1.124 GB, free: 11.03 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001767/0.3203, allocations: 165.1 kB / 1.125 GB, free: 10.84 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.3203, allocations: 3.938 kB / 1.125 GB, free: 10.83 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.88e-05/0.3203, allocations: 11.94 kB / 1.125 GB, free: 10.82 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.3203, allocations: 4 kB / 1.125 GB, free: 10.82 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.439e-05/0.3204, allocations: 15.97 kB / 1.125 GB, free: 10.8 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.3204, allocations: 0 / 1.125 GB, free: 10.8 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.3204, allocations: 3.984 kB / 1.125 GB, free: 10.8 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004751/0.3208, allocations: 370 kB / 1.125 GB, free: 10.4 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 6.842e-05/0.3209, allocations: 27.88 kB / 1.125 GB, free: 10.38 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.159e-05/0.3209, allocations: 4.125 kB / 1.125 GB, free: 10.37 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000109/0.321, allocations: 16 kB / 1.125 GB, free: 10.36 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.796e-05/0.3211, allocations: 11.92 kB / 1.125 GB, free: 10.34 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.243e-05/0.3211, allocations: 11.98 kB / 1.125 GB, free: 10.33 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001454/0.3213, allocations: 156.6 kB / 1.125 GB, free: 10.18 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.3213, allocations: 3.938 kB / 1.125 GB, free: 10.18 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000265/0.3215, allocations: 51.92 kB / 1.125 GB, free: 10.12 MB / 1.076 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.0001712/0.3217, allocations: 125 kB / 1.125 GB, free: 9.996 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003801/0.3221, allocations: 278.7 kB / 1.126 GB, free: 9.699 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.3221, allocations: 0 / 1.126 GB, free: 9.699 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001828/0.3223, allocations: 169 kB / 1.126 GB, free: 9.516 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002054/0.3225, allocations: 19.88 kB / 1.126 GB, free: 9.496 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006394/0.3231, allocations: 385.8 kB / 1.126 GB, free: 9.078 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001133/0.3232, allocations: 111.1 kB / 1.126 GB, free: 8.953 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 3.974e-05/0.3233, allocations: 8.125 kB / 1.126 GB, free: 8.945 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.357e-05/0.3233, allocations: 20.48 kB / 1.126 GB, free: 8.926 MB / 1.076 GB Notification: Performance of SimCode: time 3.31e-07/0.3233, allocations: 4 kB / 1.126 GB, free: 8.922 MB / 1.076 GB Notification: Performance of Templates: time 0.004957/0.3283, allocations: 1.693 MB / 1.128 GB, free: 7.258 MB / 1.076 GB " [Timeout remaining time 300] 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 -s ida -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: 8.343992392066866]