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.00144/0.00144, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.001579/0.001579, allocations: 161.7 kB / 23.54 MB, free: 0.8945 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.465/1.465, allocations: 177.1 MB / 203.9 MB, free: 5.598 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 2.993/2.993, allocations: 377.8 MB / 0.6232 GB, free: 8.531 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.593e-06/1.593e-06, allocations: 0 / 0.8108 GB, free: 2.133 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.859e-05/3.019e-05, allocations: 3.859 kB / 0.8108 GB, free: 2.129 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.003161/0.003191, allocations: 1.611 MB / 0.8124 GB, free: 0.5234 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001465/0.004657, allocations: 0.6405 MB / 0.813 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.869e-05/0.004735, allocations: 4.625 kB / 0.813 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0002023/0.004938, allocations: 72.64 kB / 0.8131 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0003381/0.005276, allocations: 110.5 kB / 0.8132 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004606/0.005736, allocations: 100.3 kB / 0.8133 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002672/0.006004, allocations: 135.6 kB / 0.8134 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 9.506e-05/0.006099, allocations: 16.52 kB / 0.8134 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005889/0.006687, allocations: 93.53 kB / 0.8135 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002455/0.006933, allocations: 115.8 kB / 0.8136 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.44e-05/0.006967, allocations: 8 kB / 0.8136 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000188/0.007155, allocations: 78.28 kB / 0.8137 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 8.701e-05/0.007242, allocations: 39.83 kB / 0.8137 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 8.286e-05/0.007325, allocations: 27.92 kB / 0.8138 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003612/0.007686, allocations: 199.3 kB / 0.8139 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 7.625e-06/0.007694, allocations: 4 kB / 0.8139 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.92e-07/0.007695, allocations: 4 kB / 0.814 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.08e-06/0.0077, allocations: 0 / 0.814 GB, free: 14.9 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.0008479/0.008548, allocations: 412.4 kB / 0.8143 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.008589, allocations: 12.03 kB / 0.8144 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002283/0.008818, allocations: 26.06 kB / 0.8144 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003027/0.00912, allocations: 157.5 kB / 0.8145 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/0.009138, allocations: 4.375 kB / 0.8145 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.896e-05/0.009157, allocations: 5.906 kB / 0.8145 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003011/0.009458, allocations: 165.5 kB / 0.8147 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.009468, allocations: 192 / 0.8147 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/0.009483, allocations: 384 / 0.8147 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.204e-05/0.009495, allocations: 9.188 kB / 0.8147 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001943/0.009689, allocations: 101.7 kB / 0.8148 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006245/0.01031, allocations: 360.5 kB / 0.8151 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002748/0.01059, allocations: 136.2 kB / 0.8153 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001629/0.01075, allocations: 107.5 kB / 0.8154 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.426e-05/0.01078, allocations: 1.281 kB / 0.8154 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003403/0.01112, allocations: 212.4 kB / 0.8156 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=14): time 1.173e-06/0.01112, allocations: 0 / 0.8156 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of matching and sorting (n=14): time 0.0007461/0.01186, allocations: 407.3 kB / 0.816 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/0.01197, allocations: 115.3 kB / 0.8161 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002624/0.01223, allocations: 220.8 kB / 0.8163 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.381e-05/0.01226, allocations: 33.64 kB / 0.8163 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.01237, allocations: 112.4 kB / 0.8164 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.377e-05/0.01242, allocations: 40.5 kB / 0.8165 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.502e-05/0.0125, allocations: 33.7 kB / 0.8165 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001898/0.01269, allocations: 331.4 kB / 0.8168 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001402/0.01283, allocations: 94.95 kB / 0.8169 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001521/0.01299, allocations: 115.6 kB / 0.817 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002727/0.01326, allocations: 201.3 kB / 0.8172 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.01326, allocations: 4 kB / 0.8172 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005192/0.01378, allocations: 341.8 kB / 0.8175 GB, free: 10.9 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 4.712e-05/0.01383, allocations: 37.7 kB / 0.8176 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.01384, allocations: 0 / 0.8176 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/0.01385, allocations: 8.594 kB / 0.8176 GB, free: 10.85 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/0.01397, allocations: 15.98 kB / 0.8176 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.01397, allocations: 0.6562 kB / 0.8176 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001153/0.01409, allocations: 12.89 kB / 0.8176 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.834e-05/0.01411, allocations: 4 kB / 0.8176 GB, free: 10.82 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.000194/0.0143, allocations: 180.3 kB / 0.8178 GB, free: 10.63 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.277e-05/0.01436, allocations: 37.02 kB / 0.8178 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002468/0.01461, allocations: 103.2 kB / 0.8179 GB, free: 10.49 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.01461, allocations: 0 / 0.8179 GB, free: 10.49 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.872e-06/0.01462, allocations: 4.625 kB / 0.8179 GB, free: 10.49 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.01462, allocations: 0 / 0.8179 GB, free: 10.49 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002074/0.01483, allocations: 162.1 kB / 0.8181 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.01483, allocations: 0 / 0.8181 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.359e-05/0.0149, allocations: 13.58 kB / 0.8181 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.0149, allocations: 3.938 kB / 0.8181 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.882e-05/0.01492, allocations: 4 kB / 0.8181 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.01492, allocations: 0 / 0.8181 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.01492, allocations: 4.938 kB / 0.8181 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005796/0.0155, allocations: 378.9 kB / 0.8185 GB, free: 9.875 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.956e-05/0.01558, allocations: 31.84 kB / 0.8185 GB, free: 9.844 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.37e-05/0.01563, allocations: 15.34 kB / 0.8185 GB, free: 9.832 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.01573, allocations: 7.984 kB / 0.8185 GB, free: 9.824 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.2e-05/0.01579, allocations: 11.98 kB / 0.8185 GB, free: 9.812 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.118e-05/0.01581, allocations: 4 kB / 0.8185 GB, free: 9.809 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001758/0.01599, allocations: 164.5 kB / 0.8187 GB, free: 9.648 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.01599, allocations: 0 / 0.8187 GB, free: 9.648 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002916/0.01628, allocations: 43.94 kB / 0.8187 GB, free: 9.605 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.0002461/0.01653, allocations: 148 kB / 0.8189 GB, free: 9.453 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004393/0.01697, allocations: 288.6 kB / 0.8192 GB, free: 9.148 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.01697, allocations: 3.938 kB / 0.8192 GB, free: 9.145 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0002203/0.01719, allocations: 165.1 kB / 0.8193 GB, free: 8.965 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002513/0.01744, allocations: 21.73 kB / 0.8193 GB, free: 8.945 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007175/0.01816, allocations: 393.1 kB / 0.8197 GB, free: 8.531 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001534/0.01831, allocations: 120.3 kB / 0.8198 GB, free: 8.391 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.206e-05/0.01835, allocations: 4.734 kB / 0.8198 GB, free: 8.383 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.214e-05/0.0184, allocations: 16.48 kB / 0.8198 GB, free: 8.367 MB / 0.7761 GB Notification: Performance of SimCode: time 5.41e-07/0.0184, allocations: 3.125 kB / 0.8198 GB, free: 8.367 MB / 0.7761 GB Notification: Performance of Templates: time 0.005972/0.02437, allocations: 1.752 MB / 0.8216 GB, free: 6.676 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=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: 7.864159357966855]