Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_Buildings_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ1,fileNamePrefix="Buildings_11_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.008824/0.008824, allocations: 101 kB / 15.73 MB, free: 5.555 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.002027/0.002028, allocations: 196.4 kB / 16.68 MB, free: 5.484 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.513/1.513, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.936/2.936, allocations: 469.8 MB / 0.7425 GB, free: 7.344 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001901/0.001901, allocations: 59.91 kB / 1.065 GB, free: 13.61 MB / 0.8263 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.315/0.317, allocations: 159.1 MB / 1.22 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.002602/0.3196, allocations: 1.441 MB / 1.222 GB, free: 12.9 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00054/0.3202, allocations: 255.2 kB / 1.222 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.53e-05/0.3202, allocations: 0 / 1.222 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.406e-05/0.3203, allocations: 0 / 1.222 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.416e-05/0.3203, allocations: 7.922 kB / 1.222 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003409/0.3207, allocations: 62.94 kB / 1.222 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.101e-05/0.3207, allocations: 19.94 kB / 1.222 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.696e-05/0.3208, allocations: 7.984 kB / 1.222 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.988e-05/0.3209, allocations: 11.94 kB / 1.222 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.916e-05/0.3209, allocations: 15.91 kB / 1.222 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.228e-05/0.3209, allocations: 4 kB / 1.222 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001572/0.3211, allocations: 55.94 kB / 1.222 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.197e-05/0.3211, allocations: 4 kB / 1.222 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.608e-05/0.3211, allocations: 15.94 kB / 1.222 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000147/0.3213, allocations: 59.78 kB / 1.222 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.3213, allocations: 3.938 kB / 1.222 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.442e-06/0.3213, allocations: 0 / 1.222 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.3213, allocations: 0 / 1.222 GB, free: 12.39 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004793/0.3218, allocations: 343.4 kB / 1.222 GB, free: 12 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.3218, allocations: 8.031 kB / 1.222 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.151e-05/0.3219, allocations: 34.75 kB / 1.222 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.278e-05/0.3219, allocations: 4.891 kB / 1.222 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.3221, allocations: 164.4 kB / 1.223 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.839e-06/0.3221, allocations: 8.375 kB / 1.223 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.969e-06/0.3221, allocations: 4.312 kB / 1.223 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001744/0.3223, allocations: 50.23 kB / 1.223 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.3223, allocations: 3.938 kB / 1.223 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-06/0.3223, allocations: 0 / 1.223 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.3223, allocations: 0 / 1.223 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001807/0.3225, allocations: 39.89 kB / 1.223 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003257/0.3228, allocations: 244.9 kB / 1.223 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001343/0.323, allocations: 42.53 kB / 1.223 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.59e-05/0.3231, allocations: 24.91 kB / 1.223 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007283/0.3238, allocations: 461.5 kB / 1.223 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.553e-05/0.3239, allocations: 30.56 kB / 1.223 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.3239, allocations: 0 / 1.223 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003966/0.3243, allocations: 85.7 kB / 1.224 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.832e-05/0.3243, allocations: 55.41 kB / 1.224 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.075e-05/0.3244, allocations: 101.8 kB / 1.224 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/0.3244, allocations: 25.7 kB / 1.224 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.471e-05/0.3245, allocations: 92.02 kB / 1.224 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.876e-05/0.3245, allocations: 7.953 kB / 1.224 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.492e-05/0.3246, allocations: 13.72 kB / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.3247, allocations: 310.8 kB / 1.224 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.839e-05/0.3248, allocations: 23.98 kB / 1.224 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.854e-05/0.3249, allocations: 15.97 kB / 1.224 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001746/0.3251, allocations: 40.77 kB / 1.224 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.3251, allocations: 3.938 kB / 1.224 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002137/0.3253, allocations: 65.72 kB / 1.224 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.3253, allocations: 11.94 kB / 1.224 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.3253, allocations: 0 / 1.224 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.3253, allocations: 0 / 1.224 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.928e-05/0.3254, allocations: 15.98 kB / 1.224 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.3255, allocations: 0 / 1.224 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.888e-05/0.3255, allocations: 8 kB / 1.224 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-06/0.3255, allocations: 0 / 1.224 GB, free: 9.766 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 (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 8.884e-05/0.3256, allocations: 117.8 kB / 1.224 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.528e-05/0.3256, allocations: 4 kB / 1.224 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002378/0.3259, allocations: 72.72 kB / 1.224 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.3259, allocations: 0 / 1.224 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.3259, allocations: 0 / 1.224 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.3259, allocations: 0 / 1.224 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001842/0.3261, allocations: 157.6 kB / 1.225 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3261, allocations: 0 / 1.225 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.278e-05/0.3262, allocations: 16.02 kB / 1.225 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.3262, allocations: 0 / 1.225 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-06/0.3262, allocations: 3.938 kB / 1.225 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.3262, allocations: 0 / 1.225 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3262, allocations: 0 / 1.225 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002694/0.3265, allocations: 167.3 kB / 1.225 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.876e-05/0.3265, allocations: 85.14 kB / 1.225 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.448e-05/0.3266, allocations: 7.984 kB / 1.225 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.846e-05/0.3266, allocations: 4 kB / 1.225 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.055e-05/0.3267, allocations: 0 / 1.225 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.881e-06/0.3267, allocations: 3.984 kB / 1.225 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.952e-05/0.3267, allocations: 79.28 kB / 1.225 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3268, allocations: 0 / 1.225 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002428/0.327, allocations: 15.94 kB / 1.225 GB, free: 8.949 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 (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.0006782/0.3277, allocations: 0.7168 MB / 1.226 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002331/0.3279, allocations: 43.94 kB / 1.226 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3279, allocations: 0 / 1.226 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.367e-05/0.328, allocations: 19.97 kB / 1.226 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002277/0.3283, allocations: 6.031 kB / 1.226 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000412/0.3287, allocations: 142.9 kB / 1.226 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003316/0.329, allocations: 0.6808 MB / 1.227 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.29e-05/0.3291, allocations: 4 kB / 1.227 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.046e-05/0.3291, allocations: 7.438 kB / 1.227 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of SimCode: time 2.61e-07/0.3291, allocations: 0 / 1.227 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02312/0.3522, allocations: 1.508 MB / 1.228 GB, free: 5.793 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.088/8.441, allocations: 9.75 kB / 1.228 GB, free: 5.785 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Utilities_Math_Examples_BesselJ1.fmu > Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_BesselJ1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches