Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Utilities_Math_Functions_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselY0,fileNamePrefix="Buildings_9_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.008108/0.008108, allocations: 99.47 kB / 15.73 MB, free: 5.988 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.002011/0.002011, allocations: 191.9 kB / 16.67 MB, free: 5.918 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.406/1.406, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.436/2.436, allocations: 390.2 MB / 0.6648 GB, free: 256 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 67.33 kB / 0.9504 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2978/0.299, allocations: 140.4 MB / 1.088 GB, free: 1.992 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY0): time 0.002472/0.3015, allocations: 0.5871 MB / 1.088 GB, free: 1.41 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0007012/0.3023, allocations: 299.2 kB / 1.088 GB, free: 1.117 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.601e-05/0.3023, allocations: 4 kB / 1.088 GB, free: 1.113 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.292e-05/0.3023, allocations: 0 / 1.088 GB, free: 1.113 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.261e-06/0.3024, allocations: 0 / 1.088 GB, free: 1.113 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005925/0.303, allocations: 95.72 kB / 1.088 GB, free: 1.02 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 4.215e-05/0.303, allocations: 0 / 1.088 GB, free: 1.02 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.894e-05/0.3031, allocations: 0 / 1.088 GB, free: 1.02 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 1.502e-05/0.3031, allocations: 0 / 1.088 GB, free: 1.02 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 2.128e-05/0.3031, allocations: 4 kB / 1.088 GB, free: 1.016 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 7.113e-06/0.3031, allocations: 4 kB / 1.088 GB, free: 1.012 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002912/0.3034, allocations: 115.8 kB / 1.089 GB, free: 0.8984 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 9.898e-06/0.3034, allocations: 0 / 1.089 GB, free: 0.8984 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.195e-05/0.3035, allocations: 4 kB / 1.089 GB, free: 0.8945 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001922/0.3037, allocations: 68.05 kB / 1.089 GB, free: 0.8281 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.3037, allocations: 0 / 1.089 GB, free: 0.8281 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.492e-06/0.3037, allocations: 0 / 1.089 GB, free: 0.8281 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.065e-05/0.3037, allocations: 0 / 1.089 GB, free: 0.8281 MB / 0.8419 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.0003688/0.3041, allocations: 335.3 kB / 1.089 GB, free: 460 kB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.3041, allocations: 12.03 kB / 1.089 GB, free: 448 kB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.695e-05/0.3042, allocations: 34.75 kB / 1.089 GB, free: 404 kB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.385e-05/0.3042, allocations: 0.9375 kB / 1.089 GB, free: 404 kB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001037/0.3043, allocations: 160.4 kB / 1.089 GB, free: 204 kB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.3043, allocations: 384 / 1.089 GB, free: 204 kB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.397e-06/0.3043, allocations: 384 / 1.089 GB, free: 204 kB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001016/0.3045, allocations: 38.19 kB / 1.089 GB, free: 160 kB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.3045, allocations: 3.938 kB / 1.089 GB, free: 156 kB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.105e-06/0.3045, allocations: 0 / 1.089 GB, free: 156 kB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.3045, allocations: 0 / 1.089 GB, free: 156 kB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.173e-05/0.3045, allocations: 7.938 kB / 1.089 GB, free: 148 kB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001536/0.3047, allocations: 149.7 kB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.461e-05/0.3047, allocations: 14.58 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.526e-05/0.3048, allocations: 8.953 kB / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008872/0.3057, allocations: 461.5 kB / 1.09 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.013e-05/0.3057, allocations: 30.56 kB / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.3057, allocations: 0 / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.000161/0.3059, allocations: 37.58 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.72e-05/0.3059, allocations: 63.39 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.262e-05/0.306, allocations: 89.86 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2e-05/0.306, allocations: 25.7 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.841e-05/0.3061, allocations: 84.27 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.965e-05/0.3061, allocations: 0 / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.857e-05/0.3062, allocations: 9.719 kB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001602/0.3063, allocations: 314.8 kB / 1.09 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.25e-05/0.3063, allocations: 0 / 1.09 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.877e-06/0.3064, allocations: 0 / 1.09 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.561e-05/0.3064, allocations: 12.86 kB / 1.09 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3064, allocations: 0 / 1.09 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.312e-05/0.3065, allocations: 41.69 kB / 1.09 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.3065, allocations: 4 kB / 1.091 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.3065, allocations: 3.938 kB / 1.091 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.3065, allocations: 4 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.712e-05/0.3066, allocations: 4 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.645e-06/0.3066, allocations: 3.938 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.311e-05/0.3066, allocations: 3.953 kB / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-06/0.3066, allocations: 0 / 1.091 GB, free: 14.58 MB / 0.8575 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 0.0001029/0.3068, allocations: 109.8 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.949e-06/0.3068, allocations: 4.031 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001046/0.3069, allocations: 48.69 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.3069, allocations: 0 / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.3069, allocations: 0 / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.3069, allocations: 0 / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001293/0.307, allocations: 145.7 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.097e-06/0.3071, allocations: 3.984 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.551e-05/0.3071, allocations: 0 / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.3071, allocations: 0 / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.268e-06/0.3071, allocations: 3.938 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.3071, allocations: 7.969 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.3071, allocations: 4 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.434e-05/0.3072, allocations: 53.14 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.41e-05/0.3073, allocations: 81.09 kB / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.358e-05/0.3073, allocations: 3.938 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.798e-06/0.3073, allocations: 3.984 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.445e-05/0.3073, allocations: 7.938 kB / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.204e-06/0.3073, allocations: 4.031 kB / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.748e-05/0.3074, allocations: 75.28 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.51e-07/0.3074, allocations: 0 / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002665/0.3076, allocations: 23.94 kB / 1.091 GB, free: 13.91 MB / 0.8575 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.000552/0.3082, allocations: 0.6319 MB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 8.179e-05/0.3083, allocations: 4 kB / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 9.257e-06/0.3083, allocations: 4 kB / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.059e-05/0.3083, allocations: 12 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001532/0.3085, allocations: 5.656 kB / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003588/0.3088, allocations: 118.6 kB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002871/0.3091, allocations: 0.6729 MB / 1.092 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 1.312e-05/0.3092, allocations: 3.938 kB / 1.092 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.082e-05/0.3092, allocations: 11.42 kB / 1.093 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of SimCode: time 2.4e-07/0.3092, allocations: 0 / 1.093 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02069/0.3299, allocations: 1.387 MB / 1.094 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.393/7.723, allocations: 6.031 kB / 1.094 GB, free: 11.04 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Utilities_Math_Functions_Examples_BesselY0.fmu > Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_BesselY0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches