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.001789/0.001789, allocations: 88.72 kB / 19.44 MB, free: 356 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.002205/0.002205, allocations: 161.7 kB / 22.76 MB, free: 1.68 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.481/1.481, allocations: 177.1 MB / 203.1 MB, free: 5.586 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.19/3.19, allocations: 429.6 MB / 0.673 GB, free: 3.867 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.793e-06/1.793e-06, allocations: 0.875 kB / 0.8776 GB, free: 6.465 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.417e-05/3.597e-05, allocations: 5.438 kB / 0.8776 GB, free: 6.461 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.003293/0.003329, allocations: 1.615 MB / 0.8792 GB, free: 4.859 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001453/0.004782, allocations: 0.638 MB / 0.8798 GB, free: 4.219 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.923e-05/0.004861, allocations: 4 kB / 0.8798 GB, free: 4.215 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001967/0.005058, allocations: 72.89 kB / 0.8799 GB, free: 4.145 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.000323/0.005381, allocations: 105.4 kB / 0.88 GB, free: 4.043 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004612/0.005842, allocations: 101.2 kB / 0.8801 GB, free: 3.945 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002626/0.006105, allocations: 139.6 kB / 0.8802 GB, free: 3.809 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.464e-05/0.006199, allocations: 9.625 kB / 0.8802 GB, free: 3.801 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003161/0.006515, allocations: 91.78 kB / 0.8803 GB, free: 3.711 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002483/0.006764, allocations: 115.8 kB / 0.8804 GB, free: 3.598 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 4.423e-05/0.006808, allocations: 9 kB / 0.8804 GB, free: 3.59 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001837/0.006992, allocations: 79.92 kB / 0.8805 GB, free: 3.512 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 8.191e-05/0.007074, allocations: 35.84 kB / 0.8805 GB, free: 3.477 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 7.437e-05/0.007148, allocations: 29.52 kB / 0.8805 GB, free: 3.449 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003767/0.007525, allocations: 207.3 kB / 0.8807 GB, free: 3.246 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.007531, allocations: 4 kB / 0.8807 GB, free: 3.242 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.92e-07/0.007531, allocations: 0 / 0.8807 GB, free: 3.242 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.182e-06/0.007538, allocations: 3.188 kB / 0.8807 GB, free: 3.242 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.0008674/0.008405, allocations: 411 kB / 0.8811 GB, free: 2.805 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.008445, allocations: 12.03 kB / 0.8811 GB, free: 2.793 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002284/0.008673, allocations: 24.78 kB / 0.8812 GB, free: 2.77 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003298/0.009003, allocations: 161.5 kB / 0.8813 GB, free: 2.586 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/0.009021, allocations: 4.375 kB / 0.8813 GB, free: 2.582 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.16e-05/0.009043, allocations: 8.359 kB / 0.8813 GB, free: 2.574 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002944/0.009337, allocations: 166.4 kB / 0.8815 GB, free: 2.398 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.009346, allocations: 192 / 0.8815 GB, free: 2.398 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/0.00936, allocations: 384 / 0.8815 GB, free: 2.398 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/0.009371, allocations: 9.031 kB / 0.8815 GB, free: 2.391 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001822/0.009553, allocations: 101.7 kB / 0.8816 GB, free: 2.285 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006112/0.01016, allocations: 356.5 kB / 0.8819 GB, free: 1.902 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002586/0.01042, allocations: 138.9 kB / 0.8821 GB, free: 1.742 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001717/0.01059, allocations: 107.5 kB / 0.8822 GB, free: 1.625 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.307e-05/0.01062, allocations: 0 / 0.8822 GB, free: 1.625 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003434/0.01096, allocations: 212.6 kB / 0.8824 GB, free: 1.387 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=14): time 1.092e-06/0.01096, allocations: 0 / 0.8824 GB, free: 1.387 MB / 0.8386 GB Notification: Performance of matching and sorting (n=14): time 0.000743/0.0117, allocations: 414.5 kB / 0.8828 GB, free: 0.957 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001117/0.01182, allocations: 110.8 kB / 0.8829 GB, free: 0.8242 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000286/0.0121, allocations: 217.3 kB / 0.8831 GB, free: 0.6016 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.708e-05/0.01214, allocations: 37.62 kB / 0.8831 GB, free: 0.5586 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.000111/0.01225, allocations: 120.4 kB / 0.8832 GB, free: 444 kB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.22e-05/0.0123, allocations: 31.7 kB / 0.8833 GB, free: 412 kB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.598e-05/0.01238, allocations: 33.7 kB / 0.8833 GB, free: 372 kB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0004871/0.01287, allocations: 330.8 kB / 0.8836 GB, free: 32 kB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000159/0.01302, allocations: 89.67 kB / 0.8837 GB, free: 15.94 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001691/0.01319, allocations: 119.3 kB / 0.8838 GB, free: 15.81 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000294/0.01349, allocations: 216.9 kB / 0.884 GB, free: 15.58 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.01349, allocations: 0 / 0.884 GB, free: 15.58 MB / 0.8542 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005115/0.014, allocations: 324.8 kB / 0.8843 GB, free: 15.24 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 5.417e-05/0.01406, allocations: 41.69 kB / 0.8844 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.01406, allocations: 4 kB / 0.8844 GB, free: 15.19 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.125e-05/0.01408, allocations: 7.922 kB / 0.8844 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001073/0.01419, allocations: 12 kB / 0.8844 GB, free: 15.17 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.0142, allocations: 0 / 0.8844 GB, free: 15.17 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001227/0.01432, allocations: 15.94 kB / 0.8844 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.94e-05/0.01434, allocations: 4 kB / 0.8844 GB, free: 15.15 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.0002104/0.01455, allocations: 180.5 kB / 0.8846 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.129e-05/0.01461, allocations: 31.78 kB / 0.8846 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002444/0.01485, allocations: 103.4 kB / 0.8847 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.01486, allocations: 0 / 0.8847 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.01486, allocations: 4 kB / 0.8847 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.01486, allocations: 0 / 0.8847 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002152/0.01508, allocations: 165.2 kB / 0.8849 GB, free: 14.63 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.01508, allocations: 0 / 0.8849 GB, free: 14.63 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.375e-05/0.01514, allocations: 11.98 kB / 0.8849 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.74e-06/0.01515, allocations: 3.938 kB / 0.8849 GB, free: 14.61 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.903e-05/0.01517, allocations: 4 kB / 0.8849 GB, free: 14.61 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.252e-06/0.01518, allocations: 4 kB / 0.8849 GB, free: 14.61 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.01518, allocations: 80 / 0.8849 GB, free: 14.61 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000594/0.01577, allocations: 388.3 kB / 0.8853 GB, free: 14.2 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 8.298e-05/0.01585, allocations: 31.89 kB / 0.8853 GB, free: 14.16 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.874e-05/0.01589, allocations: 7.938 kB / 0.8853 GB, free: 14.16 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.016, allocations: 7.984 kB / 0.8853 GB, free: 14.15 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.325e-05/0.01606, allocations: 11.98 kB / 0.8853 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.259e-05/0.01608, allocations: 4.25 kB / 0.8853 GB, free: 14.13 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001865/0.01627, allocations: 167.3 kB / 0.8855 GB, free: 13.97 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.01627, allocations: 3.938 kB / 0.8855 GB, free: 13.96 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002998/0.01657, allocations: 43.94 kB / 0.8855 GB, free: 13.92 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.0002595/0.01683, allocations: 143.1 kB / 0.8857 GB, free: 13.77 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004573/0.01729, allocations: 286.7 kB / 0.8859 GB, free: 13.46 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.01729, allocations: 0 / 0.8859 GB, free: 13.46 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002481/0.01754, allocations: 165.2 kB / 0.8861 GB, free: 13.29 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002388/0.01778, allocations: 20.59 kB / 0.8861 GB, free: 13.27 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007614/0.01854, allocations: 395.3 kB / 0.8865 GB, free: 12.84 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001379/0.01868, allocations: 118.1 kB / 0.8866 GB, free: 12.71 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.459e-05/0.01872, allocations: 8.734 kB / 0.8866 GB, free: 12.7 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.67e-05/0.01877, allocations: 16.48 kB / 0.8866 GB, free: 12.68 MB / 0.8542 GB Notification: Performance of SimCode: time 5.21e-07/0.01877, allocations: 0 / 0.8866 GB, free: 12.68 MB / 0.8542 GB Notification: Performance of Templates: time 0.005868/0.02464, allocations: 1.744 MB / 0.8883 GB, free: 10.98 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=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: 8.199294387944974]