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.001389/0.001389, allocations: 102.3 kB / 19.7 MB, free: 2.254 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.001647/0.001647, allocations: 217.9 kB / 23.01 MB, free: 4.609 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.473/1.473, allocations: 230.6 MB / 256.8 MB, free: 8.055 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.788/2.788, allocations: 476.8 MB / 0.7714 GB, free: 4.324 MB / 0.6231 GB " [Timeout remaining time 176] 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.002073/0.002073, allocations: 69.42 kB / 1.119 GB, free: 40.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3388/0.3409, allocations: 170 MB / 1.285 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.003159/0.344, allocations: 1.646 MB / 1.286 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001355/0.3454, allocations: 0.6951 MB / 1.287 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.253e-05/0.3454, allocations: 0 / 1.287 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000178/0.3456, allocations: 75.81 kB / 1.287 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003081/0.3459, allocations: 101.4 kB / 1.287 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003721/0.3463, allocations: 107.7 kB / 1.287 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002075/0.3465, allocations: 131.7 kB / 1.287 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.322e-05/0.3466, allocations: 7.938 kB / 1.287 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002045/0.3468, allocations: 75.8 kB / 1.287 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002046/0.347, allocations: 123.7 kB / 1.287 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.304e-05/0.347, allocations: 8 kB / 1.287 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001565/0.3472, allocations: 87.92 kB / 1.288 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.604e-05/0.3472, allocations: 31.86 kB / 1.288 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.699e-05/0.3473, allocations: 55.59 kB / 1.288 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002725/0.3476, allocations: 175.3 kB / 1.288 GB, free: 8 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.3476, allocations: 3.938 kB / 1.288 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.272e-06/0.3476, allocations: 0 / 1.288 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.732e-06/0.3476, allocations: 0 / 1.288 GB, free: 7.996 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.0007409/0.3484, allocations: 411.1 kB / 1.288 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.3484, allocations: 8.031 kB / 1.288 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001837/0.3486, allocations: 28.78 kB / 1.288 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003194/0.3489, allocations: 159.8 kB / 1.288 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/0.3489, allocations: 384 / 1.288 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.514e-05/0.3489, allocations: 4.375 kB / 1.288 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000249/0.3492, allocations: 131.6 kB / 1.289 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.3492, allocations: 0 / 1.289 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.3492, allocations: 4 kB / 1.289 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.3492, allocations: 7.938 kB / 1.289 GB, free: 7.188 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001269/0.3493, allocations: 67.97 kB / 1.289 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004882/0.3498, allocations: 380 kB / 1.289 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001917/0.35, allocations: 105.1 kB / 1.289 GB, free: 6.582 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001119/0.3501, allocations: 73.78 kB / 1.289 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.004e-05/0.3501, allocations: 0 / 1.289 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002729/0.3504, allocations: 172.6 kB / 1.289 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=13): time 1.112e-06/0.3504, allocations: 0 / 1.289 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13): time 0.0005642/0.351, allocations: 339.3 kB / 1.29 GB, free: 5.969 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.42e-05/0.3511, allocations: 110.8 kB / 1.29 GB, free: 5.836 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002328/0.3513, allocations: 218.9 kB / 1.29 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.335e-05/0.3513, allocations: 25.7 kB / 1.29 GB, free: 5.578 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.39e-05/0.3514, allocations: 124.1 kB / 1.29 GB, free: 5.453 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.31e-05/0.3515, allocations: 31.73 kB / 1.29 GB, free: 5.422 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.493e-05/0.3515, allocations: 29.66 kB / 1.29 GB, free: 5.387 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000165/0.3517, allocations: 334.8 kB / 1.29 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.529e-05/0.3518, allocations: 67.97 kB / 1.291 GB, free: 4.984 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001093/0.3519, allocations: 77.69 kB / 1.291 GB, free: 4.902 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002214/0.3521, allocations: 193.3 kB / 1.291 GB, free: 4.695 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.304e-05/0.3521, allocations: 4 kB / 1.291 GB, free: 4.691 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003583/0.3525, allocations: 267.2 kB / 1.291 GB, free: 4.418 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.842e-05/0.3525, allocations: 37.69 kB / 1.291 GB, free: 4.375 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.3525, allocations: 96 / 1.291 GB, free: 4.375 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.3526, allocations: 7.984 kB / 1.291 GB, free: 4.367 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001197/0.3527, allocations: 15.94 kB / 1.291 GB, free: 4.352 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.3527, allocations: 4 kB / 1.291 GB, free: 4.348 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001116/0.3528, allocations: 19.88 kB / 1.291 GB, free: 4.328 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.649e-05/0.3528, allocations: 4 kB / 1.291 GB, free: 4.324 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.0001747/0.353, allocations: 175.5 kB / 1.291 GB, free: 4.137 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.434e-05/0.353, allocations: 23.84 kB / 1.291 GB, free: 4.113 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002189/0.3532, allocations: 99 kB / 1.291 GB, free: 4.004 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.3532, allocations: 4 kB / 1.291 GB, free: 4 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.3532, allocations: 0 / 1.291 GB, free: 4 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.3532, allocations: 4 kB / 1.291 GB, free: 3.996 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002236/0.3535, allocations: 204.5 kB / 1.292 GB, free: 3.754 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3535, allocations: 0 / 1.292 GB, free: 3.754 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.867e-05/0.3535, allocations: 11.98 kB / 1.292 GB, free: 3.742 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.191e-06/0.3535, allocations: 4 kB / 1.292 GB, free: 3.738 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.758e-05/0.3536, allocations: 8 kB / 1.292 GB, free: 3.73 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.3536, allocations: 0 / 1.292 GB, free: 3.73 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.3536, allocations: 0 / 1.292 GB, free: 3.73 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004395/0.354, allocations: 343.4 kB / 1.292 GB, free: 3.367 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.623e-05/0.3541, allocations: 31.81 kB / 1.292 GB, free: 3.336 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.381e-05/0.3541, allocations: 4 kB / 1.292 GB, free: 3.332 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.415e-05/0.3542, allocations: 4 kB / 1.292 GB, free: 3.328 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.221e-05/0.3543, allocations: 11.98 kB / 1.292 GB, free: 3.316 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.578e-05/0.3543, allocations: 16.11 kB / 1.292 GB, free: 3.301 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001423/0.3544, allocations: 156.5 kB / 1.292 GB, free: 3.148 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3544, allocations: 4 kB / 1.292 GB, free: 3.145 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002664/0.3547, allocations: 47.92 kB / 1.292 GB, free: 3.098 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.0002126/0.3549, allocations: 127.2 kB / 1.292 GB, free: 2.965 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003584/0.3553, allocations: 211.4 kB / 1.293 GB, free: 2.746 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3553, allocations: 3.938 kB / 1.293 GB, free: 2.742 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001721/0.3554, allocations: 139.3 kB / 1.293 GB, free: 2.594 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000219/0.3557, allocations: 14.44 kB / 1.293 GB, free: 2.582 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006655/0.3563, allocations: 382 kB / 1.293 GB, free: 2.172 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003934/0.3567, allocations: 0.7197 MB / 1.294 GB, free: 1.426 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.548e-05/0.3568, allocations: 19.42 kB / 1.294 GB, free: 1.41 MB / 0.9825 GB Notification: Performance of SimCode: time 4.21e-07/0.3568, allocations: 7.938 kB / 1.294 GB, free: 1.402 MB / 0.9825 GB Notification: Performance of Templates: time 0.004309/0.3611, allocations: 1.869 MB / 1.296 GB, free: 15.55 MB / 0.9981 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.348449637996964]