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.0008118/0.0008118, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008756/0.0008756, allocations: 165.9 kB / 22.46 MB, free: 2.105 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.8734/0.8734, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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 1.731/1.731, allocations: 377.8 MB / 0.6221 GB, free: 8.656 MB / 0.5886 GB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 0.9809 GB, free: 2.617 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.867e-05/2.012e-05, allocations: 6.219 kB / 0.9809 GB, free: 2.609 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002061/0.002081, allocations: 1.618 MB / 0.9825 GB, free: 0.9844 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0008108/0.002892, allocations: 0.6426 MB / 0.9831 GB, free: 344 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.619e-05/0.002948, allocations: 0 / 0.9831 GB, free: 344 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.000131/0.003079, allocations: 79.75 kB / 0.9832 GB, free: 264 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.0002176/0.003297, allocations: 111.5 kB / 0.9833 GB, free: 152 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002851/0.003582, allocations: 103.7 kB / 0.9834 GB, free: 48 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0001561/0.003738, allocations: 135.6 kB / 0.9835 GB, free: 15.91 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 7.819e-05/0.003816, allocations: 4 kB / 0.9835 GB, free: 15.91 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001756/0.003992, allocations: 95.78 kB / 0.9836 GB, free: 15.82 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000141/0.004133, allocations: 111.8 kB / 0.9837 GB, free: 15.71 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 1.986e-05/0.004153, allocations: 8 kB / 0.9838 GB, free: 15.7 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001115/0.004264, allocations: 87.86 kB / 0.9838 GB, free: 15.61 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 5.581e-05/0.00432, allocations: 39.84 kB / 0.9839 GB, free: 15.57 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 4.733e-05/0.004367, allocations: 27.92 kB / 0.9839 GB, free: 15.55 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002029/0.00457, allocations: 199.4 kB / 0.9841 GB, free: 15.35 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.913e-06/0.004572, allocations: 0 / 0.9841 GB, free: 15.35 MB / 0.948 GB Notification: Performance of FrontEnd: time 9.62e-07/0.004573, allocations: 0 / 0.9841 GB, free: 15.35 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.557e-06/0.004577, allocations: 0 / 0.9841 GB, free: 15.35 MB / 0.948 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.0005107/0.005087, allocations: 423 kB / 0.9845 GB, free: 14.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.005123, allocations: 8.031 kB / 0.9845 GB, free: 14.89 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.77e-05/0.00515, allocations: 42.73 kB / 0.9845 GB, free: 14.84 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001063/0.005257, allocations: 20.84 kB / 0.9846 GB, free: 14.82 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001956/0.005452, allocations: 165.2 kB / 0.9847 GB, free: 14.64 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.005464, allocations: 4.375 kB / 0.9847 GB, free: 14.63 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.416e-05/0.005478, allocations: 8.375 kB / 0.9847 GB, free: 14.62 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001757/0.005654, allocations: 157.5 kB / 0.9849 GB, free: 14.45 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.005662, allocations: 4.172 kB / 0.9849 GB, free: 14.45 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.477e-05/0.005677, allocations: 12.12 kB / 0.9849 GB, free: 14.44 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.005681, allocations: 0 / 0.9849 GB, free: 14.44 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001033/0.005785, allocations: 109.6 kB / 0.985 GB, free: 14.32 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003897/0.006174, allocations: 372 kB / 0.9854 GB, free: 13.91 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001488/0.006323, allocations: 146.8 kB / 0.9855 GB, free: 13.75 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.717e-05/0.0064, allocations: 103.5 kB / 0.9856 GB, free: 13.63 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.795e-05/0.006418, allocations: 0 / 0.9856 GB, free: 13.63 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001942/0.006613, allocations: 221.9 kB / 0.9858 GB, free: 13.39 MB / 0.948 GB Notification: Performance of pre-optimization done (n=14): time 8.11e-07/0.006613, allocations: 0 / 0.9858 GB, free: 13.39 MB / 0.948 GB Notification: Performance of matching and sorting (n=14): time 0.0003916/0.007005, allocations: 402.7 kB / 0.9862 GB, free: 12.97 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.817e-05/0.007053, allocations: 106.8 kB / 0.9863 GB, free: 12.84 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001274/0.007181, allocations: 220.1 kB / 0.9865 GB, free: 12.61 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.71e-05/0.007198, allocations: 33.7 kB / 0.9865 GB, free: 12.57 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.45e-05/0.007252, allocations: 112.4 kB / 0.9866 GB, free: 12.46 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.061e-05/0.007283, allocations: 39.67 kB / 0.9867 GB, free: 12.42 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.136e-05/0.007324, allocations: 33.7 kB / 0.9867 GB, free: 12.38 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.094e-05/0.007405, allocations: 330.8 kB / 0.987 GB, free: 12.05 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.311e-05/0.007478, allocations: 97.73 kB / 0.9871 GB, free: 11.95 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.212e-05/0.00756, allocations: 118.3 kB / 0.9872 GB, free: 11.82 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001424/0.007703, allocations: 208.9 kB / 0.9874 GB, free: 11.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.007706, allocations: 3.938 kB / 0.9874 GB, free: 11.59 MB / 0.948 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.00024/0.007946, allocations: 317.1 kB / 0.9877 GB, free: 11.27 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.831e-05/0.007974, allocations: 41.64 kB / 0.9878 GB, free: 11.22 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.00798, allocations: 4.062 kB / 0.9878 GB, free: 11.21 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.007991, allocations: 0 / 0.9878 GB, free: 11.21 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.618e-05/0.008057, allocations: 12 kB / 0.9878 GB, free: 11.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.008066, allocations: 3.984 kB / 0.9878 GB, free: 11.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.372e-05/0.00813, allocations: 19.88 kB / 0.9878 GB, free: 11.18 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.00814, allocations: 4 kB / 0.9878 GB, free: 11.18 MB / 0.948 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.000105/0.008245, allocations: 191.3 kB / 0.988 GB, free: 10.97 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.67e-05/0.008262, allocations: 19.91 kB / 0.988 GB, free: 10.95 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001433/0.008405, allocations: 103.1 kB / 0.9881 GB, free: 10.85 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.008408, allocations: 4.094 kB / 0.9881 GB, free: 10.84 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.008412, allocations: 3.984 kB / 0.9881 GB, free: 10.84 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.008416, allocations: 0 / 0.9881 GB, free: 10.84 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001236/0.00854, allocations: 192.6 kB / 0.9883 GB, free: 10.61 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.008541, allocations: 0 / 0.9883 GB, free: 10.61 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.617e-05/0.008567, allocations: 8 kB / 0.9883 GB, free: 10.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.008569, allocations: 0 / 0.9883 GB, free: 10.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.008582, allocations: 11.98 kB / 0.9883 GB, free: 10.59 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.008583, allocations: 7.938 kB / 0.9883 GB, free: 10.58 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.008584, allocations: 0 / 0.9883 GB, free: 10.58 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002657/0.008849, allocations: 377.1 kB / 0.9887 GB, free: 10.18 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.019e-05/0.0089, allocations: 27.84 kB / 0.9887 GB, free: 10.15 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.244e-05/0.008922, allocations: 7.984 kB / 0.9887 GB, free: 10.14 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.645e-05/0.008969, allocations: 8 kB / 0.9887 GB, free: 10.14 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.707e-05/0.009006, allocations: 11.98 kB / 0.9888 GB, free: 10.12 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.412e-05/0.00902, allocations: 7.984 kB / 0.9888 GB, free: 10.12 MB / 0.948 GB Notification: Performance of sorting global known variables: time 8.311e-05/0.009103, allocations: 160.4 kB / 0.9889 GB, free: 9.961 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.009103, allocations: 0 / 0.9889 GB, free: 9.961 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001815/0.009284, allocations: 55.92 kB / 0.989 GB, free: 9.906 MB / 0.948 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.0004917/0.009776, allocations: 0.9273 MB / 0.9899 GB, free: 8.934 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002361/0.01001, allocations: 290.6 kB / 0.9902 GB, free: 8.625 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.01001, allocations: 0 / 0.9902 GB, free: 8.625 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001064/0.01012, allocations: 169 kB / 0.9903 GB, free: 8.441 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001472/0.01027, allocations: 16 kB / 0.9903 GB, free: 8.426 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001609/0.01188, allocations: 2.449 MB / 0.9927 GB, free: 5.848 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.886e-05/0.01195, allocations: 119.4 kB / 0.9928 GB, free: 5.711 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 2.975e-05/0.01197, allocations: 8.719 kB / 0.9928 GB, free: 5.699 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.8e-05/0.01202, allocations: 40.48 kB / 0.9929 GB, free: 5.66 MB / 0.948 GB Notification: Performance of SimCode: time 3.81e-07/0.01202, allocations: 4 kB / 0.9929 GB, free: 5.656 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01477/0.0268, allocations: 4.317 MB / 0.9971 GB, free: 1.52 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.477/6.504, allocations: 6.203 kB / 0.9971 GB, free: 1.516 MB / 0.948 GB " [Timeout remaining time 293] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination_res.mat --tempDir=temp_Buildings_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=12614.4 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.fmu > Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1) [Timeout 420.0] 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: 10.444367446936667]