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.00243/0.00243, allocations: 83.69 kB / 20.23 MB, free: 4.18 MB / 18.57 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.002853/0.002853, allocations: 161.3 kB / 23.55 MB, free: 0.8711 MB / 18.57 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.585/1.585, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.089/3.089, allocations: 377.8 MB / 0.6232 GB, free: 8.523 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.543e-06/1.543e-06, allocations: 0 / 0.8108 GB, free: 2.113 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.392e-05/3.547e-05, allocations: 6.25 kB / 0.8108 GB, free: 2.105 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.003273/0.003309, allocations: 1.639 MB / 0.8124 GB, free: 492 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001373/0.004682, allocations: 0.6583 MB / 0.813 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.679e-05/0.004738, allocations: 0 / 0.813 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001881/0.004926, allocations: 81.41 kB / 0.8131 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0002701/0.005197, allocations: 96.97 kB / 0.8132 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003889/0.005586, allocations: 109.5 kB / 0.8133 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002176/0.005803, allocations: 139.6 kB / 0.8134 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 7.652e-05/0.00588, allocations: 7.984 kB / 0.8134 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002423/0.006122, allocations: 95.78 kB / 0.8135 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002175/0.006339, allocations: 102.1 kB / 0.8136 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.26e-05/0.006372, allocations: 8 kB / 0.8136 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001713/0.006543, allocations: 87.91 kB / 0.8137 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 6.898e-05/0.006612, allocations: 31.86 kB / 0.8138 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 7.466e-05/0.006687, allocations: 39.84 kB / 0.8138 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003282/0.007015, allocations: 195.4 kB / 0.814 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.007018, allocations: 0.7188 kB / 0.814 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.71e-07/0.007019, allocations: 0.5312 kB / 0.814 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.007023, allocations: 0 / 0.814 GB, free: 14.85 MB / 0.7761 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.0008537/0.007877, allocations: 0.5182 MB / 0.8145 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.306e-05/0.00791, allocations: 8.031 kB / 0.8145 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002043/0.008114, allocations: 28.78 kB / 0.8145 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002751/0.008389, allocations: 162.5 kB / 0.8147 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/0.008406, allocations: 9.625 kB / 0.8147 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.729e-05/0.008423, allocations: 4.375 kB / 0.8147 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002436/0.008667, allocations: 135.3 kB / 0.8148 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.008677, allocations: 192 / 0.8148 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/0.008692, allocations: 5.531 kB / 0.8148 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.008698, allocations: 3.938 kB / 0.8148 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001456/0.008844, allocations: 77.61 kB / 0.8149 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006861/0.00953, allocations: 475.9 kB / 0.8154 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002392/0.009769, allocations: 131.8 kB / 0.8155 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001349/0.009904, allocations: 82.3 kB / 0.8156 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.618e-05/0.00993, allocations: 4 kB / 0.8156 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003145/0.01024, allocations: 192.3 kB / 0.8157 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=14): time 1.092e-06/0.01025, allocations: 0 / 0.8157 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of matching and sorting (n=14): time 0.0005563/0.0108, allocations: 287.7 kB / 0.816 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.269e-05/0.01089, allocations: 114.8 kB / 0.8161 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000311/0.01121, allocations: 282.8 kB / 0.8164 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.742e-05/0.01123, allocations: 25.7 kB / 0.8164 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001384/0.01137, allocations: 176.8 kB / 0.8166 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.271e-05/0.01142, allocations: 39.69 kB / 0.8166 GB, free: 11.85 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.49e-05/0.01151, allocations: 43.31 kB / 0.8167 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002916/0.0118, allocations: 0.5118 MB / 0.8172 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001108/0.01191, allocations: 69.59 kB / 0.8172 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001253/0.01204, allocations: 92.58 kB / 0.8173 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002412/0.01228, allocations: 158.9 kB / 0.8175 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.01228, allocations: 2.188 kB / 0.8175 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003846/0.01266, allocations: 232.8 kB / 0.8177 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 4.646e-05/0.01271, allocations: 41.69 kB / 0.8177 GB, free: 10.63 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.01272, allocations: 0 / 0.8177 GB, free: 10.63 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.01273, allocations: 0 / 0.8177 GB, free: 10.63 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001214/0.01285, allocations: 19.98 kB / 0.8178 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.01286, allocations: 2.156 kB / 0.8178 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.27e-05/0.01295, allocations: 8.25 kB / 0.8178 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.376e-05/0.01297, allocations: 11.98 kB / 0.8178 GB, free: 10.59 MB / 0.7761 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 0.000206/0.01318, allocations: 214.1 kB / 0.818 GB, free: 10.37 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.36e-05/0.01323, allocations: 32.3 kB / 0.818 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002273/0.01346, allocations: 95.75 kB / 0.8181 GB, free: 10.24 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.594e-06/0.01346, allocations: 1.344 kB / 0.8181 GB, free: 10.24 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.01346, allocations: 0 / 0.8181 GB, free: 10.24 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.01347, allocations: 3.984 kB / 0.8181 GB, free: 10.24 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002345/0.01371, allocations: 193.2 kB / 0.8183 GB, free: 10.02 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.01371, allocations: 0 / 0.8183 GB, free: 10.02 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.836e-05/0.01377, allocations: 8.5 kB / 0.8183 GB, free: 10.01 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.616e-06/0.01377, allocations: 12.53 kB / 0.8183 GB, free: 9.996 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.778e-05/0.01379, allocations: 3.984 kB / 0.8183 GB, free: 9.992 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.0138, allocations: 4.594 kB / 0.8183 GB, free: 9.988 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.0138, allocations: 0 / 0.8183 GB, free: 9.988 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004931/0.01429, allocations: 306.8 kB / 0.8186 GB, free: 9.652 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 8.153e-05/0.01437, allocations: 35.78 kB / 0.8187 GB, free: 9.617 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.804e-05/0.01441, allocations: 11.94 kB / 0.8187 GB, free: 9.605 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.737e-05/0.0145, allocations: 7.984 kB / 0.8187 GB, free: 9.598 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.908e-05/0.01456, allocations: 11.92 kB / 0.8187 GB, free: 9.586 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.481e-05/0.01458, allocations: 8 kB / 0.8187 GB, free: 9.578 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0004141/0.015, allocations: 184.4 kB / 0.8189 GB, free: 9.398 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9e-08/0.015, allocations: 0 / 0.8189 GB, free: 9.398 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002701/0.01527, allocations: 47.94 kB / 0.8189 GB, free: 9.352 MB / 0.7761 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.0002234/0.01549, allocations: 135 kB / 0.819 GB, free: 9.211 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004108/0.0159, allocations: 246.4 kB / 0.8193 GB, free: 8.941 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.0159, allocations: 0 / 0.8193 GB, free: 8.941 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0002075/0.01611, allocations: 165.7 kB / 0.8194 GB, free: 8.758 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002181/0.01633, allocations: 16 kB / 0.8194 GB, free: 8.742 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006523/0.01698, allocations: 342.1 kB / 0.8198 GB, free: 8.375 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001278/0.01711, allocations: 111.2 kB / 0.8199 GB, free: 8.242 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.071e-05/0.01716, allocations: 12.89 kB / 0.8199 GB, free: 8.227 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.028e-05/0.0172, allocations: 17.38 kB / 0.8199 GB, free: 8.211 MB / 0.7761 GB Notification: Performance of SimCode: time 4.3e-07/0.0172, allocations: 0 / 0.8199 GB, free: 8.211 MB / 0.7761 GB Notification: Performance of Templates: time 0.00578/0.02298, allocations: 1.739 MB / 0.8216 GB, free: 6.523 MB / 0.7761 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 -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","/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: 8.364022627007216]