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.001116/0.001116, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001646/0.002762, allocations: 449.7 kB / 10.37 MB, free: 328 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.001137/0.001137, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001429/0.002566, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.8993/0.8993, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08248/0.9818, allocations: 53.66 MB / 243.3 MB, free: 15.57 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.803/1.803, allocations: 378.2 MB / 0.6076 GB, free: 7.836 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4278/2.231, allocations: 123.3 MB / 0.728 GB, free: 5.824 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.473e-06/1.473e-06, allocations: 0 / 0.7293 GB, free: 4.547 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.074e-05/1.221e-05, allocations: 2.812 kB / 0.7293 GB, free: 4.543 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002433/0.002445, allocations: 1.703 MB / 0.731 GB, free: 2.855 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0007072/0.003152, allocations: 0.6726 MB / 0.7316 GB, free: 2.188 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.968e-05/0.003202, allocations: 2.719 kB / 0.7316 GB, free: 2.188 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001094/0.003311, allocations: 79.7 kB / 0.7317 GB, free: 2.109 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001504/0.003462, allocations: 103.5 kB / 0.7318 GB, free: 2.016 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002026/0.003664, allocations: 92.34 kB / 0.7319 GB, free: 1.926 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001425/0.003807, allocations: 138 kB / 0.732 GB, free: 1.801 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 5.875e-05/0.003866, allocations: 7.984 kB / 0.732 GB, free: 1.793 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001673/0.004033, allocations: 107.8 kB / 0.7321 GB, free: 1.688 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000124/0.004157, allocations: 92.62 kB / 0.7322 GB, free: 1.598 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.004176, allocations: 8 kB / 0.7322 GB, free: 1.59 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001313/0.004307, allocations: 100.3 kB / 0.7323 GB, free: 1.492 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 4.439e-05/0.004351, allocations: 36.61 kB / 0.7324 GB, free: 1.457 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.711e-05/0.004388, allocations: 23.94 kB / 0.7324 GB, free: 1.434 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001656/0.004554, allocations: 144.2 kB / 0.7325 GB, free: 1.293 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.372e-05/0.004568, allocations: 0 / 0.7325 GB, free: 1.293 MB / 0.698 GB Notification: Performance of FrontEnd: time 6.91e-07/0.004568, allocations: 1.125 kB / 0.7325 GB, free: 1.293 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.515e-05/0.004584, allocations: 0 / 0.7325 GB, free: 1.293 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.0005116/0.005095, allocations: 421.2 kB / 0.7329 GB, free: 0.8516 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 2.485e-05/0.00512, allocations: 8.562 kB / 0.7329 GB, free: 0.8438 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001353/0.005255, allocations: 98.8 kB / 0.733 GB, free: 0.7305 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001344/0.00539, allocations: 154.1 kB / 0.7332 GB, free: 0.5547 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/0.005401, allocations: 8.375 kB / 0.7332 GB, free: 0.5469 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.738e-06/0.005411, allocations: 5.156 kB / 0.7332 GB, free: 0.543 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000122/0.005533, allocations: 129.1 kB / 0.7333 GB, free: 404 kB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.005541, allocations: 1.125 kB / 0.7333 GB, free: 404 kB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.908e-06/0.005551, allocations: 4.375 kB / 0.7333 GB, free: 400 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-06/0.005556, allocations: 3.938 kB / 0.7333 GB, free: 396 kB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.455e-05/0.005611, allocations: 65.58 kB / 0.7334 GB, free: 324 kB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002561/0.005867, allocations: 263.2 kB / 0.7336 GB, free: 40 kB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001114/0.005978, allocations: 143.9 kB / 0.7338 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.886e-05/0.006017, allocations: 60.55 kB / 0.7338 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.698e-05/0.006034, allocations: 4 kB / 0.7338 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001445/0.006178, allocations: 175.3 kB / 0.734 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=14): time 9.52e-07/0.006179, allocations: 1.688 kB / 0.734 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14): time 0.0001779/0.006357, allocations: 213.5 kB / 0.7342 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.337e-05/0.006401, allocations: 110.8 kB / 0.7343 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.077e-05/0.006491, allocations: 184.1 kB / 0.7345 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/0.006506, allocations: 26.58 kB / 0.7345 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.664e-05/0.006542, allocations: 100.4 kB / 0.7346 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.745e-05/0.00657, allocations: 40.89 kB / 0.7347 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.692e-05/0.006607, allocations: 33.69 kB / 0.7347 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.166e-05/0.006678, allocations: 326.8 kB / 0.735 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.546e-05/0.006714, allocations: 56.52 kB / 0.7351 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.046e-05/0.006754, allocations: 69.08 kB / 0.7351 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.213e-05/0.006836, allocations: 127.8 kB / 0.7352 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.006838, allocations: 0 / 0.7352 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001106/0.006949, allocations: 171.7 kB / 0.7354 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.241e-05/0.006981, allocations: 46.84 kB / 0.7354 GB, free: 13.97 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.006985, allocations: 0 / 0.7354 GB, free: 13.97 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.144e-06/0.006992, allocations: 96 / 0.7354 GB, free: 13.97 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.761e-05/0.00706, allocations: 19.98 kB / 0.7355 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.334e-06/0.007062, allocations: 1.25 kB / 0.7355 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.766e-05/0.00711, allocations: 15.92 kB / 0.7355 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.007119, allocations: 4 kB / 0.7355 GB, free: 13.93 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 8.157e-05/0.007201, allocations: 162.6 kB / 0.7356 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.719e-05/0.007218, allocations: 15.98 kB / 0.7357 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.184e-05/0.00731, allocations: 76.31 kB / 0.7357 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.007313, allocations: 5.031 kB / 0.7357 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.007314, allocations: 0 / 0.7357 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.007318, allocations: 0 / 0.7357 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.373e-05/0.007402, allocations: 106.3 kB / 0.7358 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.007403, allocations: 1.469 kB / 0.7358 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.991e-05/0.007433, allocations: 15.94 kB / 0.7359 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.734e-05/0.00747, allocations: 27.81 kB / 0.7359 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.007471, allocations: 0 / 0.7359 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.00748, allocations: 9.156 kB / 0.7359 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.007481, allocations: 0 / 0.7359 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.007482, allocations: 0 / 0.7359 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001278/0.00761, allocations: 207 kB / 0.7361 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.029e-05/0.00763, allocations: 4.75 kB / 0.7361 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.835e-05/0.007668, allocations: 16.73 kB / 0.7361 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.239e-05/0.007701, allocations: 15.86 kB / 0.7361 GB, free: 13.22 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.142e-05/0.007712, allocations: 4.75 kB / 0.7361 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.415e-05/0.007756, allocations: 66.16 kB / 0.7362 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.007756, allocations: 4.625 kB / 0.7362 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001366/0.007893, allocations: 47.94 kB / 0.7362 GB, free: 13.1 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.0001132/0.008006, allocations: 115.9 kB / 0.7364 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001607/0.008167, allocations: 204.5 kB / 0.7365 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.663e-06/0.008174, allocations: 4 kB / 0.7366 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.244e-05/0.008246, allocations: 142.4 kB / 0.7367 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.841e-05/0.008344, allocations: 32.94 kB / 0.7367 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009127/0.009257, allocations: 339.9 kB / 0.737 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.905e-05/0.009296, allocations: 80.48 kB / 0.7371 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.848e-05/0.009325, allocations: 8.906 kB / 0.7371 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.52e-05/0.0094, allocations: 78.39 kB / 0.7372 GB, free: 12.01 MB / 0.7136 GB Notification: Performance of SimCode: time 6.02e-07/0.0094, allocations: 0 / 0.7372 GB, free: 12.01 MB / 0.7136 GB Notification: Performance of Templates: time 0.003209/0.01261, allocations: 1.856 MB / 0.739 GB, free: 10.25 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.568038429133594]