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.001834/0.001834, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 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.001994/0.001994, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.522/1.522, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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 3.416/3.416, allocations: 429.5 MB / 0.6729 GB, free: 4.016 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/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.473e-06/1.473e-06, allocations: 0 / 0.8774 GB, free: 6.691 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.031e-05/3.178e-05, allocations: 4.562 kB / 0.8774 GB, free: 6.688 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.003365/0.003396, allocations: 1.639 MB / 0.879 GB, free: 5.062 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001651/0.005048, allocations: 0.6528 MB / 0.8797 GB, free: 4.406 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.327e-05/0.005111, allocations: 5.469 kB / 0.8797 GB, free: 4.402 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.000189/0.0053, allocations: 73.08 kB / 0.8797 GB, free: 4.332 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0002823/0.005582, allocations: 110.2 kB / 0.8798 GB, free: 4.227 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003647/0.005947, allocations: 99.69 kB / 0.8799 GB, free: 4.129 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002181/0.006165, allocations: 139.6 kB / 0.8801 GB, free: 3.992 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 7.152e-05/0.006237, allocations: 4 kB / 0.8801 GB, free: 3.988 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000241/0.006478, allocations: 95.3 kB / 0.8802 GB, free: 3.898 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001991/0.006677, allocations: 107.8 kB / 0.8803 GB, free: 3.793 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.091e-05/0.006708, allocations: 11.94 kB / 0.8803 GB, free: 3.781 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001847/0.006892, allocations: 87.91 kB / 0.8804 GB, free: 3.695 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 6.5e-05/0.006957, allocations: 27.92 kB / 0.8804 GB, free: 3.668 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 7.604e-05/0.007033, allocations: 39.84 kB / 0.8804 GB, free: 3.629 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003247/0.007358, allocations: 195.4 kB / 0.8806 GB, free: 3.438 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.007361, allocations: 0 / 0.8806 GB, free: 3.438 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.11e-07/0.007362, allocations: 0.9375 kB / 0.8806 GB, free: 3.438 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.007366, allocations: 0 / 0.8806 GB, free: 3.438 MB / 0.8386 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.0008503/0.008217, allocations: 0.5137 MB / 0.8811 GB, free: 2.883 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.094e-05/0.008248, allocations: 12.03 kB / 0.8811 GB, free: 2.871 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002018/0.008449, allocations: 33.88 kB / 0.8812 GB, free: 2.84 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002517/0.008701, allocations: 156.3 kB / 0.8813 GB, free: 2.66 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.635e-05/0.008717, allocations: 5.5 kB / 0.8813 GB, free: 2.656 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.974e-05/0.008737, allocations: 8.375 kB / 0.8813 GB, free: 2.648 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002479/0.008985, allocations: 135.3 kB / 0.8815 GB, free: 2.496 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.008997, allocations: 5.062 kB / 0.8815 GB, free: 2.492 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.009009, allocations: 384 / 0.8815 GB, free: 2.492 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-06/0.009018, allocations: 7.938 kB / 0.8815 GB, free: 2.484 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001441/0.009162, allocations: 70.27 kB / 0.8815 GB, free: 2.41 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006753/0.009837, allocations: 479.4 kB / 0.882 GB, free: 1.902 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002409/0.01008, allocations: 131.8 kB / 0.8821 GB, free: 1.742 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001303/0.01021, allocations: 81.95 kB / 0.8822 GB, free: 1.648 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.433e-05/0.01023, allocations: 4.812 kB / 0.8822 GB, free: 1.645 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000297/0.01053, allocations: 195.7 kB / 0.8824 GB, free: 1.418 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=14): time 1.473e-06/0.01053, allocations: 1.094 kB / 0.8824 GB, free: 1.418 MB / 0.8386 GB Notification: Performance of matching and sorting (n=14): time 0.0005886/0.01112, allocations: 290.6 kB / 0.8827 GB, free: 1.109 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.218e-05/0.01121, allocations: 110.8 kB / 0.8828 GB, free: 0.9766 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002842/0.0115, allocations: 280.5 kB / 0.883 GB, free: 0.6875 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.235e-05/0.01153, allocations: 33.7 kB / 0.8831 GB, free: 0.6484 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.000145/0.01167, allocations: 168.2 kB / 0.8832 GB, free: 488 kB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.494e-05/0.01173, allocations: 43.83 kB / 0.8833 GB, free: 444 kB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.324e-05/0.0118, allocations: 39.38 kB / 0.8833 GB, free: 396 kB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0003112/0.01211, allocations: 0.5167 MB / 0.8838 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001062/0.01222, allocations: 57.69 kB / 0.8839 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001332/0.01235, allocations: 97.3 kB / 0.884 GB, free: 15.69 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002228/0.01258, allocations: 155.4 kB / 0.8841 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.01258, allocations: 4 kB / 0.8841 GB, free: 15.51 MB / 0.8542 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004051/0.01298, allocations: 237.3 kB / 0.8843 GB, free: 15.26 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.672e-05/0.01303, allocations: 43.47 kB / 0.8844 GB, free: 15.22 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.01304, allocations: 0 / 0.8844 GB, free: 15.22 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.01305, allocations: 0 / 0.8844 GB, free: 15.22 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/0.01316, allocations: 19.98 kB / 0.8844 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.01317, allocations: 7.938 kB / 0.8844 GB, free: 15.19 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.172e-05/0.01326, allocations: 7.953 kB / 0.8844 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.289e-05/0.01329, allocations: 7.984 kB / 0.8844 GB, free: 15.18 MB / 0.8542 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.0001845/0.01347, allocations: 207.3 kB / 0.8846 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.768e-05/0.01352, allocations: 24.47 kB / 0.8846 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002445/0.01376, allocations: 107.7 kB / 0.8847 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.01377, allocations: 5.531 kB / 0.8848 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-06/0.01377, allocations: 3.938 kB / 0.8848 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.01378, allocations: 3.984 kB / 0.8848 GB, free: 14.81 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002346/0.01401, allocations: 188.5 kB / 0.8849 GB, free: 14.59 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.01401, allocations: 4 kB / 0.8849 GB, free: 14.59 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.683e-05/0.01407, allocations: 8 kB / 0.885 GB, free: 14.58 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.01407, allocations: 3.938 kB / 0.885 GB, free: 14.58 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.325e-05/0.0141, allocations: 11.98 kB / 0.885 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.0141, allocations: 0 / 0.885 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.0141, allocations: 0 / 0.885 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004968/0.0146, allocations: 311.2 kB / 0.8853 GB, free: 14.22 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 7.478e-05/0.01467, allocations: 27.89 kB / 0.8853 GB, free: 14.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.804e-05/0.01471, allocations: 7.938 kB / 0.8853 GB, free: 14.19 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.927e-05/0.0148, allocations: 11.98 kB / 0.8853 GB, free: 14.18 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.721e-05/0.01486, allocations: 11.98 kB / 0.8853 GB, free: 14.16 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.033e-05/0.01488, allocations: 8 kB / 0.8853 GB, free: 14.16 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001671/0.01504, allocations: 180.4 kB / 0.8855 GB, free: 13.98 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.01504, allocations: 0 / 0.8855 GB, free: 13.98 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002583/0.0153, allocations: 47.94 kB / 0.8855 GB, free: 13.93 MB / 0.8542 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.0002397/0.01554, allocations: 135.3 kB / 0.8857 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004044/0.01595, allocations: 246.8 kB / 0.8859 GB, free: 13.52 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.01595, allocations: 0 / 0.8859 GB, free: 13.52 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002065/0.01615, allocations: 160.8 kB / 0.8861 GB, free: 13.34 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002169/0.01637, allocations: 24.16 kB / 0.8861 GB, free: 13.32 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008922/0.01726, allocations: 339.9 kB / 0.8864 GB, free: 12.95 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001505/0.01741, allocations: 115.3 kB / 0.8865 GB, free: 12.82 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.367e-05/0.01746, allocations: 8.906 kB / 0.8865 GB, free: 12.8 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.769e-05/0.0175, allocations: 16.5 kB / 0.8865 GB, free: 12.79 MB / 0.8542 GB Notification: Performance of SimCode: time 4.41e-07/0.0175, allocations: 0 / 0.8865 GB, free: 12.79 MB / 0.8542 GB Notification: Performance of Templates: time 0.005707/0.0232, allocations: 1.74 MB / 0.8882 GB, free: 11.08 MB / 0.8542 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1) [Timeout 240] 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: 8.396710545988753]