Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.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.Examples.BesselY0,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselY0,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_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.008637/0.008637, allocations: 102 kB / 15.73 MB, free: 5.555 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.002404/0.002404, allocations: 191.4 kB / 16.67 MB, free: 5.484 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.506/1.506, allocations: 222.9 MB / 240.4 MB, free: 4.352 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.92/2.92, allocations: 469.8 MB / 0.7425 GB, free: 7.301 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001898/0.001898, allocations: 63.91 kB / 1.065 GB, free: 13.55 MB / 0.8263 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3148/0.3167, allocations: 159.1 MB / 1.22 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY0): time 0.002653/0.3194, allocations: 1.441 MB / 1.222 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0007319/0.3202, allocations: 350.8 kB / 1.222 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.534e-05/0.3202, allocations: 0 / 1.222 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.917e-05/0.3202, allocations: 0 / 1.222 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.379e-05/0.3203, allocations: 7.922 kB / 1.222 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004543/0.3208, allocations: 99.72 kB / 1.222 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.79e-05/0.3208, allocations: 23.91 kB / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 7.949e-05/0.3209, allocations: 4 kB / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.19e-05/0.321, allocations: 11.94 kB / 1.222 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001133/0.3211, allocations: 11.98 kB / 1.222 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.919e-06/0.3211, allocations: 4 kB / 1.222 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000235/0.3214, allocations: 119.8 kB / 1.222 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.438e-05/0.3214, allocations: 7.984 kB / 1.222 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.772e-05/0.3214, allocations: 11.94 kB / 1.222 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001988/0.3216, allocations: 87.69 kB / 1.222 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.3216, allocations: 0 / 1.222 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.044e-06/0.3216, allocations: 0 / 1.222 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.3216, allocations: 0 / 1.222 GB, free: 12.11 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000543/0.3222, allocations: 355.3 kB / 1.223 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.3222, allocations: 12.03 kB / 1.223 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.924e-05/0.3223, allocations: 30.75 kB / 1.223 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.805e-05/0.3223, allocations: 12.88 kB / 1.223 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001408/0.3225, allocations: 160.4 kB / 1.223 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.3225, allocations: 384 / 1.223 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.273e-06/0.3225, allocations: 384 / 1.223 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001942/0.3227, allocations: 54.17 kB / 1.223 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.3227, allocations: 3.938 kB / 1.223 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.346e-06/0.3227, allocations: 0 / 1.223 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.343e-06/0.3227, allocations: 8 kB / 1.223 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001776/0.3229, allocations: 27.97 kB / 1.223 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003654/0.3233, allocations: 252.9 kB / 1.223 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001409/0.3234, allocations: 38.5 kB / 1.223 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.815e-05/0.3236, allocations: 36.83 kB / 1.223 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007904/0.3244, allocations: 457.5 kB / 1.224 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.628e-05/0.3244, allocations: 30.56 kB / 1.224 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.353e-06/0.3244, allocations: 4 kB / 1.224 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003828/0.3248, allocations: 81.58 kB / 1.224 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.839e-05/0.3249, allocations: 55.41 kB / 1.224 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000124/0.325, allocations: 97.84 kB / 1.224 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.819e-05/0.325, allocations: 29.7 kB / 1.224 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.328e-05/0.3251, allocations: 88.09 kB / 1.224 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.697e-05/0.3251, allocations: 8.078 kB / 1.224 GB, free: 10 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.921e-05/0.3251, allocations: 13.72 kB / 1.224 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.3253, allocations: 322.8 kB / 1.224 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.702e-05/0.3254, allocations: 11.98 kB / 1.224 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.846e-05/0.3255, allocations: 15.98 kB / 1.224 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001594/0.3256, allocations: 40.89 kB / 1.224 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.3257, allocations: 3.938 kB / 1.224 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002281/0.3259, allocations: 65.66 kB / 1.224 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.3259, allocations: 4 kB / 1.224 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.3259, allocations: 0 / 1.224 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.3259, allocations: 4 kB / 1.224 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.445e-05/0.326, allocations: 7.984 kB / 1.225 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.326, allocations: 3.938 kB / 1.225 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.803e-05/0.3261, allocations: 15.95 kB / 1.225 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.57e-06/0.3261, allocations: 0 / 1.225 GB, free: 9.477 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 (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 8.306e-05/0.3262, allocations: 113.8 kB / 1.225 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.249e-05/0.3262, allocations: 0 / 1.225 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002268/0.3265, allocations: 68.78 kB / 1.225 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.3265, allocations: 4 kB / 1.225 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.3265, allocations: 8.031 kB / 1.225 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.3265, allocations: 0 / 1.225 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001826/0.3267, allocations: 161.6 kB / 1.225 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.3267, allocations: 0 / 1.225 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.476e-05/0.3267, allocations: 4 kB / 1.225 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.3268, allocations: 7.984 kB / 1.225 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-06/0.3268, allocations: 3.938 kB / 1.225 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.3268, allocations: 0 / 1.225 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.3268, allocations: 3.938 kB / 1.225 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002575/0.327, allocations: 171.4 kB / 1.225 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001167/0.3272, allocations: 77.11 kB / 1.225 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.179e-05/0.3272, allocations: 0 / 1.225 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.998e-05/0.3273, allocations: 7.984 kB / 1.225 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.727e-05/0.3273, allocations: 4 kB / 1.225 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-06/0.3273, allocations: 0 / 1.225 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.986e-05/0.3274, allocations: 87.31 kB / 1.225 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3274, allocations: 0 / 1.225 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002931/0.3277, allocations: 31.92 kB / 1.225 GB, free: 8.641 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 (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.0008627/0.3286, allocations: 0.7323 MB / 1.226 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002205/0.3288, allocations: 31.97 kB / 1.226 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3288, allocations: 4.062 kB / 1.226 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.094e-05/0.3289, allocations: 19.98 kB / 1.226 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002358/0.3291, allocations: 7.984 kB / 1.226 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004323/0.3296, allocations: 150.8 kB / 1.226 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003222/0.3299, allocations: 0.6768 MB / 1.227 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.34e-05/0.3299, allocations: 4 kB / 1.227 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.324e-05/0.33, allocations: 15.5 kB / 1.227 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of SimCode: time 2.41e-07/0.33, allocations: 0 / 1.227 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02432/0.3543, allocations: 1.74 MB / 1.229 GB, free: 5.23 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.162/8.516, allocations: 0 / 1.229 GB, free: 5.23 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Utilities.Math.Examples.BesselY0.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.BesselY0.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.BesselY0.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Math.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_Examples_BesselY0.fmu > Buildings_11_Buildings.Utilities.Math.Examples.BesselY0.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.BesselY0_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_BesselY0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.BesselY0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches