Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.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.Examples.BesselJ0,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ0,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_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.001408/0.001408, allocations: 108 kB / 15.6 MB, free: 132 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.001415/0.001415, allocations: 193.4 kB / 16.53 MB, free: 6.391 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.332/1.332, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.711/2.711, allocations: 469.4 MB / 0.742 GB, free: 7.727 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 73.83 kB / 0.9083 GB, free: 34.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2717/0.273, allocations: 159.1 MB / 1.064 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.002721/0.2758, allocations: 1.43 MB / 1.065 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0005033/0.2763, allocations: 237 kB / 1.065 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.251e-05/0.2764, allocations: 0 / 1.065 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.664e-05/0.2764, allocations: 7.875 kB / 1.065 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.215e-05/0.2765, allocations: 11.92 kB / 1.065 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000347/0.2768, allocations: 55.89 kB / 1.065 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.667e-05/0.2769, allocations: 19.92 kB / 1.065 GB, free: 12.78 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.675e-05/0.277, allocations: 8 kB / 1.065 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.636e-05/0.277, allocations: 7.984 kB / 1.065 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.652e-05/0.2771, allocations: 11.92 kB / 1.065 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.047e-05/0.2771, allocations: 4 kB / 1.065 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001408/0.2772, allocations: 63.88 kB / 1.065 GB, free: 12.69 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.557e-06/0.2772, allocations: 4 kB / 1.065 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.094e-05/0.2773, allocations: 11.94 kB / 1.065 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001341/0.2774, allocations: 55.86 kB / 1.066 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.2774, allocations: 0 / 1.066 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.132e-06/0.2774, allocations: 0 / 1.066 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.2774, allocations: 0 / 1.066 GB, free: 12.62 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004075/0.2779, allocations: 347.7 kB / 1.066 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.2779, allocations: 12.02 kB / 1.066 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.314e-05/0.2779, allocations: 30.75 kB / 1.066 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.431e-05/0.278, allocations: 8.938 kB / 1.066 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001026/0.2781, allocations: 164.3 kB / 1.066 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.2781, allocations: 4.375 kB / 1.066 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.152e-05/0.2781, allocations: 4.375 kB / 1.066 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001642/0.2783, allocations: 46.23 kB / 1.066 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.2783, allocations: 7.875 kB / 1.066 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.746e-06/0.2783, allocations: 4 kB / 1.066 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.2783, allocations: 0 / 1.066 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001638/0.2785, allocations: 35.95 kB / 1.066 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002798/0.2788, allocations: 241 kB / 1.066 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001243/0.2789, allocations: 42.44 kB / 1.066 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.892e-05/0.279, allocations: 28.89 kB / 1.066 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006787/0.2797, allocations: 449.5 kB / 1.067 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.083e-05/0.2797, allocations: 38.56 kB / 1.067 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.333e-06/0.2797, allocations: 0 / 1.067 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003696/0.2801, allocations: 81.55 kB / 1.067 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.2e-05/0.2802, allocations: 59.34 kB / 1.067 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.234e-05/0.2802, allocations: 101.8 kB / 1.067 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.195e-05/0.2803, allocations: 25.7 kB / 1.067 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.981e-05/0.2803, allocations: 80.14 kB / 1.067 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.582e-05/0.2803, allocations: 11.91 kB / 1.067 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.113e-05/0.2804, allocations: 9.719 kB / 1.067 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001019/0.2805, allocations: 319 kB / 1.068 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.495e-05/0.2806, allocations: 19.98 kB / 1.068 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.416e-05/0.2806, allocations: 11.98 kB / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001525/0.2808, allocations: 44.75 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.2808, allocations: 3.938 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001931/0.281, allocations: 69.67 kB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.281, allocations: 8 kB / 1.068 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.281, allocations: 0 / 1.068 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.2811, allocations: 0 / 1.068 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.099e-05/0.2811, allocations: 7.984 kB / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.2812, allocations: 4 kB / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.622e-05/0.2812, allocations: 3.984 kB / 1.068 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-06/0.2812, allocations: 4 kB / 1.068 GB, free: 10.01 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 (2): * Single equations (assignments): 2 * 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.409e-05/0.2813, allocations: 113.8 kB / 1.068 GB, free: 9.887 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.42e-05/0.2813, allocations: 0 / 1.068 GB, free: 9.887 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002239/0.2816, allocations: 72.97 kB / 1.068 GB, free: 9.812 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.2816, allocations: 0 / 1.068 GB, free: 9.812 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.2816, allocations: 3.984 kB / 1.068 GB, free: 9.809 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.2816, allocations: 0 / 1.068 GB, free: 9.809 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001476/0.2817, allocations: 169.5 kB / 1.068 GB, free: 9.594 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.2817, allocations: 4.031 kB / 1.068 GB, free: 9.59 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.673e-05/0.2818, allocations: 11.98 kB / 1.068 GB, free: 9.578 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.2818, allocations: 0 / 1.068 GB, free: 9.578 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-06/0.2818, allocations: 0 / 1.068 GB, free: 9.578 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.2818, allocations: 4 kB / 1.068 GB, free: 9.574 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.2818, allocations: 3.938 kB / 1.068 GB, free: 9.57 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002293/0.2821, allocations: 171.4 kB / 1.068 GB, free: 9.387 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.575e-05/0.2821, allocations: 81.11 kB / 1.068 GB, free: 9.289 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.306e-05/0.2821, allocations: 0 / 1.068 GB, free: 9.289 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.434e-05/0.2822, allocations: 7.984 kB / 1.068 GB, free: 9.281 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.446e-05/0.2823, allocations: 0 / 1.068 GB, free: 9.281 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-06/0.2823, allocations: 0 / 1.068 GB, free: 9.281 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.602e-05/0.2823, allocations: 83.28 kB / 1.068 GB, free: 9.199 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2823, allocations: 0 / 1.068 GB, free: 9.199 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000237/0.2826, allocations: 12 kB / 1.068 GB, free: 9.188 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 (2): * Single equations (assignments): 2 * 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.0005341/0.2831, allocations: 0.7325 MB / 1.069 GB, free: 8.426 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002057/0.2833, allocations: 35.95 kB / 1.069 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.2833, allocations: 0 / 1.069 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.589e-05/0.2834, allocations: 27.86 kB / 1.069 GB, free: 8.363 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002167/0.2836, allocations: 0 / 1.069 GB, free: 8.363 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004108/0.2841, allocations: 143.3 kB / 1.069 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001947/0.2843, allocations: 0.6768 MB / 1.07 GB, free: 7.48 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.933e-05/0.2843, allocations: 0 / 1.07 GB, free: 7.48 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.839e-05/0.2843, allocations: 15.44 kB / 1.07 GB, free: 7.469 MB / 0.8262 GB Notification: Performance of SimCode: time 3.21e-07/0.2843, allocations: 0 / 1.07 GB, free: 7.469 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01696/0.3013, allocations: 1.485 MB / 1.072 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.272/7.574, allocations: 3.25 kB / 1.072 GB, free: 6.039 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Math.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_Examples_BesselJ0.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BesselJ0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches