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.00107/0.00107, allocations: 99.92 kB / 16.35 MB, free: 5.824 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 193 kB / 17.29 MB, free: 5.48 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.302/1.302, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.444/2.444, allocations: 437.1 MB / 0.7112 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 68.28 kB / 0.8707 GB, free: 1.473 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2922/0.2935, allocations: 151.6 MB / 1.019 GB, free: 9.887 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY0): time 0.001851/0.2954, allocations: 0.5883 MB / 1.019 GB, free: 9.293 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0005827/0.296, allocations: 286.9 kB / 1.02 GB, free: 9.012 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.07e-05/0.2961, allocations: 0 / 1.02 GB, free: 9.012 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.263e-05/0.2961, allocations: 0 / 1.02 GB, free: 9.012 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.639e-06/0.2961, allocations: 3.938 kB / 1.02 GB, free: 9.008 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004156/0.2965, allocations: 99.62 kB / 1.02 GB, free: 8.91 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 3.409e-05/0.2966, allocations: 4 kB / 1.02 GB, free: 8.906 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 3.978e-05/0.2966, allocations: 0 / 1.02 GB, free: 8.906 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 1.303e-05/0.2966, allocations: 3.984 kB / 1.02 GB, free: 8.902 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 1.653e-05/0.2966, allocations: 0 / 1.02 GB, free: 8.902 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 5.49e-06/0.2966, allocations: 0 / 1.02 GB, free: 8.902 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002211/0.2969, allocations: 123.8 kB / 1.02 GB, free: 8.781 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 8.686e-06/0.2969, allocations: 7.984 kB / 1.02 GB, free: 8.773 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 1.569e-05/0.2969, allocations: 4 kB / 1.02 GB, free: 8.77 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001382/0.2971, allocations: 63.91 kB / 1.02 GB, free: 8.707 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.2971, allocations: 0 / 1.02 GB, free: 8.707 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2971, allocations: 0 / 1.02 GB, free: 8.707 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.654e-06/0.2971, allocations: 0 / 1.02 GB, free: 8.707 MB / 0.795 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.0002713/0.2974, allocations: 323.6 kB / 1.02 GB, free: 8.34 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.2974, allocations: 8.922 kB / 1.02 GB, free: 8.332 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.682e-05/0.2974, allocations: 8.875 kB / 1.02 GB, free: 8.324 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.999e-05/0.2975, allocations: 168.4 kB / 1.02 GB, free: 8.121 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.2976, allocations: 384 / 1.02 GB, free: 8.121 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.514e-06/0.2976, allocations: 4.375 kB / 1.02 GB, free: 8.117 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.72e-05/0.2976, allocations: 26.27 kB / 1.02 GB, free: 8.086 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.33e-06/0.2977, allocations: 4.125 kB / 1.02 GB, free: 8.082 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.2977, allocations: 7.938 kB / 1.02 GB, free: 8.074 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.386e-06/0.2977, allocations: 0 / 1.02 GB, free: 8.074 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.618e-05/0.2977, allocations: 0 / 1.02 GB, free: 8.074 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000125/0.2978, allocations: 141.7 kB / 1.021 GB, free: 7.887 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 3.446e-05/0.2979, allocations: 22.61 kB / 1.021 GB, free: 7.855 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.585e-05/0.2979, allocations: 12.84 kB / 1.021 GB, free: 7.84 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006767/0.2986, allocations: 449.5 kB / 1.021 GB, free: 7.309 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.609e-05/0.2986, allocations: 38.56 kB / 1.021 GB, free: 7.262 MB / 0.795 GB Notification: Performance of pre-optimization done (n=1): time 1.373e-06/0.2986, allocations: 3.938 kB / 1.021 GB, free: 7.258 MB / 0.795 GB Notification: Performance of matching and sorting (n=1): time 0.0001185/0.2987, allocations: 41.62 kB / 1.021 GB, free: 7.211 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.863e-05/0.2988, allocations: 51.41 kB / 1.021 GB, free: 7.148 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.853e-05/0.2988, allocations: 89.86 kB / 1.021 GB, free: 7.051 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.073e-05/0.2988, allocations: 25.7 kB / 1.021 GB, free: 7.02 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 2.437e-05/0.2989, allocations: 84.08 kB / 1.021 GB, free: 6.934 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.578e-05/0.2989, allocations: 0 / 1.021 GB, free: 6.934 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.522e-05/0.2989, allocations: 17.84 kB / 1.021 GB, free: 6.91 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.299, allocations: 314.8 kB / 1.022 GB, free: 6.594 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.496e-06/0.2991, allocations: 0 / 1.022 GB, free: 6.594 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.232e-06/0.2991, allocations: 4 kB / 1.022 GB, free: 6.59 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.672e-05/0.2991, allocations: 12.78 kB / 1.022 GB, free: 6.574 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.2991, allocations: 0 / 1.022 GB, free: 6.574 MB / 0.795 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.713e-05/0.2992, allocations: 33.7 kB / 1.022 GB, free: 6.535 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.2992, allocations: 4.094 kB / 1.022 GB, free: 6.531 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.2992, allocations: 4 kB / 1.022 GB, free: 6.527 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.2992, allocations: 7.922 kB / 1.022 GB, free: 6.52 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.334e-05/0.2992, allocations: 0 / 1.022 GB, free: 6.52 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.2993, allocations: 4 kB / 1.022 GB, free: 6.516 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.051e-05/0.2993, allocations: 4 kB / 1.022 GB, free: 6.512 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-06/0.2993, allocations: 3.984 kB / 1.022 GB, free: 6.508 MB / 0.795 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.507e-05/0.2993, allocations: 105.8 kB / 1.022 GB, free: 6.395 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.547e-06/0.2994, allocations: 11.92 kB / 1.022 GB, free: 6.383 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.048e-05/0.2994, allocations: 44.7 kB / 1.022 GB, free: 6.332 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.2994, allocations: 4 kB / 1.022 GB, free: 6.328 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.2995, allocations: 0 / 1.022 GB, free: 6.328 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.2995, allocations: 0 / 1.022 GB, free: 6.328 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.696e-05/0.2996, allocations: 145.7 kB / 1.022 GB, free: 6.137 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.2996, allocations: 0 / 1.022 GB, free: 6.137 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.259e-05/0.2996, allocations: 4 kB / 1.022 GB, free: 6.133 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.2996, allocations: 0 / 1.022 GB, free: 6.133 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.121e-06/0.2996, allocations: 3.938 kB / 1.022 GB, free: 6.129 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.2996, allocations: 0 / 1.022 GB, free: 6.129 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.2996, allocations: 0 / 1.022 GB, free: 6.129 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.06e-05/0.2997, allocations: 65.09 kB / 1.022 GB, free: 6.047 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.126e-05/0.2997, allocations: 81.11 kB / 1.022 GB, free: 5.949 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.007e-05/0.2997, allocations: 3.938 kB / 1.022 GB, free: 5.945 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.543e-06/0.2998, allocations: 0 / 1.022 GB, free: 5.945 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.232e-05/0.2998, allocations: 0 / 1.022 GB, free: 5.945 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.724e-06/0.2998, allocations: 0 / 1.022 GB, free: 5.945 MB / 0.795 GB Notification: Performance of sorting global known variables: time 3.239e-05/0.2998, allocations: 75.28 kB / 1.022 GB, free: 5.871 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.2e-07/0.2998, allocations: 4.031 kB / 1.022 GB, free: 5.867 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002143/0.3, allocations: 28 kB / 1.022 GB, free: 5.84 MB / 0.795 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.0002319/0.3003, allocations: 143.2 kB / 1.022 GB, free: 5.691 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 6.8e-05/0.3003, allocations: 4 kB / 1.022 GB, free: 5.688 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3004, allocations: 0 / 1.022 GB, free: 5.688 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 1.625e-05/0.3004, allocations: 4 kB / 1.022 GB, free: 5.684 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001233/0.3005, allocations: 6.344 kB / 1.022 GB, free: 5.68 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000165/0.3007, allocations: 89.42 kB / 1.023 GB, free: 5.566 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002243/0.3009, allocations: 0.6729 MB / 1.023 GB, free: 4.867 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 9.608e-06/0.3009, allocations: 0 / 1.023 GB, free: 4.867 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.266e-05/0.3009, allocations: 11.56 kB / 1.023 GB, free: 4.855 MB / 0.795 GB Notification: Performance of SimCode: time 2.41e-07/0.301, allocations: 0 / 1.023 GB, free: 4.855 MB / 0.795 GB Notification: Performance of Templates: time 0.002442/0.3034, allocations: 0.6227 MB / 1.024 GB, free: 4.234 MB / 0.795 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 -s gbode -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