Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001224/0.001224, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.001462/0.001462, allocations: 177.9 kB / 23.21 MB, free: 1.352 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.9008/0.9008, allocations: 177.1 MB / 203.5 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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 1.773/1.773, allocations: 389 MB / 0.6338 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.Functions.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Y0",fileNamePrefix="Buildings_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 1.001 GB, free: 12.92 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.839e-05/1.974e-05, allocations: 2.281 kB / 1.001 GB, free: 12.92 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY0): time 0.001013/0.001033, allocations: 0.5914 MB / 1.002 GB, free: 12.33 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0004377/0.001471, allocations: 255 kB / 1.002 GB, free: 12.08 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.463e-05/0.001485, allocations: 4 kB / 1.002 GB, free: 12.07 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.495e-05/0.0015, allocations: 0 / 1.002 GB, free: 12.07 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.602e-06/0.001507, allocations: 3.938 kB / 1.002 GB, free: 12.07 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004089/0.001916, allocations: 99.66 kB / 1.002 GB, free: 11.97 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 4.317e-05/0.001959, allocations: 0 / 1.002 GB, free: 11.97 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.953e-05/0.001999, allocations: 0 / 1.002 GB, free: 11.97 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 2.488e-05/0.002023, allocations: 0 / 1.002 GB, free: 11.97 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 2.761e-05/0.002051, allocations: 0 / 1.002 GB, free: 11.97 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.29e-05/0.002064, allocations: 7.938 kB / 1.002 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003665/0.00243, allocations: 119.7 kB / 1.002 GB, free: 11.85 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.263e-05/0.002443, allocations: 0 / 1.002 GB, free: 11.85 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.37e-05/0.002457, allocations: 0 / 1.002 GB, free: 11.85 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001456/0.002602, allocations: 83.81 kB / 1.002 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.744e-06/0.002604, allocations: 0 / 1.002 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of FrontEnd: time 7.72e-07/0.002605, allocations: 4 kB / 1.002 GB, free: 11.76 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.002609, allocations: 0 / 1.002 GB, free: 11.76 MB / 0.9636 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.0002402/0.002849, allocations: 254.3 kB / 1.002 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.002887, allocations: 12.75 kB / 1.002 GB, free: 11.47 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.002e-05/0.002917, allocations: 4.938 kB / 1.002 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.549e-05/0.002972, allocations: 101.8 kB / 1.002 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.758e-06/0.002982, allocations: 384 / 1.002 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.186e-06/0.00299, allocations: 384 / 1.002 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.69e-05/0.003067, allocations: 30.27 kB / 1.002 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.003074, allocations: 4.125 kB / 1.002 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.726e-06/0.003083, allocations: 384 / 1.002 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.003088, allocations: 4.375 kB / 1.002 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.88e-05/0.003106, allocations: 7.938 kB / 1.002 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000102/0.003208, allocations: 101.3 kB / 1.003 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 3.805e-05/0.003246, allocations: 18.67 kB / 1.003 GB, free: 11.13 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.443e-05/0.003261, allocations: 8.859 kB / 1.003 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004142/0.003675, allocations: 83.86 kB / 1.003 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.13e-05/0.003696, allocations: 30.56 kB / 1.003 GB, free: 11 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=1): time 8.52e-07/0.003697, allocations: 3.938 kB / 1.003 GB, free: 11 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1): time 0.000133/0.00383, allocations: 37.69 kB / 1.003 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.011e-05/0.00386, allocations: 51.41 kB / 1.003 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.852e-05/0.003889, allocations: 93.86 kB / 1.003 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.177e-05/0.003901, allocations: 25.7 kB / 1.003 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 1.741e-05/0.003918, allocations: 84.08 kB / 1.003 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.619e-05/0.003944, allocations: 0 / 1.003 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.054e-05/0.003965, allocations: 13.72 kB / 1.003 GB, free: 10.65 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.818e-05/0.004033, allocations: 318.9 kB / 1.003 GB, free: 10.33 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.374e-06/0.00404, allocations: 0 / 1.003 GB, free: 10.33 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.991e-06/0.004046, allocations: 4 kB / 1.003 GB, free: 10.33 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.392e-05/0.00407, allocations: 16.78 kB / 1.003 GB, free: 10.31 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.004072, allocations: 0 / 1.003 GB, free: 10.31 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1) (initialization): time 2.992e-05/0.004102, allocations: 33.7 kB / 1.003 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.004114, allocations: 5.562 kB / 1.003 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.004119, allocations: 0 / 1.003 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.00413, allocations: 0 / 1.003 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.553e-05/0.004166, allocations: 8.094 kB / 1.003 GB, free: 10.26 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.004171, allocations: 3.984 kB / 1.003 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.556e-06/0.004179, allocations: 7.891 kB / 1.003 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/0.004185, allocations: 0 / 1.003 GB, free: 10.25 MB / 0.9636 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.157e-05/0.004236, allocations: 105.8 kB / 1.003 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.657e-06/0.00424, allocations: 3.984 kB / 1.003 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.77e-05/0.004298, allocations: 44.64 kB / 1.004 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.004299, allocations: 0 / 1.004 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.004303, allocations: 0 / 1.004 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.004305, allocations: 0 / 1.004 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.663e-05/0.004352, allocations: 109.3 kB / 1.004 GB, free: 9.941 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.21e-07/0.004352, allocations: 0 / 1.004 GB, free: 9.941 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.869e-06/0.004357, allocations: 4 kB / 1.004 GB, free: 9.938 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.61e-07/0.004358, allocations: 0 / 1.004 GB, free: 9.938 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-06/0.004363, allocations: 4 kB / 1.004 GB, free: 9.934 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.004364, allocations: 0 / 1.004 GB, free: 9.934 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.004365, allocations: 0 / 1.004 GB, free: 9.934 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.445e-05/0.004409, allocations: 61.02 kB / 1.004 GB, free: 9.855 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 4.98e-06/0.004414, allocations: 11.92 kB / 1.004 GB, free: 9.844 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.734e-06/0.004422, allocations: 0 / 1.004 GB, free: 9.844 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.047e-06/0.004426, allocations: 4 kB / 1.004 GB, free: 9.84 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.14e-05/0.004437, allocations: 4.031 kB / 1.004 GB, free: 9.836 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-06/0.004438, allocations: 0 / 1.004 GB, free: 9.836 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.319e-05/0.004462, allocations: 76.06 kB / 1.004 GB, free: 9.762 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.004462, allocations: 0 / 1.004 GB, free: 9.762 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001372/0.004599, allocations: 23.94 kB / 1.004 GB, free: 9.738 MB / 0.9636 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.0001697/0.004768, allocations: 143.1 kB / 1.004 GB, free: 9.59 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 5.73e-05/0.004826, allocations: 7.984 kB / 1.004 GB, free: 9.582 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.004827, allocations: 0 / 1.004 GB, free: 9.582 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 3.927e-06/0.004831, allocations: 4 kB / 1.004 GB, free: 9.578 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.632e-05/0.004927, allocations: 10.34 kB / 1.004 GB, free: 9.57 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001698/0.005097, allocations: 106.6 kB / 1.004 GB, free: 9.434 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.418e-05/0.005131, allocations: 55.36 kB / 1.004 GB, free: 9.359 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.468e-05/0.005146, allocations: 16.61 kB / 1.004 GB, free: 9.344 MB / 0.9636 GB Notification: Performance of SimCode: time 3.6e-07/0.005146, allocations: 0 / 1.004 GB, free: 9.344 MB / 0.9636 GB Notification: Performance of Templates: time 0.001537/0.006683, allocations: 0.761 MB / 1.005 GB, free: 8.582 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_BesselY0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.42601434700191]