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.0007549/0.0007549, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001113/0.001868, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0007404/0.0007404, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009784/0.001719, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.8779/0.8779, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08208/0.96, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.809/1.809, allocations: 378.4 MB / 0.6079 GB, free: 7.68 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4625/2.272, allocations: 123.3 MB / 0.7283 GB, free: 5.707 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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: Performance of FrontEnd - loaded program: time 1.062e-06/1.062e-06, allocations: 0 / 0.7296 GB, free: 4.41 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.104e-05/2.21e-05, allocations: 7.016 kB / 0.7296 GB, free: 4.402 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.00202/0.002042, allocations: 1.717 MB / 0.7313 GB, free: 2.711 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0007312/0.002773, allocations: 0.6677 MB / 0.732 GB, free: 2.047 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.074e-05/0.002824, allocations: 4 kB / 0.732 GB, free: 2.043 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.000109/0.002933, allocations: 80.19 kB / 0.732 GB, free: 1.965 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001471/0.00308, allocations: 111.6 kB / 0.7322 GB, free: 1.863 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001999/0.00328, allocations: 81.39 kB / 0.7322 GB, free: 1.785 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001505/0.003431, allocations: 148 kB / 0.7324 GB, free: 1.652 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 6.076e-05/0.003491, allocations: 4 kB / 0.7324 GB, free: 1.648 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000187/0.003678, allocations: 109.1 kB / 0.7325 GB, free: 1.543 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001184/0.003797, allocations: 87.89 kB / 0.7326 GB, free: 1.457 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.895e-05/0.003816, allocations: 12.47 kB / 0.7326 GB, free: 1.445 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001292/0.003945, allocations: 107.8 kB / 0.7327 GB, free: 1.34 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 4.599e-05/0.003991, allocations: 24.59 kB / 0.7327 GB, free: 1.316 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.564e-05/0.004027, allocations: 28.59 kB / 0.7327 GB, free: 1.289 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001656/0.004192, allocations: 143.5 kB / 0.7329 GB, free: 1.148 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.021e-05/0.004202, allocations: 1 kB / 0.7329 GB, free: 1.148 MB / 0.698 GB Notification: Performance of FrontEnd: time 5.11e-07/0.004203, allocations: 4 kB / 0.7329 GB, free: 1.145 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.369e-05/0.004217, allocations: 0 / 0.7329 GB, free: 1.145 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005052/0.004722, allocations: 414.4 kB / 0.7333 GB, free: 0.7109 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.016e-05/0.004752, allocations: 8.031 kB / 0.7333 GB, free: 0.7031 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001416/0.004894, allocations: 99.75 kB / 0.7334 GB, free: 0.5898 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001397/0.005033, allocations: 157.4 kB / 0.7335 GB, free: 420 kB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.869e-06/0.005043, allocations: 384 / 0.7335 GB, free: 420 kB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.363e-05/0.005057, allocations: 8.375 kB / 0.7335 GB, free: 412 kB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000126/0.005183, allocations: 133.9 kB / 0.7337 GB, free: 256 kB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.752e-06/0.005189, allocations: 192 / 0.7337 GB, free: 256 kB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.005198, allocations: 0.875 kB / 0.7337 GB, free: 256 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.005204, allocations: 7.938 kB / 0.7337 GB, free: 248 kB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.216e-05/0.005257, allocations: 58.14 kB / 0.7337 GB, free: 184 kB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002565/0.005513, allocations: 267.2 kB / 0.734 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001409/0.005654, allocations: 143 kB / 0.7341 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.754e-05/0.005691, allocations: 60.28 kB / 0.7342 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.288e-05/0.005704, allocations: 1.156 kB / 0.7342 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001399/0.005844, allocations: 175.3 kB / 0.7343 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=14): time 7.71e-07/0.005845, allocations: 0 / 0.7343 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14): time 0.0001823/0.006027, allocations: 215.2 kB / 0.7345 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.143e-05/0.006089, allocations: 195.9 kB / 0.7347 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.803e-05/0.006177, allocations: 181.3 kB / 0.7349 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.374e-05/0.006191, allocations: 29.7 kB / 0.7349 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.655e-05/0.006227, allocations: 100.3 kB / 0.735 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.986e-05/0.006257, allocations: 44.89 kB / 0.7351 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.685e-05/0.006294, allocations: 33.69 kB / 0.7351 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.897e-05/0.006363, allocations: 330.8 kB / 0.7354 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.337e-05/0.006396, allocations: 49.17 kB / 0.7355 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.029e-05/0.006436, allocations: 64.53 kB / 0.7355 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.726e-05/0.006514, allocations: 131.8 kB / 0.7356 GB, free: 13.97 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.006516, allocations: 4 kB / 0.7357 GB, free: 13.97 MB / 0.7136 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001103/0.006627, allocations: 168.2 kB / 0.7358 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.207e-05/0.006659, allocations: 45.62 kB / 0.7359 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.186e-06/0.006662, allocations: 1.031 kB / 0.7359 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.006672, allocations: 0 / 0.7359 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.609e-05/0.006738, allocations: 20.52 kB / 0.7359 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.027e-06/0.006742, allocations: 4 kB / 0.7359 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.444e-05/0.006787, allocations: 9.469 kB / 0.7359 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.838e-06/0.006797, allocations: 8 kB / 0.7359 GB, free: 13.7 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 12 (decAng.k,$PRE.decAng.k,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 (12): * Single equations (assignments): 11 * 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 7.372e-05/0.00687, allocations: 155.6 kB / 0.736 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.953e-05/0.00689, allocations: 19.97 kB / 0.7361 GB, free: 13.51 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.33e-05/0.006983, allocations: 76.09 kB / 0.7361 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.006985, allocations: 4 kB / 0.7361 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.502e-06/0.006986, allocations: 1.031 kB / 0.7361 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.006989, allocations: 0 / 0.7361 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.2e-05/0.007071, allocations: 105.8 kB / 0.7362 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.007072, allocations: 4.438 kB / 0.7362 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.711e-05/0.007099, allocations: 12 kB / 0.7363 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.472e-05/0.007134, allocations: 24.58 kB / 0.7363 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.007137, allocations: 7.938 kB / 0.7363 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.007147, allocations: 12.66 kB / 0.7363 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.007149, allocations: 4 kB / 0.7363 GB, free: 13.24 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.00715, allocations: 0.9688 kB / 0.7363 GB, free: 13.24 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001307/0.007281, allocations: 212.8 kB / 0.7365 GB, free: 13 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.954e-05/0.0073, allocations: 8 kB / 0.7365 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.709e-05/0.007337, allocations: 8 kB / 0.7365 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.146e-05/0.007369, allocations: 11.92 kB / 0.7365 GB, free: 12.97 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.039e-05/0.007379, allocations: 5.234 kB / 0.7365 GB, free: 12.97 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.707e-05/0.007416, allocations: 60.61 kB / 0.7366 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.007416, allocations: 0 / 0.7366 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001268/0.007543, allocations: 47.94 kB / 0.7366 GB, free: 12.86 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,decAng.tNext,decAng.k,$whenCondition1,solDecNOAA.a,solDecNOAA.b,solDecNOAA.last,solDecNOAA.nextEvent,solDecNOAA.nextEventScaled) * Number of discrete states: 8 (solDecNOAA.nextEvent,solDecNOAA.last,solDecNOAA.nextEventScaled,solDecNOAA.b,solDecNOAA.a,$whenCondition1,decAng.k,decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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.000121/0.007664, allocations: 120.4 kB / 0.7368 GB, free: 12.74 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001485/0.007813, allocations: 208.8 kB / 0.737 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/0.007819, allocations: 4 kB / 0.737 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.506e-05/0.007894, allocations: 133.9 kB / 0.7371 GB, free: 12.35 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001138/0.008008, allocations: 72.41 kB / 0.7372 GB, free: 12.28 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009555/0.008963, allocations: 343.8 kB / 0.7375 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.074e-05/0.009004, allocations: 80.27 kB / 0.7376 GB, free: 11.81 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.036e-05/0.009034, allocations: 8.047 kB / 0.7376 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001015/0.009136, allocations: 79.36 kB / 0.7376 GB, free: 11.72 MB / 0.7136 GB Notification: Performance of SimCode: time 4.91e-07/0.009136, allocations: 0 / 0.7376 GB, free: 11.72 MB / 0.7136 GB Notification: Performance of Templates: time 0.003222/0.01236, allocations: 1.865 MB / 0.7395 GB, free: 9.949 MB / 0.7136 GB " [Timeout remaining time 300] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.6281010918319225]