Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.BesselJ1,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="Buildings_latest_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.001145/0.001145, 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.001236/0.001236, allocations: 192.8 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.32/1.32, allocations: 222.9 MB / 240.2 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.671/2.671, allocations: 469.4 MB / 0.742 GB, free: 7.676 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 70.52 kB / 0.9083 GB, free: 34.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2925/0.2938, allocations: 159.1 MB / 1.064 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.001719/0.2956, allocations: 0.5831 MB / 1.064 GB, free: 13.87 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0004353/0.2961, allocations: 199.2 kB / 1.064 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.073e-05/0.2961, allocations: 3.938 kB / 1.064 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.357e-05/0.2961, allocations: 0 / 1.064 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.699e-06/0.2961, allocations: 0 / 1.064 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003687/0.2965, allocations: 59.81 kB / 1.065 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 3.533e-05/0.2966, allocations: 4 kB / 1.065 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.703e-05/0.2966, allocations: 0 / 1.065 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.153e-05/0.2966, allocations: 0 / 1.065 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 1.958e-05/0.2966, allocations: 3.938 kB / 1.065 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.983e-06/0.2966, allocations: 0 / 1.065 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001644/0.2968, allocations: 67.86 kB / 1.065 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.815e-06/0.2968, allocations: 0 / 1.065 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 1.448e-05/0.2969, allocations: 0 / 1.065 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001239/0.297, allocations: 39.94 kB / 1.065 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.297, allocations: 0 / 1.065 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.444e-06/0.297, allocations: 8 kB / 1.065 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.297, allocations: 0 / 1.065 GB, free: 13.5 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.000247/0.2973, allocations: 311.6 kB / 1.065 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.2973, allocations: 8.031 kB / 1.065 GB, free: 13.13 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.206e-05/0.2973, allocations: 34.73 kB / 1.065 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.121e-05/0.2974, allocations: 4.938 kB / 1.065 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.172e-05/0.2974, allocations: 160.4 kB / 1.065 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.897e-06/0.2975, allocations: 384 / 1.065 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.154e-06/0.2975, allocations: 4.312 kB / 1.065 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.999e-05/0.2976, allocations: 34.27 kB / 1.065 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.2976, allocations: 3.938 kB / 1.065 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.852e-06/0.2976, allocations: 4 kB / 1.065 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.2976, allocations: 0 / 1.065 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.683e-05/0.2976, allocations: 0 / 1.065 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001164/0.2977, allocations: 145.7 kB / 1.065 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 3.309e-05/0.2978, allocations: 18.61 kB / 1.065 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.85e-05/0.2978, allocations: 12.8 kB / 1.065 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007458/0.2986, allocations: 457.5 kB / 1.066 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.165e-05/0.2986, allocations: 34.56 kB / 1.066 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 1.873e-06/0.2986, allocations: 3.938 kB / 1.066 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.000132/0.2987, allocations: 41.64 kB / 1.066 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.253e-05/0.2988, allocations: 51.41 kB / 1.066 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.26e-05/0.2988, allocations: 89.86 kB / 1.066 GB, free: 11.81 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.267e-05/0.2988, allocations: 25.7 kB / 1.066 GB, free: 11.78 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 2.181e-05/0.2989, allocations: 80.14 kB / 1.066 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.685e-05/0.2989, allocations: 0 / 1.066 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.039e-05/0.2989, allocations: 17.7 kB / 1.066 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.314e-05/0.299, allocations: 310.8 kB / 1.066 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.688e-06/0.299, allocations: 12 kB / 1.066 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.756e-06/0.2991, allocations: 8 kB / 1.066 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.224e-05/0.2991, allocations: 4.859 kB / 1.066 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.2991, allocations: 0 / 1.066 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.218e-05/0.2991, allocations: 33.7 kB / 1.066 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.2992, allocations: 4 kB / 1.066 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.2992, allocations: 7.922 kB / 1.066 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/0.2992, allocations: 0 / 1.066 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.824e-05/0.2992, allocations: 4.094 kB / 1.066 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.2992, allocations: 4 kB / 1.066 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.478e-06/0.2993, allocations: 0 / 1.066 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-06/0.2993, allocations: 0 / 1.066 GB, free: 11.28 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 5.627e-05/0.2993, allocations: 109.8 kB / 1.067 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.185e-06/0.2993, allocations: 3.906 kB / 1.067 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.82e-05/0.2994, allocations: 44.75 kB / 1.067 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.2994, allocations: 4 kB / 1.067 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.2994, allocations: 0 / 1.067 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.2994, allocations: 4.031 kB / 1.067 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.904e-05/0.2995, allocations: 141.7 kB / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.2996, allocations: 4 kB / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.402e-05/0.2996, allocations: 4 kB / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.2996, allocations: 0 / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.211e-06/0.2996, allocations: 3.938 kB / 1.067 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.2996, allocations: 3.984 kB / 1.067 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.2996, allocations: 0 / 1.067 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.507e-05/0.2997, allocations: 61.08 kB / 1.067 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.058e-05/0.2997, allocations: 85.09 kB / 1.067 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.148e-05/0.2997, allocations: 7.875 kB / 1.067 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.883e-06/0.2997, allocations: 0 / 1.067 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.181e-05/0.2998, allocations: 3.984 kB / 1.067 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-06/0.2998, allocations: 0 / 1.067 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 2.421e-05/0.2998, allocations: 75.28 kB / 1.067 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2998, allocations: 0 / 1.067 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002109/0.3, allocations: 16 kB / 1.067 GB, free: 10.62 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.0003736/0.3004, allocations: 0.6127 MB / 1.068 GB, free: 9.973 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 6.45e-05/0.3005, allocations: 12.03 kB / 1.068 GB, free: 9.961 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.3005, allocations: 0 / 1.068 GB, free: 9.961 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 7.975e-06/0.3005, allocations: 4 kB / 1.068 GB, free: 9.957 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001278/0.3006, allocations: 5.547 kB / 1.068 GB, free: 9.953 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002865/0.3009, allocations: 116.2 kB / 1.068 GB, free: 9.801 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002073/0.3011, allocations: 0.6729 MB / 1.068 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.032e-05/0.3011, allocations: 0 / 1.068 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.657e-05/0.3012, allocations: 11.42 kB / 1.068 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of SimCode: time 3.01e-07/0.3012, allocations: 0 / 1.068 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01715/0.3183, allocations: 1.128 MB / 1.07 GB, free: 8.035 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.008/7.326, allocations: 13.92 kB / 1.07 GB, free: 8.023 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Utilities_Math_Functions_Examples_BesselJ1.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_BesselJ1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches