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.006606/0.006606, allocations: 101.1 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.0015/0.0015, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.44/1.44, allocations: 222.9 MB / 240.4 MB, free: 4.176 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.519/2.519, allocations: 390.2 MB / 0.6648 GB, free: 144 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001401/0.001401, allocations: 65.25 kB / 0.9504 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3202/0.3216, allocations: 140.4 MB / 1.088 GB, free: 1.922 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY0): time 0.002257/0.3239, allocations: 0.5726 MB / 1.088 GB, free: 1.352 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0007189/0.3247, allocations: 287.3 kB / 1.088 GB, free: 1.07 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.658e-05/0.3247, allocations: 0 / 1.088 GB, free: 1.07 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.985e-05/0.3248, allocations: 0 / 1.088 GB, free: 1.07 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.893e-06/0.3248, allocations: 7.938 kB / 1.088 GB, free: 1.062 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005771/0.3254, allocations: 99.72 kB / 1.088 GB, free: 0.9648 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 4.218e-05/0.3254, allocations: 4 kB / 1.088 GB, free: 0.9609 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.951e-05/0.3255, allocations: 3.984 kB / 1.088 GB, free: 0.957 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 1.486e-05/0.3255, allocations: 0 / 1.088 GB, free: 0.957 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 2.213e-05/0.3255, allocations: 0 / 1.088 GB, free: 0.957 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 7.103e-06/0.3256, allocations: 0 / 1.088 GB, free: 0.957 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002757/0.3258, allocations: 119.8 kB / 1.089 GB, free: 0.8398 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 8.937e-06/0.3259, allocations: 0 / 1.089 GB, free: 0.8398 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 1.797e-05/0.3259, allocations: 3.938 kB / 1.089 GB, free: 0.8359 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001809/0.3261, allocations: 71.89 kB / 1.089 GB, free: 0.7656 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.3261, allocations: 0 / 1.089 GB, free: 0.7656 MB / 0.8419 GB Notification: Performance of FrontEnd: time 5.08e-06/0.3261, allocations: 0 / 1.089 GB, free: 0.7656 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.491e-06/0.3261, allocations: 3.938 kB / 1.089 GB, free: 0.7617 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.0003524/0.3265, allocations: 331.5 kB / 1.089 GB, free: 396 kB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.59e-05/0.3265, allocations: 12.03 kB / 1.089 GB, free: 384 kB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.688e-05/0.3266, allocations: 30.75 kB / 1.089 GB, free: 344 kB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.606e-05/0.3266, allocations: 0.9375 kB / 1.089 GB, free: 344 kB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001034/0.3267, allocations: 160.4 kB / 1.089 GB, free: 144 kB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/0.3267, allocations: 4.375 kB / 1.089 GB, free: 140 kB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.578e-06/0.3267, allocations: 4.375 kB / 1.089 GB, free: 136 kB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001047/0.3268, allocations: 30.27 kB / 1.089 GB, free: 100 kB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.3269, allocations: 3.938 kB / 1.089 GB, free: 96 kB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.745e-06/0.3269, allocations: 0 / 1.089 GB, free: 96 kB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.3269, allocations: 0 / 1.089 GB, free: 96 kB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.559e-05/0.3269, allocations: 3.984 kB / 1.089 GB, free: 92 kB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002105/0.3271, allocations: 153.6 kB / 1.089 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.379e-05/0.3272, allocations: 18.58 kB / 1.089 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.734e-05/0.3272, allocations: 4.859 kB / 1.089 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009078/0.3281, allocations: 461.5 kB / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.432e-05/0.3282, allocations: 30.56 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 1.773e-06/0.3282, allocations: 4 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0001628/0.3283, allocations: 37.58 kB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.228e-05/0.3284, allocations: 51.41 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.702e-05/0.3285, allocations: 93.86 kB / 1.09 GB, free: 15.06 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.3285, allocations: 25.7 kB / 1.09 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.174e-05/0.3285, allocations: 84.14 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.085e-05/0.3286, allocations: 0 / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.158e-05/0.3286, allocations: 13.7 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.3288, allocations: 315 kB / 1.09 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.473e-05/0.3288, allocations: 4 kB / 1.09 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.523e-06/0.3288, allocations: 0 / 1.09 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.144e-05/0.3288, allocations: 8.859 kB / 1.09 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.3288, allocations: 0 / 1.09 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.031e-05/0.3289, allocations: 37.64 kB / 1.09 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.3289, allocations: 4 kB / 1.09 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.3289, allocations: 7.922 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.329, allocations: 4.094 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.182e-05/0.329, allocations: 4 kB / 1.091 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.329, allocations: 3.938 kB / 1.091 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.09e-05/0.3291, allocations: 0 / 1.091 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.029e-06/0.3291, allocations: 3.938 kB / 1.091 GB, free: 14.52 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.0001006/0.3292, allocations: 109.8 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.978e-06/0.3292, allocations: 3.906 kB / 1.091 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.045e-05/0.3293, allocations: 48.73 kB / 1.091 GB, free: 14.35 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.3293, allocations: 4.031 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.3293, allocations: 3.938 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.3293, allocations: 0 / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001053/0.3294, allocations: 141.7 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.3294, allocations: 0 / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.543e-05/0.3295, allocations: 4 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.3295, allocations: 0 / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.3295, allocations: 3.938 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.3295, allocations: 3.984 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.3295, allocations: 4 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.158e-05/0.3296, allocations: 61.14 kB / 1.091 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.635e-05/0.3296, allocations: 77.11 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.135e-05/0.3296, allocations: 3.938 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.424e-06/0.3296, allocations: 0 / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.321e-05/0.3297, allocations: 3.984 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.958e-06/0.3297, allocations: 4 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.163e-05/0.3297, allocations: 75.28 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3297, allocations: 4.031 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002489/0.33, allocations: 24 kB / 1.091 GB, free: 13.85 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.0005505/0.3305, allocations: 0.6386 MB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 8.27e-05/0.3306, allocations: 4 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3306, allocations: 0 / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.043e-05/0.3306, allocations: 7.938 kB / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001403/0.3308, allocations: 4 kB / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003456/0.3311, allocations: 122.8 kB / 1.092 GB, free: 13.01 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002911/0.3314, allocations: 0.669 MB / 1.092 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 1.143e-05/0.3315, allocations: 3.938 kB / 1.092 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.962e-05/0.3315, allocations: 11.44 kB / 1.092 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of SimCode: time 3.6e-07/0.3315, allocations: 0 / 1.092 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01989/0.3514, allocations: 1.391 MB / 1.094 GB, free: 10.99 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.6/7.951, allocations: 4.062 kB / 1.094 GB, free: 10.99 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