Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.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.BesselJ0,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_BesselJ0",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.008011/0.008011, allocations: 100.1 kB / 15.73 MB, free: 6.004 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.001931/0.001931, allocations: 192.6 kB / 16.67 MB, free: 5.922 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.448/1.448, allocations: 222.9 MB / 240.4 MB, free: 15.06 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.704/2.704, allocations: 437 MB / 0.7105 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002687/0.002687, allocations: 67.91 kB / 1.018 GB, free: 9.812 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7879/0.7906, allocations: 151.6 MB / 1.166 GB, free: 3.691 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.00157/0.7922, allocations: 0.5806 MB / 1.167 GB, free: 3.113 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0004659/0.7927, allocations: 193.2 kB / 1.167 GB, free: 2.926 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.501e-05/0.7927, allocations: 0 / 1.167 GB, free: 2.926 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.026e-05/0.7927, allocations: 0 / 1.167 GB, free: 2.926 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.831e-06/0.7927, allocations: 0 / 1.167 GB, free: 2.926 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003436/0.7931, allocations: 51.84 kB / 1.167 GB, free: 2.875 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 3.601e-05/0.7931, allocations: 0 / 1.167 GB, free: 2.875 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 3.274e-05/0.7932, allocations: 3.984 kB / 1.167 GB, free: 2.871 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 1.299e-05/0.7932, allocations: 3.984 kB / 1.167 GB, free: 2.867 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 2.042e-05/0.7932, allocations: 8 kB / 1.167 GB, free: 2.859 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 6.292e-06/0.7932, allocations: 0 / 1.167 GB, free: 2.859 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001623/0.7934, allocations: 55.89 kB / 1.167 GB, free: 2.805 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 6.482e-06/0.7934, allocations: 0 / 1.167 GB, free: 2.805 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 1.237e-05/0.7934, allocations: 0 / 1.167 GB, free: 2.805 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001303/0.7936, allocations: 43.81 kB / 1.167 GB, free: 2.762 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.7936, allocations: 0 / 1.167 GB, free: 2.762 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.362e-06/0.7936, allocations: 4 kB / 1.167 GB, free: 2.758 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.053e-05/0.7936, allocations: 0 / 1.167 GB, free: 2.758 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.0003524/0.794, allocations: 319.2 kB / 1.167 GB, free: 2.398 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.794, allocations: 8.922 kB / 1.167 GB, free: 2.391 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.425e-05/0.794, allocations: 34.75 kB / 1.167 GB, free: 2.348 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.956e-05/0.7941, allocations: 4.938 kB / 1.167 GB, free: 2.344 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/0.7942, allocations: 160.4 kB / 1.168 GB, free: 2.148 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.7942, allocations: 4.375 kB / 1.168 GB, free: 2.145 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.907e-06/0.7942, allocations: 384 / 1.168 GB, free: 2.145 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.711e-05/0.7943, allocations: 26.27 kB / 1.168 GB, free: 2.113 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.7943, allocations: 7.938 kB / 1.168 GB, free: 2.105 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.667e-06/0.7943, allocations: 3.984 kB / 1.168 GB, free: 2.102 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.7944, allocations: 0 / 1.168 GB, free: 2.102 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.877e-05/0.7944, allocations: 3.938 kB / 1.168 GB, free: 2.098 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001489/0.7945, allocations: 145.7 kB / 1.168 GB, free: 1.906 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 4.531e-05/0.7946, allocations: 26.61 kB / 1.168 GB, free: 1.871 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.471e-05/0.7946, allocations: 4.859 kB / 1.168 GB, free: 1.863 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007364/0.7953, allocations: 453.5 kB / 1.168 GB, free: 1.328 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.804e-05/0.7954, allocations: 34.56 kB / 1.168 GB, free: 1.285 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=1): time 1.142e-06/0.7954, allocations: 0 / 1.168 GB, free: 1.285 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1): time 0.0001286/0.7955, allocations: 45.53 kB / 1.168 GB, free: 1.234 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.376e-05/0.7956, allocations: 51.41 kB / 1.168 GB, free: 1.172 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.611e-05/0.7956, allocations: 89.86 kB / 1.168 GB, free: 1.074 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.591e-05/0.7956, allocations: 25.7 kB / 1.168 GB, free: 1.043 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 4.166e-05/0.7957, allocations: 86.61 kB / 1.169 GB, free: 0.957 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.988e-05/0.7957, allocations: 128 / 1.169 GB, free: 0.957 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.819e-05/0.7958, allocations: 17.7 kB / 1.169 GB, free: 0.9336 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.7959, allocations: 310.8 kB / 1.169 GB, free: 0.6211 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.009e-05/0.7959, allocations: 4 kB / 1.169 GB, free: 0.6172 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.143e-06/0.7959, allocations: 4 kB / 1.169 GB, free: 0.6133 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.768e-05/0.796, allocations: 8.859 kB / 1.169 GB, free: 0.6016 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.796, allocations: 0 / 1.169 GB, free: 0.6016 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.415e-05/0.796, allocations: 37.58 kB / 1.169 GB, free: 0.5586 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.796, allocations: 8.094 kB / 1.169 GB, free: 0.5508 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.7961, allocations: 7.922 kB / 1.169 GB, free: 0.543 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.7961, allocations: 0 / 1.169 GB, free: 0.543 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.544e-05/0.7961, allocations: 4 kB / 1.169 GB, free: 0.5391 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.077e-06/0.7961, allocations: 3.938 kB / 1.169 GB, free: 0.5352 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.887e-06/0.7961, allocations: 0 / 1.169 GB, free: 0.5352 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.408e-06/0.7961, allocations: 0 / 1.169 GB, free: 0.5352 MB / 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 8.122e-05/0.7962, allocations: 109.8 kB / 1.169 GB, free: 428 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.212e-06/0.7962, allocations: 0 / 1.169 GB, free: 428 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.046e-05/0.7963, allocations: 56.67 kB / 1.169 GB, free: 360 kB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-06/0.7963, allocations: 0 / 1.169 GB, free: 360 kB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.7964, allocations: 0 / 1.169 GB, free: 360 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.683e-06/0.7964, allocations: 0 / 1.169 GB, free: 360 kB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001119/0.7965, allocations: 145.7 kB / 1.169 GB, free: 164 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.7965, allocations: 0 / 1.169 GB, free: 164 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.345e-05/0.7965, allocations: 4 kB / 1.169 GB, free: 160 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.7965, allocations: 0 / 1.169 GB, free: 160 kB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.7965, allocations: 3.938 kB / 1.169 GB, free: 156 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.7965, allocations: 3.984 kB / 1.169 GB, free: 152 kB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.7965, allocations: 4.031 kB / 1.169 GB, free: 148 kB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.898e-05/0.7966, allocations: 57.14 kB / 1.169 GB, free: 72 kB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 6.398e-05/0.7967, allocations: 77.11 kB / 1.169 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.161e-05/0.7967, allocations: 3.938 kB / 1.169 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.023e-06/0.7967, allocations: 0 / 1.169 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.499e-05/0.7967, allocations: 7.922 kB / 1.169 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.197e-06/0.7967, allocations: 4 kB / 1.169 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.254e-05/0.7968, allocations: 79.31 kB / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7968, allocations: 0 / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0001989/0.797, allocations: 11.94 kB / 1.17 GB, free: 15.87 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.0004809/0.7975, allocations: 0.6164 MB / 1.17 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 6.62e-05/0.7975, allocations: 8 kB / 1.17 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.7976, allocations: 0 / 1.17 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.249e-05/0.7976, allocations: 3.938 kB / 1.17 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001234/0.7977, allocations: 3.984 kB / 1.17 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002707/0.798, allocations: 110.5 kB / 1.17 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003014/0.7983, allocations: 0.673 MB / 1.171 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 9.909e-06/0.7983, allocations: 0 / 1.171 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.656e-05/0.7983, allocations: 11.42 kB / 1.171 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of SimCode: time 2.6e-07/0.7983, allocations: 0 / 1.171 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02241/0.8208, allocations: 1.147 MB / 1.172 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.898/8.718, allocations: 15.92 kB / 1.172 GB, free: 13.27 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0_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_BesselJ0.fmu > Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_BesselJ0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches