Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y0.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.BesselY0") translateModel(Buildings.Utilities.Math.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y0.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.BesselY0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00915/0.00915, allocations: 96.73 kB / 15.73 MB, free: 6.039 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.001992/0.001992, allocations: 194.3 kB / 16.67 MB, free: 5.969 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.422/1.422, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.839/2.839, allocations: 469.8 MB / 0.7425 GB, free: 7.367 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001427, allocations: 67.89 kB / 1.065 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3658/0.3672, allocations: 159.1 MB / 1.221 GB, free: 13.85 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY0): time 0.003241/0.3705, allocations: 1.433 MB / 1.222 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0008136/0.3713, allocations: 346.9 kB / 1.222 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.012e-05/0.3713, allocations: 0 / 1.222 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.987e-05/0.3714, allocations: 3.938 kB / 1.222 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.989e-05/0.3714, allocations: 0 / 1.222 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006087/0.372, allocations: 107.6 kB / 1.222 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.583e-05/0.3721, allocations: 19.98 kB / 1.222 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.3722, allocations: 4 kB / 1.222 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.131e-05/0.3723, allocations: 11.94 kB / 1.222 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.674e-05/0.3723, allocations: 11.98 kB / 1.222 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.021e-05/0.3723, allocations: 0 / 1.222 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002723/0.3726, allocations: 123.8 kB / 1.223 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.869e-05/0.3726, allocations: 7.984 kB / 1.223 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.067e-05/0.3727, allocations: 3.938 kB / 1.223 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002544/0.3729, allocations: 83.75 kB / 1.223 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.3729, allocations: 8 kB / 1.223 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3729, allocations: 0 / 1.223 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.3729, allocations: 0 / 1.223 GB, free: 11.69 MB / 0.9825 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.0005957/0.3735, allocations: 351.3 kB / 1.223 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/0.3736, allocations: 12.03 kB / 1.223 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.549e-05/0.3736, allocations: 4.891 kB / 1.223 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001539/0.3738, allocations: 168.4 kB / 1.223 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.752e-05/0.3738, allocations: 12.31 kB / 1.223 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.352e-05/0.3738, allocations: 384 / 1.223 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002156/0.374, allocations: 58.17 kB / 1.223 GB, free: 11 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.374, allocations: 192 / 1.223 GB, free: 11 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.374, allocations: 3.938 kB / 1.223 GB, free: 11 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.374, allocations: 0 / 1.223 GB, free: 11 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001757/0.3742, allocations: 31.97 kB / 1.223 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003743/0.3746, allocations: 245 kB / 1.224 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001372/0.3747, allocations: 50.38 kB / 1.224 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.625e-05/0.3748, allocations: 16.91 kB / 1.224 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007677/0.3756, allocations: 461.5 kB / 1.224 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.837e-05/0.3756, allocations: 34.56 kB / 1.224 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.3756, allocations: 0 / 1.224 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003709/0.376, allocations: 77.64 kB / 1.224 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.078e-05/0.376, allocations: 55.41 kB / 1.224 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.522e-05/0.3761, allocations: 109.9 kB / 1.224 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/0.3761, allocations: 25.7 kB / 1.224 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.734e-05/0.3762, allocations: 84.09 kB / 1.224 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.081e-05/0.3762, allocations: 3.953 kB / 1.224 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.062e-05/0.3762, allocations: 17.72 kB / 1.224 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.3764, allocations: 310.8 kB / 1.225 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.722e-05/0.3764, allocations: 23.97 kB / 1.225 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.925e-05/0.3765, allocations: 19.98 kB / 1.225 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001615/0.3767, allocations: 36.83 kB / 1.225 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3767, allocations: 0 / 1.225 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002018/0.3769, allocations: 65.59 kB / 1.225 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.3769, allocations: 8 kB / 1.225 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.3769, allocations: 4.094 kB / 1.225 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.3769, allocations: 0 / 1.225 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.553e-05/0.377, allocations: 11.92 kB / 1.225 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.377, allocations: 4 kB / 1.225 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.845e-05/0.3771, allocations: 7.922 kB / 1.225 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.182e-06/0.3771, allocations: 4 kB / 1.225 GB, free: 9.098 MB / 0.9825 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 8.922e-05/0.3772, allocations: 114.3 kB / 1.225 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.558e-05/0.3772, allocations: 0 / 1.225 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002361/0.3774, allocations: 76.78 kB / 1.225 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.574e-06/0.3774, allocations: 0 / 1.225 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.3774, allocations: 0 / 1.225 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.3774, allocations: 192 / 1.225 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001653/0.3776, allocations: 161.6 kB / 1.225 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3776, allocations: 0 / 1.225 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.19e-05/0.3777, allocations: 11.98 kB / 1.225 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.3777, allocations: 7.875 kB / 1.225 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.3777, allocations: 8.016 kB / 1.225 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.3777, allocations: 3.938 kB / 1.225 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3777, allocations: 0 / 1.225 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002412/0.3779, allocations: 163.4 kB / 1.225 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.789e-05/0.378, allocations: 77.11 kB / 1.226 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.4e-05/0.378, allocations: 8 kB / 1.226 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.36e-05/0.378, allocations: 8.031 kB / 1.226 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.258e-05/0.3781, allocations: 3.984 kB / 1.226 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.3781, allocations: 0 / 1.226 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.5e-05/0.3781, allocations: 79.28 kB / 1.226 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3781, allocations: 0 / 1.226 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002811/0.3784, allocations: 27.94 kB / 1.226 GB, free: 8.266 MB / 0.9825 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.0002749/0.3787, allocations: 143.1 kB / 1.226 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002309/0.3789, allocations: 35.91 kB / 1.226 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.3789, allocations: 4 kB / 1.226 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.587e-05/0.379, allocations: 16.05 kB / 1.226 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000254/0.3793, allocations: 22.11 kB / 1.226 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003294/0.3796, allocations: 105.4 kB / 1.226 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002577/0.3798, allocations: 0.6768 MB / 1.227 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.677e-05/0.3799, allocations: 4 kB / 1.227 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.476e-05/0.3799, allocations: 7.438 kB / 1.227 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of SimCode: time 3e-07/0.3799, allocations: 0 / 1.227 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of Templates: time 0.003683/0.3836, allocations: 0.8812 MB / 1.227 GB, free: 6.316 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.BesselY0.makefile (rm -f Buildings_11_Buildings.Utilities.Math.Examples.BesselY0.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.BesselY0.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.BesselY0.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.BesselY0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.BesselY0.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.BesselY0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_BesselY0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.BesselY0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches