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.001803/0.001803, allocations: 78.09 kB / 19.76 MB, free: 2.031 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.002167/0.002167, allocations: 154.9 kB / 23.01 MB, free: 4.945 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.492/1.492, allocations: 177.2 MB / 203.4 MB, free: 8.938 MB / 190.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 2.856/2.856, allocations: 394.2 MB / 0.6386 GB, free: 11.93 MB / 0.6075 GB " [Timeout remaining time 177] 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.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: 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.002227/0.002227, allocations: 67.89 kB / 1.009 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7601/0.7623, allocations: 181.8 MB / 1.187 GB, free: 16.18 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY0): time 0.001659/0.764, allocations: 0.6 MB / 1.187 GB, free: 15.81 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0005763/0.7646, allocations: 258.9 kB / 1.187 GB, free: 15.65 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.555e-05/0.7646, allocations: 0 / 1.187 GB, free: 15.65 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 1.127e-05/0.7646, allocations: 0 / 1.187 GB, free: 15.65 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 5.17e-06/0.7646, allocations: 0 / 1.187 GB, free: 15.65 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004473/0.765, allocations: 94.75 kB / 1.188 GB, free: 15.62 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 3.33e-05/0.7651, allocations: 1.984 kB / 1.188 GB, free: 15.62 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 3.281e-05/0.7651, allocations: 6.109 kB / 1.188 GB, free: 15.61 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 1.142e-05/0.7651, allocations: 5.375 kB / 1.188 GB, free: 15.61 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 1.575e-05/0.7651, allocations: 0 / 1.188 GB, free: 15.61 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 5.731e-06/0.7651, allocations: 0 / 1.188 GB, free: 15.61 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002473/0.7654, allocations: 122.7 kB / 1.188 GB, free: 15.57 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.031e-05/0.7654, allocations: 0.6094 kB / 1.188 GB, free: 15.57 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 1.265e-05/0.7654, allocations: 3.938 kB / 1.188 GB, free: 15.57 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001573/0.7656, allocations: 66.38 kB / 1.188 GB, free: 15.55 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.7656, allocations: 1.375 kB / 1.188 GB, free: 15.55 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.293e-06/0.7656, allocations: 0 / 1.188 GB, free: 15.55 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.7656, allocations: 0 / 1.188 GB, free: 15.55 MB / 1.076 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.0002202/0.7658, allocations: 250.8 kB / 1.188 GB, free: 15.29 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.7658, allocations: 17.56 kB / 1.188 GB, free: 15.28 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.915e-05/0.7659, allocations: 1.688 kB / 1.188 GB, free: 15.28 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.323e-05/0.7659, allocations: 104.5 kB / 1.188 GB, free: 15.16 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.7659, allocations: 384 / 1.188 GB, free: 15.16 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.394e-06/0.7659, allocations: 5.75 kB / 1.188 GB, free: 15.15 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.344e-05/0.766, allocations: 29.09 kB / 1.188 GB, free: 15.12 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.824e-06/0.766, allocations: 1.562 kB / 1.188 GB, free: 15.12 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.754e-06/0.766, allocations: 3.938 kB / 1.188 GB, free: 15.12 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.766, allocations: 0 / 1.188 GB, free: 15.12 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.657e-05/0.766, allocations: 1.984 kB / 1.188 GB, free: 15.12 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.842e-05/0.7661, allocations: 100.8 kB / 1.188 GB, free: 14.99 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 3.298e-05/0.7661, allocations: 20.5 kB / 1.188 GB, free: 14.96 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.344e-05/0.7662, allocations: 10.23 kB / 1.188 GB, free: 14.95 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005617/0.7667, allocations: 74.11 kB / 1.188 GB, free: 14.95 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.962e-05/0.7667, allocations: 35.94 kB / 1.188 GB, free: 14.91 MB / 1.076 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.7667, allocations: 5.375 kB / 1.188 GB, free: 14.9 MB / 1.076 GB Notification: Performance of matching and sorting (n=1): time 0.0001146/0.7668, allocations: 39.11 kB / 1.188 GB, free: 14.86 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.148e-05/0.7669, allocations: 57.33 kB / 1.188 GB, free: 14.8 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.394e-05/0.7669, allocations: 89.86 kB / 1.189 GB, free: 14.7 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 5.25e-06/0.7669, allocations: 25.7 kB / 1.189 GB, free: 14.67 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 8.786e-06/0.7669, allocations: 80.8 kB / 1.189 GB, free: 14.59 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.586e-05/0.7669, allocations: 5.312 kB / 1.189 GB, free: 14.58 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.339e-05/0.7669, allocations: 15.75 kB / 1.189 GB, free: 14.56 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 3.406e-05/0.767, allocations: 312.8 kB / 1.189 GB, free: 14.25 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.807e-06/0.767, allocations: 1.375 kB / 1.189 GB, free: 14.25 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.374e-06/0.767, allocations: 6.109 kB / 1.189 GB, free: 14.25 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.046e-05/0.767, allocations: 8.25 kB / 1.189 GB, free: 14.24 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.767, allocations: 0 / 1.189 GB, free: 14.24 MB / 1.076 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.281e-05/0.7671, allocations: 32.36 kB / 1.189 GB, free: 14.21 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.7671, allocations: 10.91 kB / 1.189 GB, free: 14.2 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.7671, allocations: 4.641 kB / 1.189 GB, free: 14.2 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.7671, allocations: 0.7188 kB / 1.189 GB, free: 14.2 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.715e-05/0.7671, allocations: 5.438 kB / 1.189 GB, free: 14.2 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.7671, allocations: 1.375 kB / 1.189 GB, free: 14.2 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.557e-06/0.7671, allocations: 0.875 kB / 1.189 GB, free: 14.2 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.107e-06/0.7671, allocations: 4 kB / 1.189 GB, free: 14.19 MB / 1.076 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 3.54e-05/0.7672, allocations: 112.9 kB / 1.189 GB, free: 14.07 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.682e-06/0.7672, allocations: 0.6094 kB / 1.189 GB, free: 14.07 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.079e-05/0.7673, allocations: 35.97 kB / 1.189 GB, free: 14.04 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.7673, allocations: 3.938 kB / 1.189 GB, free: 14.04 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.7673, allocations: 0.6094 kB / 1.189 GB, free: 14.04 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.7673, allocations: 1.094 kB / 1.189 GB, free: 14.04 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.558e-05/0.7673, allocations: 95.8 kB / 1.189 GB, free: 13.91 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.7673, allocations: 0 / 1.189 GB, free: 13.91 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.319e-05/0.7673, allocations: 10.88 kB / 1.189 GB, free: 13.91 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.7673, allocations: 3.938 kB / 1.189 GB, free: 13.9 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.568e-06/0.7673, allocations: 1.094 kB / 1.189 GB, free: 13.9 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.7673, allocations: 0.7031 kB / 1.189 GB, free: 13.9 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.7673, allocations: 5.062 kB / 1.189 GB, free: 13.9 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.864e-05/0.7674, allocations: 57.66 kB / 1.189 GB, free: 13.83 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 6.031e-06/0.7674, allocations: 5.5 kB / 1.189 GB, free: 13.83 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.959e-06/0.7674, allocations: 1.828 kB / 1.189 GB, free: 13.83 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.883e-06/0.7674, allocations: 0 / 1.189 GB, free: 13.83 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.058e-05/0.7674, allocations: 5.766 kB / 1.189 GB, free: 13.82 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-06/0.7674, allocations: 4.031 kB / 1.189 GB, free: 13.82 MB / 1.076 GB Notification: Performance of sorting global known variables: time 1.011e-05/0.7674, allocations: 76.34 kB / 1.189 GB, free: 13.75 MB / 1.076 GB Notification: Performance of sort global known variables: time 5e-08/0.7674, allocations: 0 / 1.189 GB, free: 13.75 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002388/0.7677, allocations: 34.53 kB / 1.189 GB, free: 13.73 MB / 1.076 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.0002036/0.7679, allocations: 134.2 kB / 1.19 GB, free: 13.63 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 6.913e-05/0.7679, allocations: 8.469 kB / 1.19 GB, free: 13.63 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.7679, allocations: 0 / 1.19 GB, free: 13.63 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 7.635e-06/0.7679, allocations: 2.109 kB / 1.19 GB, free: 13.63 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001251/0.7681, allocations: 1.625 kB / 1.19 GB, free: 13.63 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001554/0.7682, allocations: 84.28 kB / 1.19 GB, free: 13.53 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.305e-05/0.7682, allocations: 56.25 kB / 1.19 GB, free: 13.46 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 9.307e-06/0.7682, allocations: 0 / 1.19 GB, free: 13.46 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.1e-05/0.7683, allocations: 9.75 kB / 1.19 GB, free: 13.45 MB / 1.076 GB Notification: Performance of SimCode: time 4.01e-07/0.7683, allocations: 4 kB / 1.19 GB, free: 13.45 MB / 1.076 GB Notification: Performance of Templates: time 0.003008/0.7713, allocations: 0.6395 MB / 1.19 GB, free: 13.36 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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/jenkins1/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: 8.531307247001678]