Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="Buildings_latest_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.001175/0.001175, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 190.5 kB / 16.53 MB, free: 6.664 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.314/1.314, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.663/2.663, allocations: 469.4 MB / 0.742 GB, free: 7.766 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 72.36 kB / 0.9083 GB, free: 34.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2864/0.2876, allocations: 159.1 MB / 1.064 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.002062/0.2897, allocations: 0.5817 MB / 1.064 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0004739/0.2902, allocations: 191.4 kB / 1.064 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.529e-05/0.2903, allocations: 0 / 1.064 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.179e-05/0.2903, allocations: 0 / 1.064 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.721e-06/0.2903, allocations: 0 / 1.064 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000401/0.2907, allocations: 47.84 kB / 1.064 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 3.887e-05/0.2908, allocations: 4 kB / 1.064 GB, free: 13.74 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.108e-05/0.2908, allocations: 0 / 1.064 GB, free: 13.74 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.616e-05/0.2908, allocations: 7.922 kB / 1.064 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 1.891e-05/0.2909, allocations: 4 kB / 1.064 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.163e-06/0.2909, allocations: 0 / 1.064 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001798/0.2911, allocations: 63.88 kB / 1.065 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.186e-06/0.2911, allocations: 0 / 1.065 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 1.925e-05/0.2911, allocations: 0 / 1.065 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001209/0.2912, allocations: 35.94 kB / 1.065 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.2913, allocations: 0 / 1.065 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2913, allocations: 0 / 1.065 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.2913, allocations: 0 / 1.065 GB, free: 13.63 MB / 0.8262 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.0003094/0.2916, allocations: 323.6 kB / 1.065 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.2916, allocations: 12.03 kB / 1.065 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.325e-05/0.2917, allocations: 30.75 kB / 1.065 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.585e-05/0.2917, allocations: 0.9375 kB / 1.065 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.377e-05/0.2918, allocations: 160.4 kB / 1.065 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/0.2918, allocations: 384 / 1.065 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.768e-06/0.2918, allocations: 4.375 kB / 1.065 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.224e-05/0.2919, allocations: 30.2 kB / 1.065 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.2919, allocations: 3.938 kB / 1.065 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.765e-06/0.292, allocations: 0 / 1.065 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.292, allocations: 0 / 1.065 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.312e-05/0.292, allocations: 11.94 kB / 1.065 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001297/0.2921, allocations: 149.7 kB / 1.065 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 3.861e-05/0.2922, allocations: 14.58 kB / 1.065 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.595e-05/0.2922, allocations: 8.953 kB / 1.065 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007461/0.293, allocations: 461.4 kB / 1.066 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.652e-05/0.293, allocations: 38.5 kB / 1.066 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 1.223e-06/0.293, allocations: 0 / 1.066 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0001317/0.2931, allocations: 33.64 kB / 1.066 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.33e-05/0.2932, allocations: 51.41 kB / 1.066 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.55e-05/0.2932, allocations: 89.86 kB / 1.066 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 9.838e-06/0.2932, allocations: 25.7 kB / 1.066 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 2.092e-05/0.2933, allocations: 84.27 kB / 1.066 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.489e-05/0.2933, allocations: 0 / 1.066 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.041e-05/0.2933, allocations: 17.72 kB / 1.066 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.775e-05/0.2934, allocations: 314.8 kB / 1.066 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.468e-06/0.2934, allocations: 0 / 1.066 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.57e-06/0.2934, allocations: 0 / 1.066 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.536e-05/0.2935, allocations: 12.8 kB / 1.066 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.2935, allocations: 0 / 1.066 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.501e-05/0.2935, allocations: 37.77 kB / 1.066 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.2936, allocations: 4 kB / 1.066 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.2936, allocations: 3.938 kB / 1.066 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.2936, allocations: 3.984 kB / 1.066 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.081e-05/0.2936, allocations: 0 / 1.066 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.337e-06/0.2937, allocations: 7.984 kB / 1.066 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.485e-05/0.2937, allocations: 8 kB / 1.066 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.361e-06/0.2937, allocations: 0 / 1.066 GB, free: 11.4 MB / 0.8262 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.282e-05/0.2937, allocations: 111.6 kB / 1.067 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.248e-06/0.2938, allocations: 3.906 kB / 1.067 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.587e-05/0.2938, allocations: 40.7 kB / 1.067 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.2939, allocations: 0 / 1.067 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.2939, allocations: 7.984 kB / 1.067 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.2939, allocations: 0 / 1.067 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.988e-05/0.294, allocations: 145.7 kB / 1.067 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.294, allocations: 0 / 1.067 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.52e-05/0.294, allocations: 0 / 1.067 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.294, allocations: 7.938 kB / 1.067 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.294, allocations: 7.969 kB / 1.067 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.294, allocations: 0 / 1.067 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.294, allocations: 0 / 1.067 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.458e-05/0.2941, allocations: 57.06 kB / 1.067 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.266e-05/0.2941, allocations: 81.11 kB / 1.067 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.198e-05/0.2942, allocations: 3.938 kB / 1.067 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.646e-06/0.2942, allocations: 4 kB / 1.067 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.074e-05/0.2942, allocations: 0 / 1.067 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-06/0.2942, allocations: 4.031 kB / 1.067 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 2.31e-05/0.2942, allocations: 79.22 kB / 1.067 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2942, allocations: 0 / 1.067 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002078/0.2944, allocations: 15.98 kB / 1.067 GB, free: 10.75 MB / 0.8262 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.0004124/0.2949, allocations: 0.6133 MB / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 6.921e-05/0.2949, allocations: 7.938 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.2949, allocations: 0 / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.015e-06/0.295, allocations: 4 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001253/0.2951, allocations: 0 / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00031/0.2954, allocations: 122.7 kB / 1.068 GB, free: 9.93 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001895/0.2956, allocations: 0.669 MB / 1.068 GB, free: 9.234 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.126e-05/0.2956, allocations: 4 kB / 1.068 GB, free: 9.23 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.714e-05/0.2956, allocations: 7.438 kB / 1.068 GB, free: 9.223 MB / 0.8262 GB Notification: Performance of SimCode: time 4.21e-07/0.2957, allocations: 0 / 1.068 GB, free: 9.223 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01749/0.3131, allocations: 1.134 MB / 1.069 GB, free: 8.168 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.971/7.285, allocations: 17.8 kB / 1.07 GB, free: 8.152 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Utilities_Math_Functions_Examples_BesselJ0.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_BesselJ0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches