Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0.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.0008342/0.0008342, allocations: 76.45 kB / 19.93 MB, free: 4.629 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.0008099/0.0008099, allocations: 177.9 kB / 23.22 MB, free: 1.34 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.9091/0.9091, allocations: 177.1 MB / 203.5 MB, free: 5.727 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.793/1.793, allocations: 377.8 MB / 0.6228 GB, free: 8.68 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: translateModel(Buildings.Utilities.Math.Functions.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Y0",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Y0",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.233e-06/1.233e-06, allocations: 0 / 0.9822 GB, free: 2.047 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.387e-05/2.51e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.043 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY0): time 0.001269/0.001294, allocations: 0.5839 MB / 0.9828 GB, free: 1.461 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0004533/0.001747, allocations: 259 kB / 0.9831 GB, free: 1.207 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.226e-05/0.00176, allocations: 4 kB / 0.9831 GB, free: 1.203 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 1.317e-05/0.001773, allocations: 3.938 kB / 0.9831 GB, free: 1.199 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 6.833e-06/0.00178, allocations: 0 / 0.9831 GB, free: 1.199 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003764/0.002156, allocations: 95.66 kB / 0.9832 GB, free: 1.105 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 3.625e-05/0.002192, allocations: 0 / 0.9832 GB, free: 1.105 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 3.538e-05/0.002228, allocations: 4 kB / 0.9832 GB, free: 1.102 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 2.136e-05/0.002249, allocations: 0 / 0.9832 GB, free: 1.102 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 1.898e-05/0.002268, allocations: 3.984 kB / 0.9832 GB, free: 1.098 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 9.237e-06/0.002277, allocations: 0 / 0.9832 GB, free: 1.098 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001856/0.002463, allocations: 115.8 kB / 0.9833 GB, free: 0.9844 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.092e-05/0.002474, allocations: 4 kB / 0.9833 GB, free: 0.9805 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.279e-05/0.002486, allocations: 0 / 0.9833 GB, free: 0.9805 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001454/0.002632, allocations: 87.8 kB / 0.9834 GB, free: 0.8945 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.002634, allocations: 0 / 0.9834 GB, free: 0.8945 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.002e-06/0.002635, allocations: 0 / 0.9834 GB, free: 0.8945 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.419e-06/0.00264, allocations: 0 / 0.9834 GB, free: 0.8945 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002249/0.002864, allocations: 258.3 kB / 0.9836 GB, free: 0.6094 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.002899, allocations: 8.031 kB / 0.9836 GB, free: 0.6016 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.705e-05/0.002926, allocations: 4.891 kB / 0.9836 GB, free: 0.5977 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.168e-05/0.002978, allocations: 105.8 kB / 0.9837 GB, free: 480 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.476e-06/0.002986, allocations: 384 / 0.9837 GB, free: 480 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.824e-06/0.002994, allocations: 8.312 kB / 0.9837 GB, free: 472 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.44e-05/0.003068, allocations: 30.27 kB / 0.9838 GB, free: 436 kB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.753e-06/0.003075, allocations: 192 / 0.9838 GB, free: 436 kB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.767e-06/0.003084, allocations: 4.375 kB / 0.9838 GB, free: 432 kB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.003089, allocations: 12.23 kB / 0.9838 GB, free: 420 kB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.6e-05/0.003105, allocations: 3.938 kB / 0.9838 GB, free: 416 kB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.522e-05/0.00319, allocations: 97.33 kB / 0.9839 GB, free: 288 kB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001807/0.003371, allocations: 22.61 kB / 0.9839 GB, free: 256 kB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.34e-05/0.003384, allocations: 8.797 kB / 0.9839 GB, free: 244 kB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004124/0.003797, allocations: 79.98 kB / 0.984 GB, free: 164 kB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.296e-05/0.00382, allocations: 38.55 kB / 0.984 GB, free: 116 kB / 0.9323 GB Notification: Performance of pre-optimization done (n=1): time 1.303e-06/0.003821, allocations: 0 / 0.984 GB, free: 116 kB / 0.9323 GB Notification: Performance of matching and sorting (n=1): time 0.0001116/0.003933, allocations: 29.7 kB / 0.9841 GB, free: 80 kB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.548e-05/0.003958, allocations: 51.41 kB / 0.9841 GB, free: 16 kB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.888e-05/0.003997, allocations: 89.98 kB / 0.9842 GB, free: 15.92 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.348e-06/0.004006, allocations: 29.7 kB / 0.9842 GB, free: 15.88 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 1.748e-05/0.004024, allocations: 84.14 kB / 0.9843 GB, free: 15.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.515e-05/0.004049, allocations: 4 kB / 0.9843 GB, free: 15.79 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.184e-05/0.004071, allocations: 9.719 kB / 0.9843 GB, free: 15.78 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.527e-05/0.004146, allocations: 314.8 kB / 0.9846 GB, free: 15.46 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.287e-05/0.004159, allocations: 11.92 kB / 0.9846 GB, free: 15.45 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.522e-06/0.004165, allocations: 0 / 0.9846 GB, free: 15.45 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.48e-05/0.00419, allocations: 8.859 kB / 0.9846 GB, free: 15.44 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.004192, allocations: 0 / 0.9846 GB, free: 15.44 MB / 0.948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.586e-05/0.004238, allocations: 37.77 kB / 0.9847 GB, free: 15.39 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.004249, allocations: 4 kB / 0.9847 GB, free: 15.39 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.004253, allocations: 0 / 0.9847 GB, free: 15.39 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.004264, allocations: 7.984 kB / 0.9847 GB, free: 15.38 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.717e-05/0.004301, allocations: 0 / 0.9847 GB, free: 15.38 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.004306, allocations: 0 / 0.9847 GB, free: 15.38 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.886e-06/0.004315, allocations: 3.938 kB / 0.9847 GB, free: 15.38 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.478e-06/0.004319, allocations: 3.984 kB / 0.9847 GB, free: 15.38 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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 5.134e-05/0.004371, allocations: 113.8 kB / 0.9848 GB, free: 15.25 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.337e-06/0.004374, allocations: 0 / 0.9848 GB, free: 15.25 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.1e-05/0.004435, allocations: 36.73 kB / 0.9848 GB, free: 15.21 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.004437, allocations: 0 / 0.9848 GB, free: 15.21 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.004442, allocations: 0 / 0.9848 GB, free: 15.21 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.695e-06/0.004449, allocations: 0 / 0.9848 GB, free: 15.21 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.39e-05/0.004503, allocations: 109.2 kB / 0.9849 GB, free: 15.08 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.004504, allocations: 0 / 0.9849 GB, free: 15.08 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.496e-06/0.004513, allocations: 3.938 kB / 0.9849 GB, free: 15.07 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.004515, allocations: 0 / 0.9849 GB, free: 15.07 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.661e-06/0.004521, allocations: 0 / 0.9849 GB, free: 15.07 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.32e-07/0.004521, allocations: 4 kB / 0.9849 GB, free: 15.07 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.004522, allocations: 0 / 0.9849 GB, free: 15.07 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.902e-05/0.004571, allocations: 69.03 kB / 0.985 GB, free: 14.98 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.338e-06/0.004575, allocations: 7.938 kB / 0.985 GB, free: 14.98 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.134e-06/0.004582, allocations: 0 / 0.985 GB, free: 14.98 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.587e-06/0.004586, allocations: 0 / 0.985 GB, free: 14.98 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.097e-05/0.004597, allocations: 0 / 0.985 GB, free: 14.98 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/0.004601, allocations: 4 kB / 0.985 GB, free: 14.97 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.007e-05/0.004621, allocations: 75.28 kB / 0.9851 GB, free: 14.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.1e-08/0.004621, allocations: 0 / 0.9851 GB, free: 14.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001575/0.004778, allocations: 27.94 kB / 0.9851 GB, free: 14.87 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001888/0.004967, allocations: 147.1 kB / 0.9853 GB, free: 14.72 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 5.654e-05/0.005024, allocations: 4 kB / 0.9853 GB, free: 14.71 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.005025, allocations: 0 / 0.9853 GB, free: 14.71 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 6.351e-06/0.005031, allocations: 12 kB / 0.9853 GB, free: 14.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.405e-05/0.005125, allocations: 0 / 0.9853 GB, free: 14.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001738/0.005299, allocations: 102.7 kB / 0.9854 GB, free: 14.57 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.522e-05/0.005334, allocations: 59.2 kB / 0.9854 GB, free: 14.49 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.386e-05/0.005348, allocations: 8.5 kB / 0.9854 GB, free: 14.48 MB / 0.948 GB Notification: Performance of SimCode: time 5.41e-07/0.005349, allocations: 0 / 0.9854 GB, free: 14.48 MB / 0.948 GB Notification: Performance of Templates: time 0.00164/0.006988, allocations: 0.7805 MB / 0.9862 GB, free: 13.7 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_BesselY0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0.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.7421098137274384]