Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.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.Functions.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y0",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y0",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00163/0.00163, 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.001358/0.001358, allocations: 198.5 kB / 16.14 MB, free: 6.645 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.363/1.363, allocations: 222.9 MB / 239.8 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.721/2.721, allocations: 461.9 MB / 0.7342 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 65.98 kB / 0.8984 GB, free: 37.2 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3209/0.3221, allocations: 157.4 MB / 1.052 GB, free: 8.828 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY0): time 0.002038/0.3242, allocations: 0.6425 MB / 1.053 GB, free: 8.18 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0007687/0.325, allocations: 311 kB / 1.053 GB, free: 7.875 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.168e-05/0.325, allocations: 7.938 kB / 1.053 GB, free: 7.867 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.721e-05/0.3251, allocations: 0 / 1.053 GB, free: 7.867 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.871e-06/0.3251, allocations: 0 / 1.053 GB, free: 7.867 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004209/0.3255, allocations: 71.81 kB / 1.053 GB, free: 7.797 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 3.972e-05/0.3255, allocations: 3.984 kB / 1.053 GB, free: 7.793 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.719e-05/0.3256, allocations: 4 kB / 1.053 GB, free: 7.789 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.365e-05/0.3256, allocations: 0 / 1.053 GB, free: 7.789 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 2.299e-05/0.3256, allocations: 4 kB / 1.053 GB, free: 7.785 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 7.504e-06/0.3257, allocations: 0 / 1.053 GB, free: 7.785 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002803/0.3259, allocations: 131.7 kB / 1.053 GB, free: 7.656 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.386e-06/0.326, allocations: 4 kB / 1.053 GB, free: 7.652 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 1.9e-05/0.326, allocations: 0 / 1.053 GB, free: 7.652 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001759/0.3262, allocations: 67.84 kB / 1.053 GB, free: 7.586 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.3262, allocations: 0 / 1.053 GB, free: 7.586 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.785e-06/0.3262, allocations: 7.984 kB / 1.053 GB, free: 7.578 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.08e-06/0.3262, allocations: 0 / 1.053 GB, free: 7.578 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003802/0.3266, allocations: 335.5 kB / 1.054 GB, free: 7.199 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.3266, allocations: 12.03 kB / 1.054 GB, free: 7.188 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.719e-05/0.3267, allocations: 0.9375 kB / 1.054 GB, free: 7.188 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.202e-05/0.3268, allocations: 164.4 kB / 1.054 GB, free: 6.988 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.3268, allocations: 384 / 1.054 GB, free: 6.988 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.014e-05/0.3268, allocations: 384 / 1.054 GB, free: 6.988 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001086/0.3269, allocations: 34.2 kB / 1.054 GB, free: 6.949 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.3269, allocations: 4.188 kB / 1.054 GB, free: 6.945 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-06/0.3269, allocations: 3.938 kB / 1.054 GB, free: 6.941 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.3269, allocations: 0 / 1.054 GB, free: 6.941 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.838e-05/0.327, allocations: 0 / 1.054 GB, free: 6.941 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001388/0.3271, allocations: 153.7 kB / 1.054 GB, free: 6.742 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 4.563e-05/0.3272, allocations: 14.58 kB / 1.054 GB, free: 6.719 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.729e-05/0.3272, allocations: 4.859 kB / 1.054 GB, free: 6.711 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007667/0.3279, allocations: 457.6 kB / 1.054 GB, free: 6.172 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.009e-05/0.328, allocations: 42.48 kB / 1.054 GB, free: 6.121 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 1.183e-06/0.328, allocations: 0 / 1.054 GB, free: 6.121 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0001307/0.3281, allocations: 33.64 kB / 1.055 GB, free: 6.082 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.799e-05/0.3282, allocations: 55.53 kB / 1.055 GB, free: 6.016 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.422e-05/0.3282, allocations: 89.86 kB / 1.055 GB, free: 5.918 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.3282, allocations: 25.7 kB / 1.055 GB, free: 5.887 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.963e-05/0.3283, allocations: 84.14 kB / 1.055 GB, free: 5.801 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.785e-05/0.3283, allocations: 0 / 1.055 GB, free: 5.801 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.693e-05/0.3283, allocations: 13.72 kB / 1.055 GB, free: 5.781 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.3285, allocations: 310.8 kB / 1.055 GB, free: 5.469 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.223e-05/0.3285, allocations: 4 kB / 1.055 GB, free: 5.465 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.125e-06/0.3285, allocations: 7.984 kB / 1.055 GB, free: 5.457 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.295e-05/0.3285, allocations: 8.797 kB / 1.055 GB, free: 5.445 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.3285, allocations: 4 kB / 1.055 GB, free: 5.441 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.678e-05/0.3286, allocations: 33.64 kB / 1.055 GB, free: 5.402 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.3286, allocations: 5.719 kB / 1.055 GB, free: 5.398 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.3286, allocations: 0 / 1.055 GB, free: 5.398 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.3286, allocations: 3.938 kB / 1.055 GB, free: 5.395 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.201e-05/0.3287, allocations: 8 kB / 1.055 GB, free: 5.387 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.3287, allocations: 0 / 1.055 GB, free: 5.387 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.216e-05/0.3287, allocations: 4.094 kB / 1.055 GB, free: 5.383 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.182e-06/0.3287, allocations: 3.938 kB / 1.055 GB, free: 5.379 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 (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 8.506e-05/0.3288, allocations: 115.4 kB / 1.055 GB, free: 5.258 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.172e-06/0.3288, allocations: 4 kB / 1.055 GB, free: 5.254 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.325e-05/0.3289, allocations: 40.7 kB / 1.055 GB, free: 5.211 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.3289, allocations: 0 / 1.055 GB, free: 5.211 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.3289, allocations: 0 / 1.055 GB, free: 5.211 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-06/0.3289, allocations: 0 / 1.055 GB, free: 5.211 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001285/0.3291, allocations: 157.7 kB / 1.055 GB, free: 5.008 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.3291, allocations: 0 / 1.055 GB, free: 5.008 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.344e-05/0.3291, allocations: 4 kB / 1.055 GB, free: 5.004 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-06/0.3291, allocations: 0 / 1.055 GB, free: 5.004 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.241e-05/0.3291, allocations: 3.938 kB / 1.055 GB, free: 5 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.3291, allocations: 0 / 1.055 GB, free: 5 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3291, allocations: 0 / 1.055 GB, free: 5 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.776e-05/0.3292, allocations: 61.06 kB / 1.056 GB, free: 4.922 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.845e-05/0.3293, allocations: 81.14 kB / 1.056 GB, free: 4.824 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.281e-05/0.3293, allocations: 3.938 kB / 1.056 GB, free: 4.82 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.273e-06/0.3293, allocations: 0 / 1.056 GB, free: 4.82 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.555e-05/0.3293, allocations: 4 kB / 1.056 GB, free: 4.816 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-06/0.3293, allocations: 0 / 1.056 GB, free: 4.816 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.257e-05/0.3294, allocations: 79.28 kB / 1.056 GB, free: 4.738 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3294, allocations: 0 / 1.056 GB, free: 4.738 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000233/0.3296, allocations: 27.98 kB / 1.056 GB, free: 4.711 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 (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.000334/0.33, allocations: 139.2 kB / 1.056 GB, free: 4.562 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 8.368e-05/0.3301, allocations: 0 / 1.056 GB, free: 4.562 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3301, allocations: 4 kB / 1.056 GB, free: 4.559 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.776e-06/0.3301, allocations: 0 / 1.056 GB, free: 4.559 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001522/0.3302, allocations: 11.48 kB / 1.056 GB, free: 4.551 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002405/0.3305, allocations: 86.61 kB / 1.056 GB, free: 4.438 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003461/0.3308, allocations: 0.6731 MB / 1.057 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.346e-05/0.3309, allocations: 0 / 1.057 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.378e-05/0.3309, allocations: 7.438 kB / 1.057 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of SimCode: time 2.2e-07/0.3309, allocations: 0 / 1.057 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of Templates: time 0.0026/0.3335, allocations: 0.6329 MB / 1.057 GB, free: 3.098 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_BesselY0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches