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.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.001293/0.001293, allocations: 105.8 kB / 18.84 MB, free: 3.023 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.001478/0.001478, allocations: 186.6 kB / 22.1 MB, free: 4.223 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.453/1.453, allocations: 225.6 MB / 250.8 MB, free: 2.906 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.045/3.045, allocations: 495.8 MB / 0.7831 GB, free: 12.25 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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_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: Performance of FrontEnd - loaded program: time 0.002085/0.002085, allocations: 67.88 kB / 1.137 GB, free: 12.14 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.338/1.34, allocations: 173.6 MB / 1.307 GB, free: 33.79 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.00245/1.342, allocations: 1.628 MB / 1.308 GB, free: 32.66 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001045/1.343, allocations: 0.6651 MB / 1.309 GB, free: 32.2 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.508e-05/1.343, allocations: 3.938 kB / 1.309 GB, free: 32.2 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001736/1.343, allocations: 79.27 kB / 1.309 GB, free: 32.19 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002856/1.344, allocations: 101.9 kB / 1.309 GB, free: 32.16 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003454/1.344, allocations: 95.84 kB / 1.309 GB, free: 32.12 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001873/1.344, allocations: 138.3 kB / 1.309 GB, free: 32.07 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.36e-05/1.344, allocations: 2.812 kB / 1.309 GB, free: 32.07 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001553/1.345, allocations: 73.62 kB / 1.309 GB, free: 32.05 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001748/1.345, allocations: 118.6 kB / 1.31 GB, free: 32.02 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.542e-05/1.345, allocations: 9.812 kB / 1.31 GB, free: 32.02 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001395/1.345, allocations: 76.06 kB / 1.31 GB, free: 32 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 6.842e-05/1.345, allocations: 30.75 kB / 1.31 GB, free: 31.98 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 6.994e-05/1.345, allocations: 54.16 kB / 1.31 GB, free: 31.95 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002569/1.345, allocations: 170.2 kB / 1.31 GB, free: 31.89 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/1.345, allocations: 0 / 1.31 GB, free: 31.89 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.194e-06/1.345, allocations: 0 / 1.31 GB, free: 31.89 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.445e-05/1.345, allocations: 3.188 kB / 1.31 GB, free: 31.89 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.0006685/1.346, allocations: 409.5 kB / 1.31 GB, free: 31.52 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/1.346, allocations: 11.25 kB / 1.31 GB, free: 31.51 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.243e-05/1.346, allocations: 16.59 kB / 1.31 GB, free: 31.5 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003071/1.346, allocations: 154.3 kB / 1.31 GB, free: 31.35 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.857e-05/1.346, allocations: 3.219 kB / 1.31 GB, free: 31.35 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.408e-05/1.346, allocations: 10.53 kB / 1.31 GB, free: 31.35 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002144/1.347, allocations: 123.2 kB / 1.311 GB, free: 31.28 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/1.347, allocations: 0 / 1.311 GB, free: 31.28 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.712e-05/1.347, allocations: 4 kB / 1.311 GB, free: 31.28 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/1.347, allocations: 11 kB / 1.311 GB, free: 31.27 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001171/1.347, allocations: 64.92 kB / 1.311 GB, free: 31.26 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003749/1.347, allocations: 383.8 kB / 1.311 GB, free: 30.9 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001603/1.347, allocations: 104.2 kB / 1.311 GB, free: 30.83 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001116/1.347, allocations: 77 kB / 1.311 GB, free: 30.8 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.893e-05/1.347, allocations: 0 / 1.311 GB, free: 30.8 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002393/1.348, allocations: 179.3 kB / 1.311 GB, free: 30.67 MB / 1.061 GB Notification: Performance of pre-optimization done (n=13): time 1.142e-06/1.348, allocations: 6.562 kB / 1.311 GB, free: 30.67 MB / 1.061 GB Notification: Performance of matching and sorting (n=13): time 0.0004881/1.348, allocations: 339.5 kB / 1.312 GB, free: 30.53 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.244e-05/1.348, allocations: 117.2 kB / 1.312 GB, free: 30.4 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001635/1.348, allocations: 216.8 kB / 1.312 GB, free: 30.27 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.532e-05/1.348, allocations: 25.7 kB / 1.312 GB, free: 30.23 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.703e-05/1.348, allocations: 112.4 kB / 1.312 GB, free: 30.13 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.181e-05/1.348, allocations: 32.92 kB / 1.312 GB, free: 30.11 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.085e-05/1.349, allocations: 33.78 kB / 1.312 GB, free: 30.08 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.846e-05/1.349, allocations: 331.9 kB / 1.313 GB, free: 29.76 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.986e-05/1.349, allocations: 59 kB / 1.313 GB, free: 29.75 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.374e-05/1.349, allocations: 81.27 kB / 1.313 GB, free: 29.71 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001665/1.349, allocations: 197.7 kB / 1.313 GB, free: 29.59 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/1.349, allocations: 0 / 1.313 GB, free: 29.59 MB / 1.061 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003029/1.349, allocations: 277.8 kB / 1.313 GB, free: 29.46 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.057e-05/1.349, allocations: 38.52 kB / 1.313 GB, free: 29.43 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/1.349, allocations: 0 / 1.313 GB, free: 29.43 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/1.349, allocations: 96 / 1.313 GB, free: 29.43 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.63e-05/1.349, allocations: 11.78 kB / 1.313 GB, free: 29.43 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/1.349, allocations: 0 / 1.313 GB, free: 29.43 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.841e-05/1.349, allocations: 21.23 kB / 1.313 GB, free: 29.42 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.518e-05/1.349, allocations: 2.75 kB / 1.313 GB, free: 29.42 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.000109/1.35, allocations: 181.8 kB / 1.313 GB, free: 29.26 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.049e-05/1.35, allocations: 24.45 kB / 1.313 GB, free: 29.25 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001911/1.35, allocations: 101.9 kB / 1.313 GB, free: 29.18 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/1.35, allocations: 0 / 1.313 GB, free: 29.18 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/1.35, allocations: 7.281 kB / 1.313 GB, free: 29.18 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/1.35, allocations: 3.938 kB / 1.313 GB, free: 29.17 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001352/1.35, allocations: 201.7 kB / 1.314 GB, free: 28.99 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/1.35, allocations: 0 / 1.314 GB, free: 28.99 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.395e-05/1.35, allocations: 16.22 kB / 1.314 GB, free: 28.98 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/1.35, allocations: 3.422 kB / 1.314 GB, free: 28.98 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.517e-05/1.35, allocations: 6.938 kB / 1.314 GB, free: 28.98 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/1.35, allocations: 2.906 kB / 1.314 GB, free: 28.98 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/1.35, allocations: 128 / 1.314 GB, free: 28.98 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003601/1.35, allocations: 338.3 kB / 1.314 GB, free: 28.8 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.792e-05/1.35, allocations: 32.91 kB / 1.314 GB, free: 28.79 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.179e-05/1.351, allocations: 2.562 kB / 1.314 GB, free: 28.79 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.515e-05/1.351, allocations: 9.031 kB / 1.314 GB, free: 28.79 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.28e-05/1.351, allocations: 15.83 kB / 1.314 GB, free: 28.78 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.106e-05/1.351, allocations: 6.531 kB / 1.314 GB, free: 28.78 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001035/1.351, allocations: 155.1 kB / 1.314 GB, free: 28.69 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.351, allocations: 4 kB / 1.314 GB, free: 28.68 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002611/1.351, allocations: 51.58 kB / 1.314 GB, free: 28.68 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.0001709/1.351, allocations: 134.5 kB / 1.314 GB, free: 28.57 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003153/1.352, allocations: 209.8 kB / 1.315 GB, free: 28.47 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/1.352, allocations: 0 / 1.315 GB, free: 28.47 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000136/1.352, allocations: 131.9 kB / 1.315 GB, free: 28.39 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002202/1.352, allocations: 17.2 kB / 1.315 GB, free: 28.39 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005505/1.352, allocations: 347.1 kB / 1.315 GB, free: 28.18 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001667/1.353, allocations: 0.7262 MB / 1.316 GB, free: 27.48 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.865e-05/1.353, allocations: 7.031 kB / 1.316 GB, free: 27.48 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.81e-05/1.353, allocations: 20.64 kB / 1.316 GB, free: 27.46 MB / 1.061 GB Notification: Performance of SimCode: time 4.1e-07/1.353, allocations: 0 / 1.316 GB, free: 27.46 MB / 1.061 GB Notification: Performance of Templates: time 0.004762/1.357, allocations: 1.732 MB / 1.318 GB, free: 27.28 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/jenkins/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: 9.879528318531811]