Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y1.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1") translateModel(Buildings.Utilities.Math.Examples.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y1.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006356/0.006356, allocations: 97.12 kB / 15.73 MB, free: 6.004 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.001094/0.001094, allocations: 195 kB / 16.67 MB, free: 5.934 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.367/1.367, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.638/2.638, allocations: 472.6 MB / 0.7453 GB, free: 0.5117 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001174, allocations: 59.91 kB / 1.069 GB, free: 9.559 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8775/0.8787, allocations: 159.9 MB / 1.226 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY1): time 0.002423/0.8812, allocations: 1.44 MB / 1.227 GB, free: 12.03 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.000675/0.8818, allocations: 370.8 kB / 1.227 GB, free: 11.67 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.612e-05/0.8819, allocations: 0 / 1.227 GB, free: 11.67 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 2.831e-05/0.8819, allocations: 0 / 1.227 GB, free: 11.67 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 4.404e-05/0.882, allocations: 3.938 kB / 1.227 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004663/0.8825, allocations: 103.7 kB / 1.227 GB, free: 11.56 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 6.045e-05/0.8825, allocations: 19.94 kB / 1.228 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 8.425e-05/0.8826, allocations: 7.984 kB / 1.228 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 4.033e-05/0.8827, allocations: 11.94 kB / 1.228 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 3.928e-05/0.8827, allocations: 15.98 kB / 1.228 GB, free: 11.51 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.029e-05/0.8827, allocations: 0 / 1.228 GB, free: 11.51 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002215/0.8829, allocations: 127.7 kB / 1.228 GB, free: 11.38 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.494e-05/0.883, allocations: 8 kB / 1.228 GB, free: 11.38 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.23e-05/0.883, allocations: 7.938 kB / 1.228 GB, free: 11.37 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001881/0.8832, allocations: 91.3 kB / 1.228 GB, free: 11.28 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.8832, allocations: 4 kB / 1.228 GB, free: 11.28 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.403e-06/0.8832, allocations: 0 / 1.228 GB, free: 11.28 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.8832, allocations: 0 / 1.228 GB, free: 11.28 MB / 0.9512 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.000474/0.8837, allocations: 356.2 kB / 1.228 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.8838, allocations: 12.03 kB / 1.228 GB, free: 10.87 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.087e-05/0.8838, allocations: 4.891 kB / 1.228 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001312/0.8839, allocations: 164.4 kB / 1.228 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.8839, allocations: 4.375 kB / 1.228 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.141e-05/0.884, allocations: 384 / 1.228 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001704/0.8841, allocations: 58.16 kB / 1.228 GB, free: 10.6 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.8842, allocations: 192 / 1.228 GB, free: 10.6 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.8842, allocations: 3.938 kB / 1.228 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.8842, allocations: 7.938 kB / 1.228 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001605/0.8843, allocations: 31.97 kB / 1.228 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003008/0.8847, allocations: 248.9 kB / 1.229 GB, free: 10.26 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001218/0.8848, allocations: 42.44 kB / 1.229 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.184e-05/0.8849, allocations: 24.91 kB / 1.229 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007057/0.8856, allocations: 469.4 kB / 1.229 GB, free: 9.633 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.547e-05/0.8856, allocations: 38.56 kB / 1.229 GB, free: 9.586 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.8856, allocations: 0 / 1.229 GB, free: 9.586 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0003354/0.886, allocations: 77.64 kB / 1.229 GB, free: 9.504 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.637e-05/0.886, allocations: 51.41 kB / 1.229 GB, free: 9.441 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.991e-05/0.8861, allocations: 97.86 kB / 1.229 GB, free: 9.336 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.279e-05/0.8861, allocations: 29.64 kB / 1.229 GB, free: 9.301 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.812e-05/0.8862, allocations: 96.2 kB / 1.23 GB, free: 9.203 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.747e-05/0.8862, allocations: 7.953 kB / 1.23 GB, free: 9.195 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.972e-05/0.8862, allocations: 9.719 kB / 1.23 GB, free: 9.18 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.924e-05/0.8863, allocations: 314.8 kB / 1.23 GB, free: 8.863 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.889e-05/0.8864, allocations: 15.98 kB / 1.23 GB, free: 8.848 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.238e-05/0.8865, allocations: 15.97 kB / 1.23 GB, free: 8.832 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001484/0.8867, allocations: 40.89 kB / 1.23 GB, free: 8.789 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.8867, allocations: 0 / 1.23 GB, free: 8.789 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001925/0.8869, allocations: 73.59 kB / 1.23 GB, free: 8.711 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.8869, allocations: 5.406 kB / 1.23 GB, free: 8.707 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.8869, allocations: 0 / 1.23 GB, free: 8.707 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/0.8869, allocations: 0 / 1.23 GB, free: 8.707 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.192e-05/0.887, allocations: 19.95 kB / 1.23 GB, free: 8.688 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.887, allocations: 0 / 1.23 GB, free: 8.688 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.438e-05/0.8871, allocations: 4 kB / 1.23 GB, free: 8.684 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.628e-06/0.8871, allocations: 0 / 1.23 GB, free: 8.684 MB / 0.9512 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 6.803e-05/0.8871, allocations: 110.3 kB / 1.23 GB, free: 8.566 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.35e-05/0.8872, allocations: 7.984 kB / 1.23 GB, free: 8.559 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000227/0.8874, allocations: 76.78 kB / 1.23 GB, free: 8.477 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.8874, allocations: 0 / 1.23 GB, free: 8.477 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.8874, allocations: 0 / 1.23 GB, free: 8.477 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.8874, allocations: 4 kB / 1.23 GB, free: 8.473 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001546/0.8876, allocations: 161.5 kB / 1.23 GB, free: 8.266 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.8876, allocations: 0 / 1.23 GB, free: 8.266 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.552e-05/0.8877, allocations: 7.984 kB / 1.23 GB, free: 8.258 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/0.8877, allocations: 0 / 1.23 GB, free: 8.258 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.766e-06/0.8877, allocations: 11.88 kB / 1.23 GB, free: 8.246 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.8877, allocations: 0 / 1.23 GB, free: 8.246 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.8877, allocations: 0 / 1.23 GB, free: 8.246 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002334/0.8879, allocations: 171.4 kB / 1.231 GB, free: 8.062 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.173e-05/0.888, allocations: 81.05 kB / 1.231 GB, free: 7.965 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.186e-05/0.888, allocations: 0 / 1.231 GB, free: 7.965 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.662e-05/0.8881, allocations: 7.984 kB / 1.231 GB, free: 7.957 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.477e-05/0.8881, allocations: 0 / 1.231 GB, free: 7.957 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.8881, allocations: 8.031 kB / 1.231 GB, free: 7.949 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 3.603e-05/0.8882, allocations: 87.44 kB / 1.231 GB, free: 7.863 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8882, allocations: 0 / 1.231 GB, free: 7.863 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002568/0.8884, allocations: 27.94 kB / 1.231 GB, free: 7.836 MB / 0.9512 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.0002484/0.8887, allocations: 139.2 kB / 1.231 GB, free: 7.688 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002128/0.8889, allocations: 39.89 kB / 1.231 GB, free: 7.648 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.8889, allocations: 0 / 1.231 GB, free: 7.648 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 8.661e-05/0.889, allocations: 19.98 kB / 1.231 GB, free: 7.629 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00023/0.8893, allocations: 4.062 kB / 1.231 GB, free: 7.625 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002695/0.8895, allocations: 109.4 kB / 1.231 GB, free: 7.492 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002749/0.8898, allocations: 0.6768 MB / 1.232 GB, free: 6.789 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.108e-05/0.8898, allocations: 0 / 1.232 GB, free: 6.789 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.465e-05/0.8899, allocations: 11.44 kB / 1.232 GB, free: 6.777 MB / 0.9512 GB Notification: Performance of SimCode: time 4.11e-07/0.8899, allocations: 0 / 1.232 GB, free: 6.777 MB / 0.9512 GB Notification: Performance of Templates: time 0.0031/0.893, allocations: 0.8994 MB / 1.233 GB, free: 5.879 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BesselY1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches