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.001802/0.001802, allocations: 118.2 kB / 17.13 MB, free: 5.945 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.001891/0.001891, allocations: 209.5 kB / 20.09 MB, free: 2.996 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.49/1.49, allocations: 230.6 MB / 253.5 MB, free: 15.12 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 2.946/2.946, allocations: 0.49 GB / 0.7923 GB, free: 1.352 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.002049/0.002049, allocations: 63.91 kB / 1.15 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.009/1.011, allocations: 176.1 MB / 1.322 GB, free: 25.08 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002574/1.014, allocations: 1.627 MB / 1.324 GB, free: 23.95 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001001/1.015, allocations: 0.6801 MB / 1.324 GB, free: 23.48 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.46e-05/1.015, allocations: 6.875 kB / 1.324 GB, free: 23.48 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001525/1.015, allocations: 71.34 kB / 1.324 GB, free: 23.47 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002645/1.015, allocations: 116.3 kB / 1.324 GB, free: 23.43 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000336/1.015, allocations: 104.1 kB / 1.324 GB, free: 23.39 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001608/1.015, allocations: 123.2 kB / 1.325 GB, free: 23.34 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 8.506e-05/1.016, allocations: 5.812 kB / 1.325 GB, free: 23.34 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001877/1.016, allocations: 79.52 kB / 1.325 GB, free: 23.32 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001552/1.016, allocations: 113.9 kB / 1.325 GB, free: 23.3 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.187e-05/1.016, allocations: 9.562 kB / 1.325 GB, free: 23.29 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001296/1.016, allocations: 89.69 kB / 1.325 GB, free: 23.27 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.652e-05/1.016, allocations: 34.16 kB / 1.325 GB, free: 23.25 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 6.015e-05/1.016, allocations: 53.11 kB / 1.325 GB, free: 23.22 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.00022/1.016, allocations: 177.8 kB / 1.325 GB, free: 23.16 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/1.016, allocations: 0 / 1.325 GB, free: 23.16 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.993e-06/1.016, allocations: 0 / 1.325 GB, free: 23.16 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.971e-06/1.016, allocations: 0 / 1.325 GB, free: 23.16 MB / 1.061 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.0006361/1.017, allocations: 487.4 kB / 1.326 GB, free: 22.69 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/1.017, allocations: 18.64 kB / 1.326 GB, free: 22.68 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001677/1.017, allocations: 23.28 kB / 1.326 GB, free: 22.68 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002241/1.017, allocations: 219.8 kB / 1.326 GB, free: 22.45 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/1.017, allocations: 384 / 1.326 GB, free: 22.45 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.615e-05/1.018, allocations: 10 kB / 1.326 GB, free: 22.44 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001871/1.018, allocations: 130.8 kB / 1.326 GB, free: 22.37 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/1.018, allocations: 0 / 1.326 GB, free: 22.37 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/1.018, allocations: 2.688 kB / 1.326 GB, free: 22.37 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/1.018, allocations: 4 kB / 1.326 GB, free: 22.36 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000112/1.018, allocations: 75.06 kB / 1.326 GB, free: 22.34 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003356/1.018, allocations: 410.7 kB / 1.326 GB, free: 21.95 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000142/1.018, allocations: 110.2 kB / 1.327 GB, free: 21.88 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.331e-05/1.018, allocations: 71.78 kB / 1.327 GB, free: 21.85 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.102e-05/1.018, allocations: 2.781 kB / 1.327 GB, free: 21.85 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002163/1.019, allocations: 173.9 kB / 1.327 GB, free: 21.73 MB / 1.061 GB Notification: Performance of pre-optimization done (n=13): time 9.82e-07/1.019, allocations: 0 / 1.327 GB, free: 21.73 MB / 1.061 GB Notification: Performance of matching and sorting (n=13): time 0.0005756/1.019, allocations: 337.3 kB / 1.327 GB, free: 21.6 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.67e-05/1.019, allocations: 113.5 kB / 1.327 GB, free: 21.46 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000206/1.019, allocations: 219.5 kB / 1.327 GB, free: 21.33 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.581e-05/1.019, allocations: 27.11 kB / 1.327 GB, free: 21.3 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.942e-05/1.02, allocations: 114.5 kB / 1.328 GB, free: 21.19 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.676e-05/1.02, allocations: 40.77 kB / 1.328 GB, free: 21.16 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.349e-05/1.02, allocations: 28.06 kB / 1.328 GB, free: 21.14 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.964e-05/1.02, allocations: 331 kB / 1.328 GB, free: 20.82 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.713e-05/1.02, allocations: 57.64 kB / 1.328 GB, free: 20.8 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001058/1.02, allocations: 90.11 kB / 1.328 GB, free: 20.77 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002112/1.02, allocations: 196.8 kB / 1.328 GB, free: 20.64 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/1.02, allocations: 0 / 1.328 GB, free: 20.64 MB / 1.061 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003762/1.02, allocations: 263.4 kB / 1.329 GB, free: 20.53 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.656e-05/1.021, allocations: 40.69 kB / 1.329 GB, free: 20.49 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/1.021, allocations: 0.9062 kB / 1.329 GB, free: 20.49 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/1.021, allocations: 0.8125 kB / 1.329 GB, free: 20.49 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/1.021, allocations: 13.88 kB / 1.329 GB, free: 20.49 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/1.021, allocations: 4.875 kB / 1.329 GB, free: 20.49 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001121/1.021, allocations: 17.53 kB / 1.329 GB, free: 20.48 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.78e-05/1.021, allocations: 3.875 kB / 1.329 GB, free: 20.48 MB / 1.061 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.0001259/1.021, allocations: 175.4 kB / 1.329 GB, free: 20.32 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.478e-05/1.021, allocations: 17.81 kB / 1.329 GB, free: 20.32 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002107/1.021, allocations: 98.53 kB / 1.329 GB, free: 20.25 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/1.021, allocations: 8.609 kB / 1.329 GB, free: 20.25 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/1.021, allocations: 4.844 kB / 1.329 GB, free: 20.25 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/1.021, allocations: 0.625 kB / 1.329 GB, free: 20.25 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001709/1.021, allocations: 238 kB / 1.329 GB, free: 20.02 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/1.021, allocations: 0.5938 kB / 1.329 GB, free: 20.02 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.744e-05/1.021, allocations: 8.875 kB / 1.329 GB, free: 20.02 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/1.021, allocations: 1.094 kB / 1.329 GB, free: 20.02 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.803e-05/1.021, allocations: 3.25 kB / 1.329 GB, free: 20.02 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/1.021, allocations: 4.938 kB / 1.329 GB, free: 20.02 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/1.021, allocations: 3.891 kB / 1.329 GB, free: 20.02 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004599/1.022, allocations: 348.5 kB / 1.329 GB, free: 19.83 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 8.271e-05/1.022, allocations: 105.7 kB / 1.33 GB, free: 19.73 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.327e-05/1.022, allocations: 6.875 kB / 1.33 GB, free: 19.72 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.489e-05/1.022, allocations: 8.234 kB / 1.33 GB, free: 19.72 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.299e-05/1.022, allocations: 12.05 kB / 1.33 GB, free: 19.72 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.156e-05/1.022, allocations: 4.969 kB / 1.33 GB, free: 19.72 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001263/1.022, allocations: 164.1 kB / 1.33 GB, free: 19.62 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.022, allocations: 4 kB / 1.33 GB, free: 19.62 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000279/1.023, allocations: 42.22 kB / 1.33 GB, free: 19.61 MB / 1.061 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.0001849/1.023, allocations: 140 kB / 1.33 GB, free: 19.51 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000301/1.023, allocations: 205.5 kB / 1.33 GB, free: 19.41 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/1.023, allocations: 0 / 1.33 GB, free: 19.41 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001377/1.023, allocations: 138.7 kB / 1.33 GB, free: 19.32 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002193/1.023, allocations: 14.66 kB / 1.33 GB, free: 19.32 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005887/1.024, allocations: 379.5 kB / 1.331 GB, free: 19.08 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001628/1.024, allocations: 0.7262 MB / 1.331 GB, free: 18.38 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.548e-05/1.024, allocations: 15.17 kB / 1.331 GB, free: 18.37 MB / 1.061 GB Notification: Performance of SimCode: time 2.6e-07/1.024, allocations: 0.7188 kB / 1.331 GB, free: 18.37 MB / 1.061 GB Notification: Performance of Templates: time 0.004759/1.029, allocations: 1.868 MB / 1.333 GB, free: 18.14 MB / 1.061 GB " [Timeout remaining time 299] 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/jenkins1/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: 11.750099284996395]