Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Functions.Examples.BesselJ1,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="Buildings_9_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.005024/0.005024, allocations: 96.27 kB / 15.73 MB, free: 6.039 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.001167/0.001167, allocations: 202.5 kB / 16.68 MB, free: 5.969 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.433/1.433, 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 9.1.3-maint.9.1.x/package.mo): time 2.453/2.453, allocations: 390.2 MB / 0.6648 GB, free: 208 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 67.92 kB / 0.9504 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3093/0.3107, allocations: 140.4 MB / 1.088 GB, free: 1.965 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.001829/0.3125, allocations: 0.5805 MB / 1.088 GB, free: 1.387 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0004869/0.313, allocations: 195.6 kB / 1.088 GB, free: 1.195 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.615e-05/0.3131, allocations: 4 kB / 1.088 GB, free: 1.191 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.251e-05/0.3131, allocations: 0 / 1.088 GB, free: 1.191 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.232e-06/0.3131, allocations: 0 / 1.088 GB, free: 1.191 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004197/0.3136, allocations: 55.81 kB / 1.088 GB, free: 1.137 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 3.965e-05/0.3136, allocations: 4 kB / 1.088 GB, free: 1.133 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 3.84e-05/0.3136, allocations: 4 kB / 1.088 GB, free: 1.129 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 1.165e-05/0.3137, allocations: 0 / 1.088 GB, free: 1.129 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 1.911e-05/0.3137, allocations: 3.938 kB / 1.088 GB, free: 1.125 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 7.715e-06/0.3137, allocations: 4 kB / 1.088 GB, free: 1.121 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001621/0.3139, allocations: 59.86 kB / 1.088 GB, free: 1.062 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 9.077e-06/0.3139, allocations: 8 kB / 1.088 GB, free: 1.055 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 1.417e-05/0.3139, allocations: 3.938 kB / 1.088 GB, free: 1.051 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.000115/0.314, allocations: 40.16 kB / 1.088 GB, free: 1.012 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.314, allocations: 0 / 1.088 GB, free: 1.012 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.322e-06/0.314, allocations: 0 / 1.088 GB, free: 1.012 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.199e-06/0.3141, allocations: 0 / 1.088 GB, free: 1.012 MB / 0.8419 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.000315/0.3144, allocations: 319.5 kB / 1.089 GB, free: 0.6484 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.15e-05/0.3144, allocations: 12.03 kB / 1.089 GB, free: 0.6367 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.586e-05/0.3145, allocations: 30.75 kB / 1.089 GB, free: 0.5977 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.414e-05/0.3145, allocations: 0.9375 kB / 1.089 GB, free: 0.5977 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001045/0.3146, allocations: 164.4 kB / 1.089 GB, free: 408 kB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.3146, allocations: 4.312 kB / 1.089 GB, free: 404 kB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.182e-06/0.3147, allocations: 384 / 1.089 GB, free: 404 kB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.949e-05/0.3147, allocations: 34.25 kB / 1.089 GB, free: 364 kB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.3148, allocations: 3.938 kB / 1.089 GB, free: 360 kB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.903e-06/0.3148, allocations: 0 / 1.089 GB, free: 360 kB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.3148, allocations: 3.984 kB / 1.089 GB, free: 356 kB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.748e-05/0.3148, allocations: 0 / 1.089 GB, free: 356 kB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001373/0.3149, allocations: 149.7 kB / 1.089 GB, free: 156 kB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 3.883e-05/0.315, allocations: 22.52 kB / 1.089 GB, free: 124 kB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.746e-05/0.315, allocations: 4.859 kB / 1.089 GB, free: 116 kB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008279/0.3159, allocations: 457.5 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.995e-05/0.3159, allocations: 42.5 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.3159, allocations: 0 / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0001417/0.3161, allocations: 37.62 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.433e-05/0.3161, allocations: 51.41 kB / 1.09 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.542e-05/0.3161, allocations: 89.86 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.289e-05/0.3162, allocations: 25.7 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.932e-05/0.3162, allocations: 84.14 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.91e-05/0.3162, allocations: 0 / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.269e-05/0.3163, allocations: 17.84 kB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.3164, allocations: 314.8 kB / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.352e-05/0.3164, allocations: 4 kB / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.134e-06/0.3164, allocations: 0 / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.794e-05/0.3165, allocations: 8.844 kB / 1.09 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3165, allocations: 4 kB / 1.09 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.914e-05/0.3166, allocations: 33.7 kB / 1.09 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.3166, allocations: 8.094 kB / 1.09 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.3166, allocations: 3.938 kB / 1.09 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.3166, allocations: 0 / 1.09 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.393e-05/0.3167, allocations: 4 kB / 1.09 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.842e-06/0.3167, allocations: 0 / 1.09 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.163e-05/0.3167, allocations: 7.891 kB / 1.09 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.518e-06/0.3167, allocations: 3.938 kB / 1.09 GB, free: 14.78 MB / 0.8575 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.601e-05/0.3168, allocations: 109.8 kB / 1.09 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.877e-06/0.3168, allocations: 7.984 kB / 1.09 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.401e-05/0.3169, allocations: 40.77 kB / 1.09 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.3169, allocations: 0 / 1.09 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.3169, allocations: 0 / 1.09 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.3169, allocations: 0 / 1.09 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00017/0.3171, allocations: 145.7 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3171, allocations: 0 / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.708e-05/0.3171, allocations: 8 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.3171, allocations: 0 / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-06/0.3171, allocations: 3.938 kB / 1.091 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.3171, allocations: 0 / 1.091 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3172, allocations: 0 / 1.091 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.819e-05/0.3173, allocations: 65.09 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.143e-05/0.3173, allocations: 81.05 kB / 1.091 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.204e-05/0.3173, allocations: 3.938 kB / 1.091 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.584e-06/0.3173, allocations: 0 / 1.091 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.919e-06/0.3174, allocations: 0 / 1.091 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-06/0.3174, allocations: 4 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.473e-05/0.3174, allocations: 83.31 kB / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.3174, allocations: 0 / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002202/0.3176, allocations: 11.94 kB / 1.091 GB, free: 14.12 MB / 0.8575 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.0004824/0.3181, allocations: 0.6241 MB / 1.091 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 7.307e-05/0.3182, allocations: 0 / 1.091 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3182, allocations: 4 kB / 1.091 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 6.101e-06/0.3182, allocations: 0 / 1.091 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001391/0.3184, allocations: 1.406 kB / 1.091 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003214/0.3187, allocations: 114.7 kB / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000306/0.319, allocations: 0.669 MB / 1.092 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 1.32e-05/0.319, allocations: 4.125 kB / 1.092 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.697e-05/0.3191, allocations: 7.438 kB / 1.092 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of SimCode: time 4.1e-07/0.3191, allocations: 0 / 1.092 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01901/0.3381, allocations: 1.163 MB / 1.093 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.602/7.94, allocations: 3.938 kB / 1.093 GB, free: 11.52 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Utilities_Math_Functions_Examples_BesselJ1.fmu > Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_BesselJ1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches