Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.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.001775/0.001775, allocations: 110.5 kB / 19.69 MB, free: 2.254 MB / 14.72 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.002314/0.002314, allocations: 216.7 kB / 23.01 MB, free: 4.566 MB / 14.72 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.445/1.445, allocations: 230.6 MB / 256.8 MB, free: 8.027 MB / 206.1 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.257/3.257, allocations: 0.505 GB / 0.8108 GB, free: 22.06 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.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.Utilities.Math.Examples.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Y1.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1") translateModel(Buildings.Utilities.Math.Examples.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Y1.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002027/0.002027, allocations: 68.56 kB / 1.178 GB, free: 17.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.325/0.3271, allocations: 180.2 MB / 1.354 GB, free: 8.066 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY1): time 0.002648/0.3297, allocations: 1.466 MB / 1.356 GB, free: 6.594 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0007459/0.3304, allocations: 362.8 kB / 1.356 GB, free: 6.238 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.414e-05/0.3305, allocations: 0 / 1.356 GB, free: 6.238 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.754e-05/0.3305, allocations: 0 / 1.356 GB, free: 6.238 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 3.454e-05/0.3305, allocations: 3.938 kB / 1.356 GB, free: 6.234 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004323/0.331, allocations: 108.7 kB / 1.356 GB, free: 6.129 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 6.363e-05/0.331, allocations: 23.92 kB / 1.356 GB, free: 6.105 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 7.934e-05/0.3311, allocations: 4 kB / 1.356 GB, free: 6.102 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 4.424e-05/0.3312, allocations: 23.91 kB / 1.356 GB, free: 6.078 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 3.414e-05/0.3312, allocations: 4 kB / 1.356 GB, free: 6.074 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 8.877e-06/0.3312, allocations: 4 kB / 1.356 GB, free: 6.07 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002448/0.3314, allocations: 135.7 kB / 1.356 GB, free: 5.938 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.234e-05/0.3315, allocations: 7.922 kB / 1.356 GB, free: 5.93 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.213e-05/0.3315, allocations: 4 kB / 1.356 GB, free: 5.926 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001812/0.3317, allocations: 91.69 kB / 1.356 GB, free: 5.836 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.3317, allocations: 0 / 1.356 GB, free: 5.836 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.223e-06/0.3317, allocations: 0 / 1.356 GB, free: 5.836 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.3317, allocations: 0 / 1.356 GB, free: 5.836 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004615/0.3321, allocations: 286.1 kB / 1.357 GB, free: 5.523 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.146e-05/0.3322, allocations: 8.031 kB / 1.357 GB, free: 5.516 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.589e-05/0.3322, allocations: 0.9375 kB / 1.357 GB, free: 5.516 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001031/0.3323, allocations: 114.4 kB / 1.357 GB, free: 5.379 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.3323, allocations: 4.375 kB / 1.357 GB, free: 5.375 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.134e-05/0.3323, allocations: 384 / 1.357 GB, free: 5.375 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000179/0.3325, allocations: 54.17 kB / 1.357 GB, free: 5.316 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.3325, allocations: 4.172 kB / 1.357 GB, free: 5.312 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.3325, allocations: 7.938 kB / 1.357 GB, free: 5.305 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.19e-05/0.3325, allocations: 4 kB / 1.357 GB, free: 5.301 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001602/0.3327, allocations: 39.83 kB / 1.357 GB, free: 5.262 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003224/0.333, allocations: 212.1 kB / 1.357 GB, free: 5.012 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001323/0.3331, allocations: 42.5 kB / 1.357 GB, free: 4.961 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.669e-05/0.3332, allocations: 24.89 kB / 1.357 GB, free: 4.934 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005982/0.3338, allocations: 91.89 kB / 1.357 GB, free: 4.844 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.002e-05/0.3339, allocations: 30.56 kB / 1.357 GB, free: 4.805 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 1.163e-06/0.3339, allocations: 0 / 1.357 GB, free: 4.805 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0003463/0.3342, allocations: 85.58 kB / 1.357 GB, free: 4.715 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.673e-05/0.3342, allocations: 51.41 kB / 1.357 GB, free: 4.652 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.004e-05/0.3343, allocations: 97.98 kB / 1.357 GB, free: 4.547 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.673e-05/0.3343, allocations: 29.7 kB / 1.357 GB, free: 4.512 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.912e-05/0.3344, allocations: 88.12 kB / 1.357 GB, free: 4.422 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.68e-05/0.3344, allocations: 7.953 kB / 1.357 GB, free: 4.414 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.01e-05/0.3344, allocations: 9.719 kB / 1.357 GB, free: 4.398 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.3346, allocations: 314.8 kB / 1.358 GB, free: 4.082 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.348e-05/0.3347, allocations: 15.98 kB / 1.358 GB, free: 4.066 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.477e-05/0.3347, allocations: 19.97 kB / 1.358 GB, free: 4.047 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001463/0.3349, allocations: 40.77 kB / 1.358 GB, free: 4.004 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.3349, allocations: 0 / 1.358 GB, free: 4.004 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001949/0.3351, allocations: 77.55 kB / 1.358 GB, free: 3.922 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.3351, allocations: 4 kB / 1.358 GB, free: 3.918 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.3351, allocations: 0 / 1.358 GB, free: 3.918 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.3351, allocations: 4.094 kB / 1.358 GB, free: 3.914 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.11e-05/0.3352, allocations: 11.98 kB / 1.358 GB, free: 3.902 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.3352, allocations: 0 / 1.358 GB, free: 3.902 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.471e-05/0.3352, allocations: 4 kB / 1.358 GB, free: 3.898 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.642e-06/0.3353, allocations: 4 kB / 1.358 GB, free: 3.895 MB / 1.045 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 (2): * Single equations (assignments): 2 * 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 7.696e-05/0.3353, allocations: 113.7 kB / 1.358 GB, free: 3.773 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.518e-05/0.3354, allocations: 7.984 kB / 1.358 GB, free: 3.766 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002164/0.3356, allocations: 76.91 kB / 1.358 GB, free: 3.688 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.3356, allocations: 0 / 1.358 GB, free: 3.688 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.307e-06/0.3356, allocations: 0 / 1.358 GB, free: 3.688 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.136e-05/0.3356, allocations: 4 kB / 1.358 GB, free: 3.684 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000156/0.3357, allocations: 128.7 kB / 1.358 GB, free: 3.516 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.3357, allocations: 0 / 1.358 GB, free: 3.516 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.588e-05/0.3358, allocations: 7.984 kB / 1.358 GB, free: 3.508 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.3358, allocations: 3.938 kB / 1.358 GB, free: 3.504 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.3358, allocations: 4 kB / 1.358 GB, free: 3.5 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.3358, allocations: 7.969 kB / 1.358 GB, free: 3.492 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.3358, allocations: 0 / 1.358 GB, free: 3.492 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002497/0.3361, allocations: 167.4 kB / 1.358 GB, free: 3.312 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 8.176e-06/0.3361, allocations: 3.953 kB / 1.358 GB, free: 3.309 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.021e-05/0.3361, allocations: 0 / 1.358 GB, free: 3.309 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.762e-05/0.3362, allocations: 12.02 kB / 1.358 GB, free: 3.297 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.333e-05/0.3362, allocations: 0 / 1.358 GB, free: 3.297 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.836e-06/0.3362, allocations: 4 kB / 1.358 GB, free: 3.293 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.383e-05/0.3362, allocations: 83.45 kB / 1.359 GB, free: 3.211 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.3362, allocations: 4 kB / 1.359 GB, free: 3.207 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002611/0.3365, allocations: 27.94 kB / 1.359 GB, free: 3.18 MB / 1.045 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 (2): * Single equations (assignments): 2 * 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.0002338/0.3367, allocations: 131.1 kB / 1.359 GB, free: 3.039 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002066/0.337, allocations: 35.95 kB / 1.359 GB, free: 3.004 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.337, allocations: 0 / 1.359 GB, free: 3.004 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 9.49e-05/0.337, allocations: 27.98 kB / 1.359 GB, free: 2.977 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002212/0.3373, allocations: 6.109 kB / 1.359 GB, free: 2.973 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002926/0.3376, allocations: 131.2 kB / 1.359 GB, free: 2.812 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003221/0.3379, allocations: 0.6768 MB / 1.36 GB, free: 2.109 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.302e-05/0.3379, allocations: 11.44 kB / 1.36 GB, free: 2.098 MB / 1.045 GB Notification: Performance of SimCode: time 3.2e-07/0.3379, allocations: 0 / 1.36 GB, free: 2.098 MB / 1.045 GB Notification: Performance of Templates: time 0.002798/0.3407, allocations: 1.002 MB / 1.361 GB, free: 1.098 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BesselY1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.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: 11.364737219992094]