Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y0",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY0") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y0",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001183/0.001184, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001686/0.001686, allocations: 173 kB / 16.92 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.361/1.361, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.619/2.619, allocations: 437.8 MB / 0.7128 GB, free: 6.965 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003889/0.0003891, allocations: 8 kB / 0.8735 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7026/0.703, allocations: 153.8 MB / 1.024 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY0): time 0.0007102/0.7037, allocations: 325.6 kB / 1.024 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0006706/0.7044, allocations: 295.1 kB / 1.024 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.105e-05/0.7044, allocations: 0 / 1.024 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.683e-05/0.7045, allocations: 0 / 1.024 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.779e-06/0.7045, allocations: 0 / 1.024 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004352/0.7049, allocations: 83.73 kB / 1.024 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 3.473e-05/0.705, allocations: 4 kB / 1.024 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.268e-05/0.705, allocations: 0 / 1.024 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 1.272e-05/0.705, allocations: 0 / 1.024 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 2.193e-05/0.7051, allocations: 0 / 1.024 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.194e-06/0.7051, allocations: 0 / 1.024 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002852/0.7054, allocations: 135.7 kB / 1.025 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.205e-06/0.7054, allocations: 0 / 1.025 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.935e-05/0.7054, allocations: 25.7 kB / 1.025 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001141/0.7055, allocations: 47.92 kB / 1.025 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.7056, allocations: 4 kB / 1.025 GB, free: 15 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.933e-06/0.7056, allocations: 0 / 1.025 GB, free: 15 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.7056, allocations: 0 / 1.025 GB, free: 15 MB / 0.7794 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.0002948/0.7059, allocations: 319.6 kB / 1.025 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.7059, allocations: 12.02 kB / 1.025 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.66e-05/0.706, allocations: 0.9375 kB / 1.025 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.208e-05/0.7061, allocations: 160.4 kB / 1.025 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.7061, allocations: 4.375 kB / 1.025 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.016e-06/0.7061, allocations: 4.375 kB / 1.025 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001021/0.7062, allocations: 34.2 kB / 1.025 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.7062, allocations: 4.125 kB / 1.025 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.946e-06/0.7062, allocations: 3.938 kB / 1.025 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.211e-06/0.7062, allocations: 0 / 1.025 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.91e-05/0.7063, allocations: 4 kB / 1.025 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001357/0.7064, allocations: 149.7 kB / 1.025 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 3.82e-05/0.7064, allocations: 18.52 kB / 1.025 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.636e-05/0.7065, allocations: 8.859 kB / 1.025 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007306/0.7072, allocations: 461.5 kB / 1.026 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.43e-05/0.7072, allocations: 34.5 kB / 1.026 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 2.464e-06/0.7072, allocations: 4 kB / 1.026 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.000136/0.7074, allocations: 45.55 kB / 1.026 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.265e-05/0.7074, allocations: 51.41 kB / 1.026 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.467e-05/0.7075, allocations: 89.86 kB / 1.026 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.103e-05/0.7075, allocations: 25.7 kB / 1.026 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.895e-05/0.7075, allocations: 80.14 kB / 1.026 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.629e-05/0.7076, allocations: 0 / 1.026 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.144e-05/0.7076, allocations: 9.719 kB / 1.026 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.527e-05/0.7077, allocations: 311 kB / 1.026 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.035e-05/0.7077, allocations: 11.98 kB / 1.026 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.921e-06/0.7077, allocations: 3.938 kB / 1.026 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.487e-05/0.7077, allocations: 12.86 kB / 1.026 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.7077, allocations: 0 / 1.026 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.056e-05/0.7078, allocations: 29.7 kB / 1.026 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.7078, allocations: 4 kB / 1.026 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.7078, allocations: 0 / 1.026 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.7078, allocations: 3.938 kB / 1.026 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.955e-05/0.7079, allocations: 8.094 kB / 1.026 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.7079, allocations: 0 / 1.026 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.074e-05/0.7079, allocations: 3.984 kB / 1.026 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.7079, allocations: 3.984 kB / 1.026 GB, free: 12.81 MB / 0.7794 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 6.796e-05/0.708, allocations: 110.4 kB / 1.027 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.571e-06/0.708, allocations: 0 / 1.027 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.314e-05/0.7081, allocations: 44.7 kB / 1.027 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.7081, allocations: 0 / 1.027 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.7081, allocations: 4.031 kB / 1.027 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.7081, allocations: 0 / 1.027 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.484e-05/0.7082, allocations: 149.6 kB / 1.027 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.7082, allocations: 0 / 1.027 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.191e-05/0.7082, allocations: 4 kB / 1.027 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.7082, allocations: 0 / 1.027 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.182e-06/0.7082, allocations: 3.938 kB / 1.027 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.7083, allocations: 0 / 1.027 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.7083, allocations: 0 / 1.027 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.4e-05/0.7083, allocations: 69.06 kB / 1.027 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.118e-05/0.7084, allocations: 77.11 kB / 1.027 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.002e-05/0.7084, allocations: 3.938 kB / 1.027 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.066e-06/0.7084, allocations: 4 kB / 1.027 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.548e-06/0.7084, allocations: 3.938 kB / 1.027 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.566e-06/0.7084, allocations: 4 kB / 1.027 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.254e-05/0.7084, allocations: 75.28 kB / 1.027 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7084, allocations: 0 / 1.027 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002131/0.7087, allocations: 27.98 kB / 1.027 GB, free: 12.14 MB / 0.7794 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.0002741/0.7089, allocations: 139.2 kB / 1.027 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 5.523e-05/0.709, allocations: 4 kB / 1.027 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.709, allocations: 4.062 kB / 1.027 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.328e-06/0.709, allocations: 7.938 kB / 1.027 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001275/0.7092, allocations: 4 kB / 1.027 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001667/0.7093, allocations: 98.62 kB / 1.027 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002211/0.7096, allocations: 0.6731 MB / 1.028 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.56e-05/0.7096, allocations: 7.438 kB / 1.028 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of SimCode: time 3.41e-07/0.7096, allocations: 3.938 kB / 1.028 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of Templates: time 0.002025/0.7116, allocations: 0.7534 MB / 1.029 GB, free: 10.38 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY0.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY0.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_BesselY0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches