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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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.004665/0.004665, allocations: 96.34 kB / 15.73 MB, free: 6.059 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.001108/0.001108, allocations: 198.2 kB / 16.68 MB, free: 5.98 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.395/1.395, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.892/2.892, allocations: 469.4 MB / 0.7422 GB, free: 7.594 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001513/0.001513, allocations: 67.91 kB / 1.064 GB, free: 13.83 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3179/0.3195, allocations: 159.1 MB / 1.22 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.001838/0.3214, allocations: 0.5759 MB / 1.22 GB, free: 14.01 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0005165/0.3219, allocations: 185.1 kB / 1.221 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.78e-05/0.3219, allocations: 0 / 1.221 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.962e-05/0.322, allocations: 0 / 1.221 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 1.285e-05/0.322, allocations: 3.938 kB / 1.221 GB, free: 13.83 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004298/0.3224, allocations: 55.89 kB / 1.221 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 4.141e-05/0.3225, allocations: 0 / 1.221 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.258e-05/0.3225, allocations: 3.984 kB / 1.221 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.441e-05/0.3226, allocations: 0 / 1.221 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 2.565e-05/0.3226, allocations: 7.938 kB / 1.221 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.304e-06/0.3226, allocations: 3.938 kB / 1.221 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001897/0.3228, allocations: 55.89 kB / 1.221 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.808e-06/0.3228, allocations: 3.984 kB / 1.221 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.132e-05/0.3229, allocations: 0 / 1.221 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001204/0.323, allocations: 31.95 kB / 1.221 GB, free: 13.67 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.323, allocations: 0 / 1.221 GB, free: 13.67 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.863e-06/0.323, allocations: 8 kB / 1.221 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.219e-06/0.323, allocations: 0 / 1.221 GB, free: 13.66 MB / 0.9825 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.0003461/0.3234, allocations: 323.4 kB / 1.221 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.3234, allocations: 11.97 kB / 1.221 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.774e-05/0.3235, allocations: 34.75 kB / 1.221 GB, free: 13.24 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.494e-05/0.3235, allocations: 0.9375 kB / 1.221 GB, free: 13.24 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001077/0.3236, allocations: 164.4 kB / 1.221 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.3236, allocations: 384 / 1.221 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.422e-06/0.3236, allocations: 384 / 1.221 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.878e-05/0.3237, allocations: 38.25 kB / 1.221 GB, free: 13 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.3238, allocations: 7.938 kB / 1.221 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.095e-06/0.3238, allocations: 0 / 1.221 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.3238, allocations: 0 / 1.221 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.018e-05/0.3238, allocations: 0 / 1.221 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001656/0.324, allocations: 145.7 kB / 1.221 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 4.447e-05/0.324, allocations: 22.55 kB / 1.221 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.697e-05/0.3241, allocations: 8.859 kB / 1.221 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000771/0.3248, allocations: 465.4 kB / 1.222 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/0.3249, allocations: 30.56 kB / 1.222 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 1.212e-06/0.3249, allocations: 0 / 1.222 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0001501/0.325, allocations: 41.7 kB / 1.222 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.265e-05/0.3251, allocations: 55.41 kB / 1.222 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.985e-05/0.3251, allocations: 93.84 kB / 1.222 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/0.3252, allocations: 25.7 kB / 1.222 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.785e-05/0.3252, allocations: 84.14 kB / 1.222 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.705e-05/0.3252, allocations: 0 / 1.222 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.864e-05/0.3253, allocations: 9.719 kB / 1.222 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.3254, allocations: 310.8 kB / 1.222 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.204e-05/0.3254, allocations: 4 kB / 1.222 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.104e-06/0.3254, allocations: 4 kB / 1.222 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.367e-05/0.3254, allocations: 12.86 kB / 1.223 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.3255, allocations: 0 / 1.223 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.887e-05/0.3255, allocations: 37.62 kB / 1.223 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.3255, allocations: 4 kB / 1.223 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.597e-06/0.3256, allocations: 3.938 kB / 1.223 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.3256, allocations: 0 / 1.223 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.154e-05/0.3256, allocations: 4 kB / 1.223 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.3256, allocations: 8.031 kB / 1.223 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.107e-05/0.3256, allocations: 0 / 1.223 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-06/0.3257, allocations: 0 / 1.223 GB, free: 11.43 MB / 0.9825 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 7.148e-05/0.3257, allocations: 111.2 kB / 1.223 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.404e-06/0.3257, allocations: 0 / 1.223 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.955e-05/0.3258, allocations: 44.75 kB / 1.223 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.3258, allocations: 0 / 1.223 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/0.3258, allocations: 0 / 1.223 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.3258, allocations: 0 / 1.223 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.719e-05/0.326, allocations: 145.7 kB / 1.223 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.326, allocations: 3.938 kB / 1.223 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.52e-05/0.326, allocations: 7.984 kB / 1.223 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.326, allocations: 0 / 1.223 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.326, allocations: 3.938 kB / 1.223 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.326, allocations: 0 / 1.223 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.326, allocations: 0 / 1.223 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.623e-05/0.3261, allocations: 61.08 kB / 1.223 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.412e-05/0.3261, allocations: 81.14 kB / 1.223 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.718e-05/0.3262, allocations: 7.922 kB / 1.223 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.398e-06/0.3262, allocations: 4 kB / 1.223 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.385e-05/0.3262, allocations: 0 / 1.223 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.938e-06/0.3262, allocations: 4 kB / 1.223 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.268e-05/0.3262, allocations: 75.28 kB / 1.223 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.3262, allocations: 0 / 1.223 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002295/0.3265, allocations: 11.94 kB / 1.223 GB, free: 10.78 MB / 0.9825 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.00044/0.3269, allocations: 0.6163 MB / 1.224 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 6.727e-05/0.327, allocations: 3.984 kB / 1.224 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.327, allocations: 12.09 kB / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 7.394e-06/0.327, allocations: 0 / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000132/0.3272, allocations: 1.719 kB / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000291/0.3275, allocations: 118.4 kB / 1.224 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002338/0.3277, allocations: 0.6729 MB / 1.224 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.048e-05/0.3277, allocations: 0 / 1.224 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.525e-05/0.3277, allocations: 7.438 kB / 1.224 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of SimCode: time 2.4e-07/0.3277, allocations: 0 / 1.224 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01762/0.3454, allocations: 1.156 MB / 1.226 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.772/8.117, allocations: 16.41 kB / 1.226 GB, free: 8.176 MB / 0.9825 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