Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008212/0.0008212, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.000786/0.000786, allocations: 178.2 kB / 23.22 MB, free: 1.348 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 0.8617/0.8617, allocations: 177.2 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.736/1.736, allocations: 389 MB / 0.6338 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.846e-05/2.981e-05, allocations: 5.094 kB / 1.001 GB, free: 13.01 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.001902/0.001932, allocations: 1.616 MB / 1.002 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0008571/0.002789, allocations: 0.6426 MB / 1.003 GB, free: 10.74 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.229e-05/0.002851, allocations: 0 / 1.003 GB, free: 10.74 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001524/0.003003, allocations: 71.81 kB / 1.003 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0002372/0.003241, allocations: 111.5 kB / 1.003 GB, free: 10.56 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002838/0.003525, allocations: 107.5 kB / 1.003 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.00016/0.003685, allocations: 135.6 kB / 1.003 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 8.137e-05/0.003766, allocations: 11.98 kB / 1.003 GB, free: 10.31 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001905/0.003956, allocations: 87.84 kB / 1.004 GB, free: 10.22 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001437/0.0041, allocations: 107.8 kB / 1.004 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.036e-05/0.00412, allocations: 8 kB / 1.004 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001063/0.004227, allocations: 87.91 kB / 1.004 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 5.343e-05/0.00428, allocations: 35.86 kB / 1.004 GB, free: 9.988 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 5.033e-05/0.00433, allocations: 39.84 kB / 1.004 GB, free: 9.949 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.000238/0.004568, allocations: 195.5 kB / 1.004 GB, free: 9.758 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.923e-06/0.00457, allocations: 0 / 1.004 GB, free: 9.758 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.072e-06/0.004571, allocations: 0 / 1.004 GB, free: 9.758 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.004576, allocations: 3.938 kB / 1.004 GB, free: 9.754 MB / 0.9636 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.0005556/0.005131, allocations: 425.2 kB / 1.004 GB, free: 9.305 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.005168, allocations: 8.75 kB / 1.004 GB, free: 9.297 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001183/0.005286, allocations: 28.78 kB / 1.004 GB, free: 9.27 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001788/0.005465, allocations: 149.5 kB / 1.005 GB, free: 9.098 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.00548, allocations: 8.359 kB / 1.005 GB, free: 9.09 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.414e-05/0.005494, allocations: 8.375 kB / 1.005 GB, free: 9.082 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002211/0.005715, allocations: 153.6 kB / 1.005 GB, free: 8.914 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.005725, allocations: 4.172 kB / 1.005 GB, free: 8.91 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.005738, allocations: 8.375 kB / 1.005 GB, free: 8.902 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.902e-06/0.005744, allocations: 3.938 kB / 1.005 GB, free: 8.898 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001027/0.005847, allocations: 105.6 kB / 1.005 GB, free: 8.789 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003621/0.006209, allocations: 348.5 kB / 1.005 GB, free: 8.414 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001523/0.006361, allocations: 138.9 kB / 1.005 GB, free: 8.254 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.907e-05/0.00644, allocations: 107.5 kB / 1.005 GB, free: 8.137 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.923e-05/0.006459, allocations: 0 / 1.005 GB, free: 8.137 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001883/0.006648, allocations: 216.3 kB / 1.006 GB, free: 7.895 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=14): time 8.71e-07/0.006649, allocations: 0 / 1.006 GB, free: 7.895 MB / 0.9636 GB Notification: Performance of matching and sorting (n=14): time 0.0004072/0.007056, allocations: 414.7 kB / 1.006 GB, free: 7.465 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.998e-05/0.007106, allocations: 110.8 kB / 1.006 GB, free: 7.332 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001285/0.007234, allocations: 216.4 kB / 1.006 GB, free: 7.105 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 5.471e-05/0.007289, allocations: 25.7 kB / 1.006 GB, free: 7.074 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.747e-05/0.007346, allocations: 124.4 kB / 1.007 GB, free: 6.945 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.949e-05/0.007376, allocations: 31.75 kB / 1.007 GB, free: 6.914 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.275e-05/0.007419, allocations: 33.7 kB / 1.007 GB, free: 6.875 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.413e-05/0.007493, allocations: 326.8 kB / 1.007 GB, free: 6.547 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.533e-05/0.007568, allocations: 97.66 kB / 1.007 GB, free: 6.445 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.345e-05/0.007642, allocations: 119.3 kB / 1.007 GB, free: 6.316 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001397/0.007781, allocations: 205.3 kB / 1.007 GB, free: 6.098 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.007783, allocations: 0 / 1.007 GB, free: 6.098 MB / 0.9636 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002327/0.008016, allocations: 324.8 kB / 1.008 GB, free: 5.762 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.766e-05/0.008043, allocations: 37.69 kB / 1.008 GB, free: 5.719 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.008049, allocations: 4 kB / 1.008 GB, free: 5.715 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.00806, allocations: 4 kB / 1.008 GB, free: 5.711 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.699e-05/0.008127, allocations: 12 kB / 1.008 GB, free: 5.699 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.008133, allocations: 3.938 kB / 1.008 GB, free: 5.695 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.838e-05/0.008191, allocations: 15.92 kB / 1.008 GB, free: 5.68 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.008202, allocations: 4 kB / 1.008 GB, free: 5.676 MB / 0.9636 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 9.936e-05/0.008301, allocations: 179.5 kB / 1.008 GB, free: 5.484 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.923e-05/0.00832, allocations: 23.8 kB / 1.008 GB, free: 5.461 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001487/0.008469, allocations: 103.1 kB / 1.008 GB, free: 5.352 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.008471, allocations: 4.094 kB / 1.008 GB, free: 5.348 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.008475, allocations: 0 / 1.008 GB, free: 5.348 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.00848, allocations: 8.172 kB / 1.008 GB, free: 5.34 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001044/0.008584, allocations: 161.2 kB / 1.008 GB, free: 5.152 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.008589, allocations: 11.94 kB / 1.008 GB, free: 5.141 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.803e-05/0.008617, allocations: 11.98 kB / 1.008 GB, free: 5.129 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.008619, allocations: 3.938 kB / 1.008 GB, free: 5.125 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.008631, allocations: 8 kB / 1.008 GB, free: 5.117 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.008632, allocations: 0 / 1.008 GB, free: 5.117 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.008633, allocations: 0 / 1.008 GB, free: 5.117 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002737/0.008907, allocations: 377.1 kB / 1.009 GB, free: 4.715 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 5.676e-05/0.008964, allocations: 27.89 kB / 1.009 GB, free: 4.688 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.743e-05/0.008991, allocations: 7.938 kB / 1.009 GB, free: 4.68 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.614e-05/0.009057, allocations: 7.984 kB / 1.009 GB, free: 4.672 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.427e-05/0.009111, allocations: 15.92 kB / 1.009 GB, free: 4.656 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.519e-05/0.009127, allocations: 8 kB / 1.009 GB, free: 4.648 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 9.093e-05/0.009218, allocations: 164.8 kB / 1.009 GB, free: 4.488 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8.1e-08/0.009218, allocations: 0 / 1.009 GB, free: 4.488 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001662/0.009384, allocations: 47.94 kB / 1.009 GB, free: 4.441 MB / 0.9636 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.0001448/0.009529, allocations: 140.4 kB / 1.009 GB, free: 4.297 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002476/0.009776, allocations: 282.7 kB / 1.009 GB, free: 3.996 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.009778, allocations: 0 / 1.009 GB, free: 3.996 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001043/0.009882, allocations: 169 kB / 1.009 GB, free: 3.812 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001545/0.01004, allocations: 12 kB / 1.009 GB, free: 3.801 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006949/0.01073, allocations: 414.2 kB / 1.01 GB, free: 3.355 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.776e-05/0.01081, allocations: 122.2 kB / 1.01 GB, free: 3.219 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.684e-05/0.01084, allocations: 12.5 kB / 1.01 GB, free: 3.203 MB / 0.9636 GB Notification: Performance of SimCode: time 4.31e-07/0.01084, allocations: 0 / 1.01 GB, free: 3.203 MB / 0.9636 GB Notification: Performance of Templates: time 0.002593/0.01343, allocations: 1.965 MB / 1.012 GB, free: 1.25 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 6.459674729965627]