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.001313/0.001313, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001424/0.001424, allocations: 198.4 kB / 16.14 MB, free: 6.648 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.385/1.385, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.771/2.771, allocations: 461.9 MB / 0.7342 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 70.73 kB / 0.8984 GB, free: 37.3 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3629/0.3642, allocations: 157.4 MB / 1.052 GB, free: 8.918 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY0): time 0.003001/0.3672, allocations: 1.487 MB / 1.054 GB, free: 7.414 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0007534/0.368, allocations: 370.9 kB / 1.054 GB, free: 7.051 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.332e-05/0.3681, allocations: 0 / 1.054 GB, free: 7.051 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.627e-05/0.3681, allocations: 3.938 kB / 1.054 GB, free: 7.047 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.577e-05/0.3682, allocations: 0 / 1.054 GB, free: 7.047 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003774/0.3685, allocations: 79.86 kB / 1.054 GB, free: 6.969 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.091e-05/0.3686, allocations: 19.92 kB / 1.054 GB, free: 6.949 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.028e-05/0.3687, allocations: 7.938 kB / 1.054 GB, free: 6.941 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.817e-05/0.3688, allocations: 15.92 kB / 1.054 GB, free: 6.926 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.406e-05/0.3688, allocations: 4 kB / 1.054 GB, free: 6.922 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 9.007e-06/0.3688, allocations: 0 / 1.054 GB, free: 6.922 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002361/0.369, allocations: 139.7 kB / 1.054 GB, free: 6.785 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.254e-05/0.3691, allocations: 7.938 kB / 1.054 GB, free: 6.777 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.391e-05/0.3691, allocations: 0 / 1.054 GB, free: 6.777 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001872/0.3693, allocations: 91.73 kB / 1.054 GB, free: 6.688 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.3693, allocations: 4 kB / 1.054 GB, free: 6.684 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.243e-06/0.3693, allocations: 0 / 1.054 GB, free: 6.684 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.145e-06/0.3693, allocations: 0 / 1.054 GB, free: 6.684 MB / 0.8106 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.0004681/0.3698, allocations: 355.7 kB / 1.055 GB, free: 6.285 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.3698, allocations: 12.03 kB / 1.055 GB, free: 6.273 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.46e-05/0.3699, allocations: 4.844 kB / 1.055 GB, free: 6.27 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001251/0.37, allocations: 160.4 kB / 1.055 GB, free: 6.074 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.164e-06/0.37, allocations: 4.375 kB / 1.055 GB, free: 6.07 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.188e-05/0.37, allocations: 384 / 1.055 GB, free: 6.07 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001703/0.3702, allocations: 54.17 kB / 1.055 GB, free: 6.012 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.3702, allocations: 8.188 kB / 1.055 GB, free: 6.004 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.3703, allocations: 3.938 kB / 1.055 GB, free: 6 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.3703, allocations: 0 / 1.055 GB, free: 6 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001598/0.3704, allocations: 39.94 kB / 1.055 GB, free: 5.961 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003255/0.3708, allocations: 248.9 kB / 1.055 GB, free: 5.668 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001432/0.3709, allocations: 50.47 kB / 1.055 GB, free: 5.609 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.132e-05/0.371, allocations: 20.84 kB / 1.055 GB, free: 5.586 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006621/0.3717, allocations: 461.5 kB / 1.056 GB, free: 5.043 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.55e-05/0.3717, allocations: 34.56 kB / 1.056 GB, free: 5 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.3717, allocations: 0 / 1.056 GB, free: 5 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003505/0.3721, allocations: 81.64 kB / 1.056 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.043e-05/0.3721, allocations: 51.41 kB / 1.056 GB, free: 4.852 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.815e-05/0.3722, allocations: 97.8 kB / 1.056 GB, free: 4.746 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.817e-05/0.3722, allocations: 29.7 kB / 1.056 GB, free: 4.711 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.412e-05/0.3723, allocations: 84.27 kB / 1.056 GB, free: 4.625 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.734e-05/0.3723, allocations: 11.89 kB / 1.056 GB, free: 4.613 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.813e-05/0.3723, allocations: 9.719 kB / 1.056 GB, free: 4.598 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.3724, allocations: 318.8 kB / 1.056 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.795e-05/0.3725, allocations: 11.98 kB / 1.056 GB, free: 4.266 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.475e-05/0.3726, allocations: 19.97 kB / 1.056 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001347/0.3727, allocations: 40.89 kB / 1.056 GB, free: 4.203 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3727, allocations: 0 / 1.056 GB, free: 4.203 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001776/0.3729, allocations: 73.5 kB / 1.056 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.3729, allocations: 4 kB / 1.056 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.3729, allocations: 3.938 kB / 1.056 GB, free: 4.117 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.373, allocations: 0 / 1.056 GB, free: 4.117 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.561e-05/0.3731, allocations: 19.95 kB / 1.056 GB, free: 4.098 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.3731, allocations: 0 / 1.056 GB, free: 4.098 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.317e-05/0.3731, allocations: 4 kB / 1.056 GB, free: 4.094 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.631e-06/0.3731, allocations: 0 / 1.056 GB, free: 4.094 MB / 0.8106 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.722e-05/0.3732, allocations: 113.8 kB / 1.057 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.443e-05/0.3732, allocations: 4 kB / 1.057 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002303/0.3735, allocations: 72.77 kB / 1.057 GB, free: 3.895 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.3735, allocations: 0 / 1.057 GB, free: 3.895 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.3735, allocations: 0 / 1.057 GB, free: 3.895 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.3735, allocations: 0 / 1.057 GB, free: 3.895 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003052/0.3738, allocations: 161.6 kB / 1.057 GB, free: 3.688 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-06/0.3738, allocations: 0 / 1.057 GB, free: 3.688 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.55e-05/0.3739, allocations: 7.984 kB / 1.057 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.3739, allocations: 3.938 kB / 1.057 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.846e-06/0.3739, allocations: 4 kB / 1.057 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.3739, allocations: 0 / 1.057 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3739, allocations: 7.969 kB / 1.057 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002943/0.3742, allocations: 163.5 kB / 1.057 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.883e-05/0.3743, allocations: 89.05 kB / 1.057 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.237e-05/0.3743, allocations: 0 / 1.057 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.174e-05/0.3744, allocations: 7.984 kB / 1.057 GB, free: 3.375 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.075e-05/0.3744, allocations: 4 kB / 1.057 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/0.3744, allocations: 4.031 kB / 1.057 GB, free: 3.367 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.53e-05/0.3745, allocations: 83.27 kB / 1.057 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3745, allocations: 0 / 1.057 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002559/0.3747, allocations: 31.91 kB / 1.057 GB, free: 3.254 MB / 0.8106 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.0002866/0.375, allocations: 131.2 kB / 1.057 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003135/0.3753, allocations: 43.89 kB / 1.057 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.3754, allocations: 4 kB / 1.057 GB, free: 3.066 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 7.484e-05/0.3754, allocations: 15.98 kB / 1.057 GB, free: 3.051 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002307/0.3757, allocations: 4.875 kB / 1.057 GB, free: 3.047 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002658/0.376, allocations: 107.4 kB / 1.057 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002815/0.3762, allocations: 0.6774 MB / 1.058 GB, free: 2.211 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.052e-05/0.3763, allocations: 0 / 1.058 GB, free: 2.211 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.15e-05/0.3763, allocations: 7.438 kB / 1.058 GB, free: 2.203 MB / 0.8106 GB Notification: Performance of SimCode: time 2.1e-07/0.3763, allocations: 7.938 kB / 1.058 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of Templates: time 0.003118/0.3794, allocations: 0.8267 MB / 1.059 GB, free: 1.375 MB / 0.8106 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