Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselY0,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselY0,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005418/0.005418, allocations: 95.39 kB / 15.73 MB, free: 6.039 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.001484/0.001484, allocations: 198.9 kB / 16.68 MB, free: 5.969 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.477/1.477, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.921/2.921, allocations: 469.8 MB / 0.7425 GB, free: 7.34 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002603/0.002603, allocations: 67.83 kB / 1.065 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.399/0.4016, allocations: 159.1 MB / 1.22 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY0): time 0.001676/0.4033, allocations: 0.5783 MB / 1.221 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0006144/0.4039, allocations: 296.8 kB / 1.221 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.264e-05/0.404, allocations: 4 kB / 1.221 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.54e-05/0.404, allocations: 0 / 1.221 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.48e-06/0.404, allocations: 0 / 1.221 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004389/0.4045, allocations: 95.72 kB / 1.221 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 3.572e-05/0.4045, allocations: 7.938 kB / 1.221 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.275e-05/0.4045, allocations: 0 / 1.221 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.165e-05/0.4046, allocations: 0 / 1.221 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 1.556e-05/0.4046, allocations: 0 / 1.221 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.39e-06/0.4046, allocations: 0 / 1.221 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002485/0.4048, allocations: 115.8 kB / 1.221 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.278e-06/0.4049, allocations: 8 kB / 1.221 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 1.556e-05/0.4049, allocations: 4 kB / 1.221 GB, free: 13.19 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001609/0.405, allocations: 67.83 kB / 1.221 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.4051, allocations: 0 / 1.221 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.954e-06/0.4051, allocations: 0 / 1.221 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.12e-06/0.4051, allocations: 0 / 1.221 GB, free: 13.12 MB / 0.9825 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.0003284/0.4054, allocations: 331.3 kB / 1.222 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.4054, allocations: 8.031 kB / 1.222 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.874e-05/0.4055, allocations: 30.75 kB / 1.222 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.47e-05/0.4055, allocations: 4.938 kB / 1.222 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001108/0.4056, allocations: 168.3 kB / 1.222 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.4057, allocations: 4.312 kB / 1.222 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.871e-06/0.4057, allocations: 384 / 1.222 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.635e-05/0.4058, allocations: 30.25 kB / 1.222 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.4058, allocations: 7.938 kB / 1.222 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.406e-06/0.4058, allocations: 4 kB / 1.222 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.4058, allocations: 0 / 1.222 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.672e-05/0.4058, allocations: 0 / 1.222 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001518/0.406, allocations: 141.7 kB / 1.222 GB, free: 12.26 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 4.692e-05/0.406, allocations: 26.55 kB / 1.222 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.644e-05/0.4061, allocations: 4.859 kB / 1.222 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007639/0.4068, allocations: 457.5 kB / 1.223 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.06e-05/0.4069, allocations: 38.56 kB / 1.223 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 1.163e-06/0.4069, allocations: 0 / 1.223 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0001181/0.407, allocations: 37.64 kB / 1.223 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.881e-05/0.407, allocations: 55.34 kB / 1.223 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.132e-05/0.4071, allocations: 93.84 kB / 1.223 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.434e-05/0.4071, allocations: 25.7 kB / 1.223 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.644e-05/0.4072, allocations: 80.14 kB / 1.223 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.56e-05/0.4072, allocations: 4.062 kB / 1.223 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.792e-05/0.4072, allocations: 17.72 kB / 1.223 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.4074, allocations: 310.8 kB / 1.223 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.266e-06/0.4074, allocations: 0 / 1.223 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.916e-06/0.4074, allocations: 8 kB / 1.223 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.459e-05/0.4074, allocations: 8.859 kB / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.4074, allocations: 0 / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.355e-05/0.4075, allocations: 37.69 kB / 1.223 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.4075, allocations: 8.094 kB / 1.223 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.4075, allocations: 3.938 kB / 1.223 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.069e-05/0.4075, allocations: 3.938 kB / 1.223 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.699e-05/0.4076, allocations: 4 kB / 1.223 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.4076, allocations: 3.938 kB / 1.223 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.836e-06/0.4076, allocations: 0 / 1.223 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.488e-06/0.4076, allocations: 0 / 1.223 GB, free: 10.88 MB / 0.9825 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 7.793e-05/0.4077, allocations: 105.8 kB / 1.223 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.941e-06/0.4077, allocations: 0 / 1.223 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.446e-05/0.4078, allocations: 48.75 kB / 1.223 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-06/0.4078, allocations: 4 kB / 1.223 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.4078, allocations: 0 / 1.223 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.4078, allocations: 0 / 1.223 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001151/0.4079, allocations: 145.7 kB / 1.224 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.4079, allocations: 0 / 1.224 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.503e-05/0.4079, allocations: 7.984 kB / 1.224 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.408, allocations: 3.938 kB / 1.224 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.408, allocations: 3.938 kB / 1.224 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.408, allocations: 3.938 kB / 1.224 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.408, allocations: 4.031 kB / 1.224 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.829e-05/0.4081, allocations: 57.14 kB / 1.224 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.175e-05/0.4081, allocations: 77.11 kB / 1.224 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.925e-05/0.4081, allocations: 7.922 kB / 1.224 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.763e-06/0.4081, allocations: 0 / 1.224 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.536e-06/0.4082, allocations: 0 / 1.224 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.824e-06/0.4082, allocations: 0 / 1.224 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.272e-05/0.4082, allocations: 79.31 kB / 1.224 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.4082, allocations: 0 / 1.224 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002188/0.4084, allocations: 27.94 kB / 1.224 GB, free: 10.21 MB / 0.9825 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.00053/0.409, allocations: 0.6363 MB / 1.224 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 6.164e-05/0.409, allocations: 8 kB / 1.224 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.409, allocations: 0 / 1.224 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.44e-06/0.4091, allocations: 0 / 1.224 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000123/0.4092, allocations: 4 kB / 1.224 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002887/0.4095, allocations: 122.5 kB / 1.225 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003112/0.4098, allocations: 0.6728 MB / 1.225 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.22e-05/0.4098, allocations: 7.938 kB / 1.225 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.558e-05/0.4098, allocations: 7.438 kB / 1.225 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of SimCode: time 2.81e-07/0.4098, allocations: 4 kB / 1.225 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02271/0.4326, allocations: 1.39 MB / 1.227 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.036/8.469, allocations: 0.7656 kB / 1.227 GB, free: 7.352 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselY0.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselY0_res.csv --start-time 0.1 --stop-time 30 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01196 Buildings_11_Buildings_Utilities_Math_Functions_Examples_BesselY0.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselY0_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_BesselY0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselY0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches