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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselY1,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselY1,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_BesselY1",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.008046/0.008046, allocations: 101 kB / 15.73 MB, free: 6.059 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.001995/0.001996, allocations: 192.7 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.544/1.544, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.669/2.669, allocations: 437 MB / 0.7105 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001984, allocations: 75.88 kB / 1.018 GB, free: 9.871 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8033/0.8053, allocations: 151.6 MB / 1.166 GB, free: 3.793 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY1): time 0.001694/0.8071, allocations: 0.5751 MB / 1.167 GB, free: 3.223 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0006346/0.8077, allocations: 304.9 kB / 1.167 GB, free: 2.926 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.228e-05/0.8077, allocations: 0 / 1.167 GB, free: 2.926 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.572e-05/0.8078, allocations: 0 / 1.167 GB, free: 2.926 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.221e-06/0.8078, allocations: 0 / 1.167 GB, free: 2.926 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004621/0.8083, allocations: 103.7 kB / 1.167 GB, free: 2.824 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 4.598e-05/0.8083, allocations: 7.938 kB / 1.167 GB, free: 2.816 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 3.986e-05/0.8084, allocations: 4 kB / 1.167 GB, free: 2.812 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.204e-05/0.8084, allocations: 0 / 1.167 GB, free: 2.812 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 2.552e-05/0.8084, allocations: 7.984 kB / 1.167 GB, free: 2.805 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 7.274e-06/0.8084, allocations: 0 / 1.167 GB, free: 2.805 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002652/0.8087, allocations: 123.8 kB / 1.167 GB, free: 2.684 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 9.528e-06/0.8087, allocations: 3.984 kB / 1.167 GB, free: 2.68 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 1.406e-05/0.8087, allocations: 7.938 kB / 1.167 GB, free: 2.672 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001647/0.8089, allocations: 66.56 kB / 1.167 GB, free: 2.609 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.8089, allocations: 0 / 1.167 GB, free: 2.609 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.503e-06/0.8089, allocations: 0 / 1.167 GB, free: 2.609 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.927e-06/0.8089, allocations: 0 / 1.167 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.0003568/0.8093, allocations: 332.4 kB / 1.168 GB, free: 2.234 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.8093, allocations: 12.92 kB / 1.168 GB, free: 2.223 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.433e-05/0.8094, allocations: 34.75 kB / 1.168 GB, free: 2.18 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.96e-05/0.8094, allocations: 0.9375 kB / 1.168 GB, free: 2.18 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001143/0.8095, allocations: 164.4 kB / 1.168 GB, free: 1.98 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.8095, allocations: 384 / 1.168 GB, free: 1.98 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.807e-06/0.8096, allocations: 4.312 kB / 1.168 GB, free: 1.977 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.677e-05/0.8097, allocations: 36.67 kB / 1.168 GB, free: 1.938 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.8097, allocations: 3.938 kB / 1.168 GB, free: 1.934 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.171e-06/0.8097, allocations: 4 kB / 1.168 GB, free: 1.93 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.8097, allocations: 0 / 1.168 GB, free: 1.93 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.617e-05/0.8097, allocations: 0 / 1.168 GB, free: 1.93 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000155/0.8099, allocations: 149.7 kB / 1.168 GB, free: 1.734 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 4.467e-05/0.8099, allocations: 18.56 kB / 1.168 GB, free: 1.707 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.533e-05/0.8099, allocations: 4.859 kB / 1.168 GB, free: 1.699 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000839/0.8108, allocations: 477.5 kB / 1.169 GB, free: 1.141 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.875e-05/0.8108, allocations: 30.56 kB / 1.169 GB, free: 1.102 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=1): time 1.142e-06/0.8108, allocations: 0 / 1.169 GB, free: 1.102 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1): time 0.0001307/0.811, allocations: 41.59 kB / 1.169 GB, free: 1.055 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.596e-05/0.811, allocations: 63.39 kB / 1.169 GB, free: 0.9805 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.706e-05/0.8111, allocations: 89.86 kB / 1.169 GB, free: 0.8828 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/0.8111, allocations: 25.7 kB / 1.169 GB, free: 0.8516 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 3.234e-05/0.8111, allocations: 80.14 kB / 1.169 GB, free: 0.7695 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.413e-05/0.8112, allocations: 3.938 kB / 1.169 GB, free: 0.7656 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.722e-05/0.8112, allocations: 9.719 kB / 1.169 GB, free: 0.75 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.8113, allocations: 314.8 kB / 1.169 GB, free: 444 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.086e-05/0.8114, allocations: 4.125 kB / 1.169 GB, free: 440 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.174e-06/0.8114, allocations: 3.938 kB / 1.169 GB, free: 436 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.232e-05/0.8114, allocations: 12.86 kB / 1.169 GB, free: 420 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.8114, allocations: 0 / 1.169 GB, free: 420 kB / 0.8887 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.122e-05/0.8115, allocations: 33.69 kB / 1.169 GB, free: 380 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.8115, allocations: 4 kB / 1.169 GB, free: 376 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.425e-06/0.8115, allocations: 3.938 kB / 1.169 GB, free: 372 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.8115, allocations: 4 kB / 1.169 GB, free: 368 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.704e-05/0.8116, allocations: 0 / 1.169 GB, free: 368 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.037e-06/0.8116, allocations: 4.094 kB / 1.169 GB, free: 364 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.178e-06/0.8116, allocations: 0 / 1.169 GB, free: 364 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-06/0.8116, allocations: 3.938 kB / 1.169 GB, free: 360 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 7.302e-05/0.8117, allocations: 109.8 kB / 1.169 GB, free: 240 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.386e-06/0.8117, allocations: 0 / 1.169 GB, free: 240 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.541e-05/0.8118, allocations: 48.69 kB / 1.169 GB, free: 180 kB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.8118, allocations: 0 / 1.169 GB, free: 180 kB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.8118, allocations: 3.938 kB / 1.169 GB, free: 176 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.8118, allocations: 4.031 kB / 1.169 GB, free: 172 kB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001213/0.8119, allocations: 145.7 kB / 1.17 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.8119, allocations: 3.984 kB / 1.17 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.197e-05/0.812, allocations: 0 / 1.17 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.812, allocations: 0 / 1.17 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.812, allocations: 7.938 kB / 1.17 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.812, allocations: 0 / 1.17 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.812, allocations: 4 kB / 1.17 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.081e-05/0.8121, allocations: 61.08 kB / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.189e-05/0.8121, allocations: 81.09 kB / 1.17 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.067e-05/0.8121, allocations: 3.938 kB / 1.17 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.813e-06/0.8121, allocations: 0 / 1.17 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.482e-05/0.8122, allocations: 7.984 kB / 1.17 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-06/0.8122, allocations: 0 / 1.17 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.439e-05/0.8122, allocations: 75.28 kB / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1e-07/0.8122, allocations: 0 / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002262/0.8124, allocations: 23.94 kB / 1.17 GB, free: 15.68 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.0005283/0.813, allocations: 0.6398 MB / 1.17 GB, free: 15 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 6.449e-05/0.813, allocations: 3.938 kB / 1.17 GB, free: 15 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.8131, allocations: 4 kB / 1.17 GB, free: 15 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 8.025e-06/0.8131, allocations: 4 kB / 1.17 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001215/0.8132, allocations: 0 / 1.17 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002931/0.8135, allocations: 119.6 kB / 1.171 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002981/0.8138, allocations: 0.6729 MB / 1.171 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 1.242e-05/0.8138, allocations: 8.109 kB / 1.171 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.499e-05/0.8138, allocations: 7.438 kB / 1.171 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of SimCode: time 2.61e-07/0.8139, allocations: 0 / 1.171 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02081/0.8347, allocations: 1.403 MB / 1.173 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.942/8.776, allocations: 11.31 kB / 1.173 GB, free: 12.79 MB / 0.9044 GB (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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY1_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_10_Buildings_Utilities_Math_Functions_Examples_BesselY1.fmu > Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY1_res.csv","/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