Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.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.BesselJ1,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_BesselJ1",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.007299/0.007299, allocations: 100.6 kB / 15.73 MB, free: 6 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.001205/0.001205, allocations: 189.3 kB / 16.67 MB, free: 5.934 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.559/1.559, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.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.722/2.722, allocations: 437 MB / 0.7105 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0015/0.0015, allocations: 67.89 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3869/0.3884, allocations: 151.6 MB / 1.166 GB, free: 7.316 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.002094/0.3906, allocations: 0.5785 MB / 1.167 GB, free: 6.738 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0005641/0.3912, allocations: 203.7 kB / 1.167 GB, free: 6.539 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.538e-05/0.3912, allocations: 0 / 1.167 GB, free: 6.539 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.76e-05/0.3912, allocations: 0 / 1.167 GB, free: 6.539 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.334e-06/0.3913, allocations: 0 / 1.167 GB, free: 6.539 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004848/0.3918, allocations: 51.83 kB / 1.167 GB, free: 6.488 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 4.824e-05/0.3918, allocations: 7.938 kB / 1.167 GB, free: 6.48 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 5.112e-05/0.3919, allocations: 0 / 1.167 GB, free: 6.48 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 1.553e-05/0.3919, allocations: 4 kB / 1.167 GB, free: 6.477 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 2.789e-05/0.392, allocations: 7.984 kB / 1.167 GB, free: 6.469 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 7.053e-06/0.392, allocations: 0 / 1.167 GB, free: 6.469 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001984/0.3922, allocations: 55.94 kB / 1.167 GB, free: 6.414 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 8.445e-06/0.3922, allocations: 0 / 1.167 GB, free: 6.414 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 1.931e-05/0.3922, allocations: 0 / 1.167 GB, free: 6.414 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001447/0.3924, allocations: 40.16 kB / 1.167 GB, free: 6.375 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.3924, allocations: 0 / 1.167 GB, free: 6.375 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.694e-06/0.3924, allocations: 3.938 kB / 1.167 GB, free: 6.371 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.3924, allocations: 4 kB / 1.167 GB, free: 6.367 MB / 0.92 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.0003337/0.3927, allocations: 323.5 kB / 1.167 GB, free: 6 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.3928, allocations: 8.031 kB / 1.167 GB, free: 5.992 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.476e-05/0.3928, allocations: 30.75 kB / 1.167 GB, free: 5.953 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.43e-05/0.3929, allocations: 4.938 kB / 1.167 GB, free: 5.949 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001144/0.393, allocations: 164.4 kB / 1.168 GB, free: 5.75 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.393, allocations: 4.375 kB / 1.168 GB, free: 5.746 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.292e-05/0.393, allocations: 4.359 kB / 1.168 GB, free: 5.742 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001025/0.3931, allocations: 30.25 kB / 1.168 GB, free: 5.707 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.3931, allocations: 3.938 kB / 1.168 GB, free: 5.703 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.707e-06/0.3932, allocations: 4 kB / 1.168 GB, free: 5.699 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.3932, allocations: 4 kB / 1.168 GB, free: 5.695 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.602e-05/0.3932, allocations: 3.938 kB / 1.168 GB, free: 5.691 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001546/0.3934, allocations: 145.6 kB / 1.168 GB, free: 5.5 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 4.668e-05/0.3934, allocations: 22.61 kB / 1.168 GB, free: 5.469 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.564e-05/0.3935, allocations: 4.859 kB / 1.168 GB, free: 5.461 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008181/0.3943, allocations: 457.5 kB / 1.168 GB, free: 4.922 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.955e-05/0.3943, allocations: 34.56 kB / 1.168 GB, free: 4.879 MB / 0.92 GB Notification: Performance of pre-optimization done (n=1): time 1.162e-06/0.3943, allocations: 0 / 1.168 GB, free: 4.879 MB / 0.92 GB Notification: Performance of matching and sorting (n=1): time 0.0001519/0.3945, allocations: 49.52 kB / 1.168 GB, free: 4.824 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.827e-05/0.3945, allocations: 51.41 kB / 1.168 GB, free: 4.762 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.066e-05/0.3946, allocations: 93.98 kB / 1.169 GB, free: 4.66 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/0.3946, allocations: 25.7 kB / 1.169 GB, free: 4.629 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 2.698e-05/0.3946, allocations: 80.14 kB / 1.169 GB, free: 4.547 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.032e-05/0.3947, allocations: 0 / 1.169 GB, free: 4.547 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.472e-05/0.3947, allocations: 13.72 kB / 1.169 GB, free: 4.527 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.3948, allocations: 314.8 kB / 1.169 GB, free: 4.211 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.159e-05/0.3948, allocations: 0 / 1.169 GB, free: 4.211 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.827e-06/0.3949, allocations: 4 kB / 1.169 GB, free: 4.207 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.76e-05/0.3949, allocations: 8.922 kB / 1.169 GB, free: 4.195 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3949, allocations: 0 / 1.169 GB, free: 4.195 MB / 0.92 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.894e-05/0.395, allocations: 41.62 kB / 1.169 GB, free: 4.148 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.395, allocations: 4 kB / 1.169 GB, free: 4.145 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.395, allocations: 3.938 kB / 1.169 GB, free: 4.141 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.395, allocations: 0 / 1.169 GB, free: 4.141 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.303e-05/0.3951, allocations: 4 kB / 1.169 GB, free: 4.137 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.3951, allocations: 0 / 1.169 GB, free: 4.137 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.061e-05/0.3951, allocations: 3.938 kB / 1.169 GB, free: 4.133 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.3951, allocations: 0 / 1.169 GB, free: 4.133 MB / 0.92 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 6.607e-05/0.3952, allocations: 113.9 kB / 1.169 GB, free: 4.012 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.494e-06/0.3952, allocations: 0 / 1.169 GB, free: 4.012 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.651e-05/0.3953, allocations: 40.75 kB / 1.169 GB, free: 3.965 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.3953, allocations: 7.938 kB / 1.169 GB, free: 3.957 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.3953, allocations: 0 / 1.169 GB, free: 3.957 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.3953, allocations: 0 / 1.169 GB, free: 3.957 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.838e-05/0.3954, allocations: 145.7 kB / 1.169 GB, free: 3.766 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.3954, allocations: 0 / 1.169 GB, free: 3.766 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.528e-05/0.3954, allocations: 8.031 kB / 1.169 GB, free: 3.758 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.3955, allocations: 0 / 1.169 GB, free: 3.758 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.664e-06/0.3955, allocations: 3.938 kB / 1.169 GB, free: 3.754 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/0.3955, allocations: 7.984 kB / 1.169 GB, free: 3.746 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.3955, allocations: 0 / 1.169 GB, free: 3.746 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.483e-05/0.3956, allocations: 57.12 kB / 1.169 GB, free: 3.672 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.521e-05/0.3956, allocations: 81.11 kB / 1.169 GB, free: 3.574 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.43e-05/0.3956, allocations: 3.938 kB / 1.169 GB, free: 3.57 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.374e-06/0.3956, allocations: 7.969 kB / 1.169 GB, free: 3.562 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.548e-05/0.3957, allocations: 0 / 1.169 GB, free: 3.562 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.334e-06/0.3957, allocations: 0 / 1.169 GB, free: 3.562 MB / 0.92 GB Notification: Performance of sorting global known variables: time 3.461e-05/0.3957, allocations: 75.28 kB / 1.17 GB, free: 3.488 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.503e-06/0.3957, allocations: 0 / 1.17 GB, free: 3.488 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002259/0.3959, allocations: 19.88 kB / 1.17 GB, free: 3.469 MB / 0.92 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.0004631/0.3964, allocations: 0.6202 MB / 1.17 GB, free: 2.816 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 8.115e-05/0.3965, allocations: 4 kB / 1.17 GB, free: 2.812 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3965, allocations: 0 / 1.17 GB, free: 2.812 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.37e-05/0.3965, allocations: 7.938 kB / 1.17 GB, free: 2.805 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001365/0.3967, allocations: 6.031 kB / 1.17 GB, free: 2.801 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003015/0.397, allocations: 110.6 kB / 1.17 GB, free: 2.652 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002416/0.3972, allocations: 0.6729 MB / 1.171 GB, free: 1.953 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 1.228e-05/0.3973, allocations: 0 / 1.171 GB, free: 1.953 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.793e-05/0.3973, allocations: 7.438 kB / 1.171 GB, free: 1.945 MB / 0.92 GB Notification: Performance of SimCode: time 1.714e-06/0.3973, allocations: 0 / 1.171 GB, free: 1.945 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01847/0.4158, allocations: 1.158 MB / 1.172 GB, free: 0.8711 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.982/8.398, allocations: 5.516 kB / 1.172 GB, free: 0.8672 MB / 0.92 GB (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.csv --start-time 0 --stop-time 30 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.012 Buildings_10_Buildings_Utilities_Math_Functions_Examples_BesselJ1.fmu > Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_BesselJ1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches