Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings.Utilities.Math.Examples.BesselY0") translateModel(Buildings.Utilities.Math.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y0.y",fileNamePrefix="Buildings_latest_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.008455/0.008455, allocations: 99.31 kB / 15.73 MB, free: 6.051 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.001988/0.001988, allocations: 188.9 kB / 16.67 MB, free: 5.977 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.4/1.4, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.781/2.781, allocations: 461.9 MB / 0.7348 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001138/0.001138, allocations: 68.11 kB / 1.054 GB, free: 7.191 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.343/0.3441, allocations: 157.4 MB / 1.208 GB, free: 9.691 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY0): time 0.002474/0.3467, allocations: 1.437 MB / 1.209 GB, free: 8.242 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0006822/0.3473, allocations: 342.8 kB / 1.209 GB, free: 7.906 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.7e-05/0.3474, allocations: 0 / 1.209 GB, free: 7.906 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.646e-05/0.3474, allocations: 0 / 1.209 GB, free: 7.906 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.714e-05/0.3475, allocations: 7.922 kB / 1.209 GB, free: 7.898 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004413/0.3479, allocations: 103.7 kB / 1.21 GB, free: 7.797 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.546e-05/0.348, allocations: 19.92 kB / 1.21 GB, free: 7.777 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.865e-05/0.3481, allocations: 15.98 kB / 1.21 GB, free: 7.762 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.706e-05/0.3481, allocations: 3.938 kB / 1.21 GB, free: 7.758 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.189e-05/0.3482, allocations: 11.98 kB / 1.21 GB, free: 7.746 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.236e-05/0.3482, allocations: 4 kB / 1.21 GB, free: 7.742 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002163/0.3484, allocations: 119.8 kB / 1.21 GB, free: 7.625 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 8.536e-06/0.3484, allocations: 0 / 1.21 GB, free: 7.625 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.382e-05/0.3485, allocations: 15.92 kB / 1.21 GB, free: 7.609 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001837/0.3487, allocations: 83.81 kB / 1.21 GB, free: 7.527 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3487, allocations: 0 / 1.21 GB, free: 7.527 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.343e-06/0.3487, allocations: 0 / 1.21 GB, free: 7.527 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.869e-06/0.3487, allocations: 0 / 1.21 GB, free: 7.527 MB / 0.9669 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.0004803/0.3492, allocations: 368.3 kB / 1.21 GB, free: 7.117 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.3492, allocations: 8.625 kB / 1.21 GB, free: 7.109 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.573e-05/0.3493, allocations: 4.938 kB / 1.21 GB, free: 7.105 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001144/0.3494, allocations: 164.4 kB / 1.21 GB, free: 6.906 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.3494, allocations: 384 / 1.21 GB, free: 6.906 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.957e-06/0.3494, allocations: 384 / 1.21 GB, free: 6.906 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001716/0.3496, allocations: 46.25 kB / 1.21 GB, free: 6.855 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.3496, allocations: 4.188 kB / 1.21 GB, free: 6.852 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.3496, allocations: 7.922 kB / 1.21 GB, free: 6.844 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.3496, allocations: 4 kB / 1.21 GB, free: 6.84 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001686/0.3498, allocations: 27.97 kB / 1.21 GB, free: 6.812 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003465/0.3502, allocations: 256.8 kB / 1.211 GB, free: 6.512 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000124/0.3503, allocations: 42.44 kB / 1.211 GB, free: 6.461 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.609e-05/0.3504, allocations: 24.91 kB / 1.211 GB, free: 6.434 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006634/0.3511, allocations: 461.4 kB / 1.211 GB, free: 5.891 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.657e-05/0.3511, allocations: 34.56 kB / 1.211 GB, free: 5.848 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.392e-06/0.3511, allocations: 0 / 1.211 GB, free: 5.848 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0003723/0.3515, allocations: 85.58 kB / 1.211 GB, free: 5.758 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.831e-05/0.3515, allocations: 51.41 kB / 1.211 GB, free: 5.695 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.098e-05/0.3516, allocations: 97.86 kB / 1.211 GB, free: 5.59 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.3516, allocations: 25.7 kB / 1.211 GB, free: 5.559 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.031e-05/0.3517, allocations: 92.25 kB / 1.212 GB, free: 5.465 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.846e-05/0.3517, allocations: 3.906 kB / 1.212 GB, free: 5.461 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.194e-05/0.3518, allocations: 13.72 kB / 1.212 GB, free: 5.441 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.3519, allocations: 314.8 kB / 1.212 GB, free: 5.125 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.01e-05/0.352, allocations: 11.98 kB / 1.212 GB, free: 5.113 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.401e-05/0.352, allocations: 23.97 kB / 1.212 GB, free: 5.09 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001498/0.3522, allocations: 36.89 kB / 1.212 GB, free: 5.051 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.3522, allocations: 0 / 1.212 GB, free: 5.051 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001919/0.3524, allocations: 73.72 kB / 1.212 GB, free: 4.973 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.3524, allocations: 4 kB / 1.212 GB, free: 4.969 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.3524, allocations: 4 kB / 1.212 GB, free: 4.965 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.3525, allocations: 3.984 kB / 1.212 GB, free: 4.961 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.872e-05/0.3525, allocations: 12.02 kB / 1.212 GB, free: 4.949 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.3526, allocations: 4 kB / 1.212 GB, free: 4.945 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.493e-05/0.3526, allocations: 4 kB / 1.212 GB, free: 4.941 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-06/0.3526, allocations: 0 / 1.212 GB, free: 4.941 MB / 0.9669 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.995e-05/0.3527, allocations: 121.8 kB / 1.212 GB, free: 4.812 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.344e-05/0.3527, allocations: 0 / 1.212 GB, free: 4.812 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002298/0.353, allocations: 76.72 kB / 1.212 GB, free: 4.734 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.353, allocations: 0 / 1.212 GB, free: 4.734 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.353, allocations: 0 / 1.212 GB, free: 4.734 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.353, allocations: 3.938 kB / 1.212 GB, free: 4.73 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001674/0.3532, allocations: 161.5 kB / 1.212 GB, free: 4.523 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.3532, allocations: 0 / 1.212 GB, free: 4.523 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.737e-05/0.3532, allocations: 11.98 kB / 1.212 GB, free: 4.512 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.3532, allocations: 0 / 1.212 GB, free: 4.512 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-06/0.3533, allocations: 0 / 1.212 GB, free: 4.512 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3533, allocations: 3.938 kB / 1.212 GB, free: 4.508 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.3533, allocations: 0 / 1.212 GB, free: 4.508 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002427/0.3535, allocations: 167.5 kB / 1.213 GB, free: 4.328 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.398e-05/0.3536, allocations: 81.05 kB / 1.213 GB, free: 4.23 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.405e-05/0.3536, allocations: 3.984 kB / 1.213 GB, free: 4.227 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.511e-05/0.3537, allocations: 4 kB / 1.213 GB, free: 4.223 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.532e-05/0.3537, allocations: 7.938 kB / 1.213 GB, free: 4.215 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.639e-06/0.3537, allocations: 8.016 kB / 1.213 GB, free: 4.207 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.645e-05/0.3538, allocations: 83.28 kB / 1.213 GB, free: 4.125 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3538, allocations: 0 / 1.213 GB, free: 4.125 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002665/0.354, allocations: 28 kB / 1.213 GB, free: 4.098 MB / 0.9669 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.000243/0.3543, allocations: 131.2 kB / 1.213 GB, free: 3.957 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002196/0.3545, allocations: 35.95 kB / 1.213 GB, free: 3.922 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.3545, allocations: 0 / 1.213 GB, free: 3.922 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 8.599e-05/0.3546, allocations: 19.98 kB / 1.213 GB, free: 3.902 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002263/0.3549, allocations: 9.625 kB / 1.213 GB, free: 3.895 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002846/0.3551, allocations: 113.4 kB / 1.213 GB, free: 3.754 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002444/0.3554, allocations: 0.6768 MB / 1.214 GB, free: 3.051 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.295e-05/0.3554, allocations: 3.906 kB / 1.214 GB, free: 3.047 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.402e-05/0.3555, allocations: 11.44 kB / 1.214 GB, free: 3.035 MB / 0.9669 GB Notification: Performance of SimCode: time 2.51e-07/0.3555, allocations: 0 / 1.214 GB, free: 3.035 MB / 0.9669 GB Notification: Performance of Templates: time 0.003693/0.3592, allocations: 0.8953 MB / 1.215 GB, free: 2.145 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BesselY0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches