Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.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 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.BesselJ1,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ1,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_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.001099/0.001099, 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.001156/0.001156, allocations: 196.7 kB / 16.53 MB, free: 6.699 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.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.64/2.64, allocations: 469.4 MB / 0.742 GB, free: 7.723 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 67.19 kB / 0.9083 GB, free: 34.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2837/0.2851, allocations: 159.1 MB / 1.064 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.002824/0.2879, allocations: 1.428 MB / 1.065 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0004966/0.2884, allocations: 252.9 kB / 1.065 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.779e-05/0.2885, allocations: 0 / 1.065 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.387e-05/0.2885, allocations: 3.938 kB / 1.065 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.122e-05/0.2886, allocations: 7.922 kB / 1.065 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003386/0.2889, allocations: 67.75 kB / 1.065 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.163e-05/0.289, allocations: 12 kB / 1.065 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.588e-05/0.2891, allocations: 11.98 kB / 1.065 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.181e-05/0.2891, allocations: 4 kB / 1.065 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.135e-05/0.2891, allocations: 15.92 kB / 1.065 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.685e-05/0.2892, allocations: 4 kB / 1.065 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001334/0.2893, allocations: 67.86 kB / 1.065 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.956e-06/0.2893, allocations: 0 / 1.065 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.516e-05/0.2893, allocations: 15.88 kB / 1.066 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001262/0.2895, allocations: 51.86 kB / 1.066 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.84e-06/0.2895, allocations: 4 kB / 1.066 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.055e-06/0.2895, allocations: 3.984 kB / 1.066 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.2895, allocations: 0 / 1.066 GB, free: 12.61 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.0004125/0.2899, allocations: 347.7 kB / 1.066 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.29, allocations: 8.031 kB / 1.066 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.147e-05/0.29, allocations: 38.75 kB / 1.066 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.419e-05/0.29, allocations: 8.859 kB / 1.066 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.46e-05/0.2901, allocations: 160.4 kB / 1.066 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/0.2901, allocations: 4.375 kB / 1.066 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.578e-06/0.2902, allocations: 384 / 1.066 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001643/0.2903, allocations: 50.23 kB / 1.066 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.794e-06/0.2903, allocations: 3.938 kB / 1.066 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.044e-06/0.2904, allocations: 4 kB / 1.066 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.2904, allocations: 0 / 1.066 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001643/0.2905, allocations: 35.95 kB / 1.066 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000287/0.2908, allocations: 244.9 kB / 1.066 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001296/0.291, allocations: 42.48 kB / 1.066 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.7e-05/0.2911, allocations: 24.91 kB / 1.066 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007473/0.2918, allocations: 457.5 kB / 1.067 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/0.2919, allocations: 38.56 kB / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.272e-06/0.2919, allocations: 0 / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003481/0.2922, allocations: 85.48 kB / 1.067 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.038e-05/0.2923, allocations: 51.41 kB / 1.067 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.501e-05/0.2923, allocations: 97.86 kB / 1.067 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.768e-05/0.2924, allocations: 25.7 kB / 1.067 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.135e-05/0.2924, allocations: 84.25 kB / 1.067 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.038e-05/0.2924, allocations: 15.91 kB / 1.067 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.948e-05/0.2925, allocations: 9.719 kB / 1.067 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.2926, allocations: 310.8 kB / 1.068 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.66e-05/0.2927, allocations: 23.98 kB / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.208e-05/0.2928, allocations: 15.97 kB / 1.068 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001608/0.2929, allocations: 40.89 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.293, allocations: 3.938 kB / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002037/0.2932, allocations: 77.53 kB / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.2932, allocations: 4 kB / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.2932, allocations: 0 / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.2932, allocations: 0 / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.335e-05/0.2933, allocations: 11.98 kB / 1.068 GB, free: 10 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/0.2933, allocations: 4.031 kB / 1.068 GB, free: 10 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.701e-05/0.2934, allocations: 4 kB / 1.068 GB, free: 9.996 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.94e-06/0.2934, allocations: 3.938 kB / 1.068 GB, free: 9.992 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 9.475e-05/0.2935, allocations: 109.8 kB / 1.068 GB, free: 9.875 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.895e-05/0.2935, allocations: 7.984 kB / 1.068 GB, free: 9.867 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002298/0.2937, allocations: 72.72 kB / 1.068 GB, free: 9.793 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.2938, allocations: 4.031 kB / 1.068 GB, free: 9.789 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.2938, allocations: 0 / 1.068 GB, free: 9.789 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.2938, allocations: 0 / 1.068 GB, free: 9.789 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001678/0.294, allocations: 161.5 kB / 1.068 GB, free: 9.582 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.294, allocations: 0 / 1.068 GB, free: 9.582 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.669e-05/0.294, allocations: 11.98 kB / 1.068 GB, free: 9.57 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.294, allocations: 0 / 1.068 GB, free: 9.57 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.294, allocations: 0 / 1.068 GB, free: 9.57 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.013e-06/0.294, allocations: 0 / 1.068 GB, free: 9.57 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.2941, allocations: 192 / 1.068 GB, free: 9.57 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002624/0.2943, allocations: 171.4 kB / 1.068 GB, free: 9.387 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.003e-05/0.2944, allocations: 85.09 kB / 1.068 GB, free: 9.285 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.363e-05/0.2944, allocations: 3.984 kB / 1.068 GB, free: 9.281 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.423e-05/0.2945, allocations: 4 kB / 1.068 GB, free: 9.277 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.43e-05/0.2945, allocations: 3.938 kB / 1.068 GB, free: 9.273 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-06/0.2945, allocations: 0 / 1.068 GB, free: 9.273 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.709e-05/0.2946, allocations: 91.3 kB / 1.068 GB, free: 9.184 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.1e-07/0.2946, allocations: 0 / 1.068 GB, free: 9.184 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002444/0.2948, allocations: 16 kB / 1.069 GB, free: 9.168 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.0006385/0.2955, allocations: 0.7169 MB / 1.069 GB, free: 8.422 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002104/0.2957, allocations: 35.91 kB / 1.069 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.2957, allocations: 0 / 1.069 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.772e-05/0.2958, allocations: 24.03 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.0002269/0.296, allocations: 8 kB / 1.069 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004434/0.2965, allocations: 147.1 kB / 1.069 GB, free: 8.172 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002904/0.2968, allocations: 0.6768 MB / 1.07 GB, free: 7.469 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.29e-05/0.2968, allocations: 0 / 1.07 GB, free: 7.469 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.763e-05/0.2969, allocations: 15.44 kB / 1.07 GB, free: 7.457 MB / 0.8262 GB Notification: Performance of SimCode: time 2.21e-07/0.2969, allocations: 0 / 1.07 GB, free: 7.457 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01845/0.3153, allocations: 1.484 MB / 1.072 GB, free: 6.031 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.368/7.683, allocations: 18.41 kB / 1.072 GB, free: 6.016 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Math.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_latest_Buildings_Utilities_Math_Examples_BesselJ1.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BesselJ1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches