Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Functions.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y1",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY1") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y1",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 111.9 kB / 16.41 MB, free: 6.469 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.001487/0.001487, allocations: 189.7 kB / 17.34 MB, free: 5.715 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.374/1.374, 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.1-maint.10.0.x/package.mo): time 2.503/2.503, allocations: 437 MB / 0.7112 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001576/0.001576, allocations: 68.12 kB / 1.019 GB, free: 9.352 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9049/0.9065, allocations: 151.6 MB / 1.167 GB, free: 3.801 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY1): time 0.001806/0.9084, allocations: 0.5828 MB / 1.168 GB, free: 3.223 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0006805/0.9091, allocations: 299 kB / 1.168 GB, free: 2.93 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.22e-05/0.9091, allocations: 0 / 1.168 GB, free: 2.93 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.341e-05/0.9091, allocations: 0 / 1.168 GB, free: 2.93 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.651e-06/0.9091, allocations: 0 / 1.168 GB, free: 2.93 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005156/0.9097, allocations: 103.7 kB / 1.168 GB, free: 2.828 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 4.278e-05/0.9097, allocations: 7.984 kB / 1.168 GB, free: 2.82 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 3.939e-05/0.9098, allocations: 3.938 kB / 1.168 GB, free: 2.816 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 1.59e-05/0.9098, allocations: 7.984 kB / 1.168 GB, free: 2.809 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 1.915e-05/0.9098, allocations: 4 kB / 1.168 GB, free: 2.805 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 5.7e-06/0.9098, allocations: 0 / 1.168 GB, free: 2.805 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002461/0.9101, allocations: 131.7 kB / 1.168 GB, free: 2.676 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 7.644e-06/0.9101, allocations: 0 / 1.168 GB, free: 2.676 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 1.592e-05/0.9101, allocations: 0 / 1.168 GB, free: 2.676 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001517/0.9103, allocations: 67.89 kB / 1.169 GB, free: 2.609 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.9103, allocations: 0 / 1.169 GB, free: 2.609 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.242e-06/0.9103, allocations: 0 / 1.169 GB, free: 2.609 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.254e-06/0.9103, allocations: 0 / 1.169 GB, free: 2.609 MB / 0.8887 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.0002982/0.9106, allocations: 335.6 kB / 1.169 GB, free: 2.23 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.9106, allocations: 8.922 kB / 1.169 GB, free: 2.223 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.629e-05/0.9107, allocations: 0.9375 kB / 1.169 GB, free: 2.223 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.42e-05/0.9108, allocations: 164.3 kB / 1.169 GB, free: 2.023 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.9108, allocations: 384 / 1.169 GB, free: 2.023 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.427e-06/0.9108, allocations: 384 / 1.169 GB, free: 2.023 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.199e-05/0.9109, allocations: 36.72 kB / 1.169 GB, free: 1.984 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.9109, allocations: 192 / 1.169 GB, free: 1.984 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.9109, allocations: 7.875 kB / 1.169 GB, free: 1.977 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.9109, allocations: 0 / 1.169 GB, free: 1.977 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.744e-05/0.911, allocations: 4 kB / 1.169 GB, free: 1.973 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001481/0.9111, allocations: 149.7 kB / 1.169 GB, free: 1.777 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 3.904e-05/0.9112, allocations: 18.52 kB / 1.169 GB, free: 1.75 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.671e-05/0.9112, allocations: 8.953 kB / 1.169 GB, free: 1.738 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008228/0.912, allocations: 473.4 kB / 1.17 GB, free: 1.184 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.56e-05/0.9121, allocations: 30.56 kB / 1.17 GB, free: 1.145 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=1): time 1.143e-06/0.9121, allocations: 0 / 1.17 GB, free: 1.145 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1): time 0.0001324/0.9122, allocations: 37.64 kB / 1.17 GB, free: 1.102 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.472e-05/0.9122, allocations: 55.53 kB / 1.17 GB, free: 1.035 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.379e-05/0.9123, allocations: 89.86 kB / 1.17 GB, free: 0.9375 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.194e-05/0.9123, allocations: 25.7 kB / 1.17 GB, free: 0.9062 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 2.886e-05/0.9123, allocations: 80.14 kB / 1.17 GB, free: 0.8242 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.587e-05/0.9124, allocations: 3.938 kB / 1.17 GB, free: 0.8203 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.782e-05/0.9124, allocations: 17.72 kB / 1.17 GB, free: 0.7969 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.9125, allocations: 314.8 kB / 1.17 GB, free: 492 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.896e-06/0.9125, allocations: 0 / 1.17 GB, free: 492 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.195e-06/0.9125, allocations: 4 kB / 1.17 GB, free: 488 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.86e-05/0.9126, allocations: 8.859 kB / 1.17 GB, free: 476 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.9126, allocations: 0 / 1.17 GB, free: 476 kB / 0.8887 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.966e-05/0.9126, allocations: 33.64 kB / 1.17 GB, free: 436 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.9126, allocations: 8 kB / 1.17 GB, free: 428 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.9127, allocations: 0 / 1.17 GB, free: 428 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.9127, allocations: 3.938 kB / 1.17 GB, free: 424 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.446e-05/0.9127, allocations: 3.984 kB / 1.17 GB, free: 420 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.9127, allocations: 3.938 kB / 1.17 GB, free: 416 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.472e-05/0.9127, allocations: 12 kB / 1.17 GB, free: 404 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.772e-06/0.9128, allocations: 7.984 kB / 1.17 GB, free: 396 kB / 0.8887 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 5.745e-05/0.9128, allocations: 105.8 kB / 1.17 GB, free: 280 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.495e-05/0.9128, allocations: 0 / 1.17 GB, free: 280 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.683e-05/0.9129, allocations: 36.77 kB / 1.171 GB, free: 232 kB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.9129, allocations: 3.984 kB / 1.171 GB, free: 228 kB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.9129, allocations: 0 / 1.171 GB, free: 228 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.913, allocations: 0 / 1.171 GB, free: 228 kB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.91e-05/0.913, allocations: 149.7 kB / 1.171 GB, free: 28 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.9131, allocations: 7.969 kB / 1.171 GB, free: 20 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.245e-05/0.9131, allocations: 0 / 1.171 GB, free: 20 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.9131, allocations: 4 kB / 1.171 GB, free: 16 kB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.143e-06/0.9131, allocations: 3.938 kB / 1.171 GB, free: 12 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.9131, allocations: 4 kB / 1.171 GB, free: 8 kB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.9131, allocations: 0 / 1.171 GB, free: 8 kB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.273e-05/0.9132, allocations: 57.06 kB / 1.171 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.226e-05/0.9132, allocations: 77.14 kB / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.099e-05/0.9132, allocations: 7.938 kB / 1.171 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.586e-06/0.9133, allocations: 8 kB / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.04e-05/0.9133, allocations: 0 / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.973e-06/0.9133, allocations: 0 / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 2.605e-05/0.9133, allocations: 75.28 kB / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9133, allocations: 0 / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002214/0.9135, allocations: 27.98 kB / 1.171 GB, free: 15.72 MB / 0.9044 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.0002542/0.9138, allocations: 139.2 kB / 1.171 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 6.146e-05/0.9139, allocations: 7.938 kB / 1.171 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.9139, allocations: 0 / 1.171 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 7.333e-06/0.9139, allocations: 4.062 kB / 1.171 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001218/0.914, allocations: 4.062 kB / 1.171 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002001/0.9142, allocations: 110.6 kB / 1.171 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002103/0.9144, allocations: 0.6729 MB / 1.172 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.359e-05/0.9145, allocations: 7.438 kB / 1.172 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of SimCode: time 2.21e-07/0.9145, allocations: 0 / 1.172 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of Templates: time 0.002016/0.9165, allocations: 0.7764 MB / 1.173 GB, free: 13.93 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY1.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY1.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_BesselY1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches