Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Examples.BesselJ1,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ1,fileNamePrefix="Buildings_9_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.008392/0.008392, allocations: 104.2 kB / 15.73 MB, free: 6.043 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.002246/0.002246, allocations: 189.6 kB / 16.67 MB, free: 5.973 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.337/1.337, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.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.186/2.186, allocations: 390.3 MB / 0.6648 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 63.91 kB / 0.9504 GB, free: 8.168 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7069/0.7082, allocations: 140.4 MB / 1.087 GB, free: 5.293 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.002097/0.7103, allocations: 1.427 MB / 1.089 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0004502/0.7108, allocations: 259.4 kB / 1.089 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.677e-05/0.7108, allocations: 1.188 kB / 1.089 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.284e-05/0.7109, allocations: 8.594 kB / 1.089 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.485e-05/0.7109, allocations: 0 / 1.089 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003154/0.7112, allocations: 60.39 kB / 1.089 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 5.781e-05/0.7113, allocations: 27.12 kB / 1.089 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 7.938e-05/0.7114, allocations: 5.281 kB / 1.089 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.623e-05/0.7114, allocations: 12.5 kB / 1.089 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.557e-05/0.7115, allocations: 9.844 kB / 1.089 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.538e-06/0.7115, allocations: 2.719 kB / 1.089 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000135/0.7116, allocations: 63.27 kB / 1.089 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.497e-06/0.7116, allocations: 8.703 kB / 1.089 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 1.996e-05/0.7117, allocations: 11.38 kB / 1.089 GB, free: 4.031 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001293/0.7118, allocations: 49.66 kB / 1.089 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.7118, allocations: 0 / 1.089 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.634e-06/0.7118, allocations: 1.094 kB / 1.089 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.7118, allocations: 0.5625 kB / 1.089 GB, free: 4.016 MB / 0.8575 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.0003614/0.7122, allocations: 341.7 kB / 1.09 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.7122, allocations: 10.81 kB / 1.09 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.993e-05/0.7123, allocations: 30.75 kB / 1.09 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.202e-05/0.7123, allocations: 11.61 kB / 1.09 GB, free: 3.609 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.928e-05/0.7123, allocations: 166.6 kB / 1.09 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/0.7124, allocations: 5.219 kB / 1.09 GB, free: 3.406 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.135e-05/0.7124, allocations: 1.578 kB / 1.09 GB, free: 3.406 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001613/0.7125, allocations: 52.8 kB / 1.09 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.7126, allocations: 4.547 kB / 1.09 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-06/0.7126, allocations: 1.125 kB / 1.09 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.7126, allocations: 0 / 1.09 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001694/0.7128, allocations: 37.2 kB / 1.09 GB, free: 3.355 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000234/0.713, allocations: 249.7 kB / 1.09 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001199/0.7131, allocations: 44.88 kB / 1.09 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.647e-05/0.7132, allocations: 24.55 kB / 1.09 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005847/0.7138, allocations: 461.7 kB / 1.091 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.518e-05/0.7138, allocations: 32.05 kB / 1.091 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.7138, allocations: 0 / 1.091 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003391/0.7142, allocations: 91.94 kB / 1.091 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.668e-05/0.7142, allocations: 52.66 kB / 1.091 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.661e-05/0.7143, allocations: 100.6 kB / 1.091 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.552e-06/0.7143, allocations: 25.7 kB / 1.091 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.988e-05/0.7143, allocations: 81.81 kB / 1.091 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.414e-05/0.7143, allocations: 6.312 kB / 1.091 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.57e-05/0.7144, allocations: 16.25 kB / 1.091 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.513e-05/0.7144, allocations: 317.8 kB / 1.091 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.487e-05/0.7145, allocations: 13.23 kB / 1.091 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.634e-05/0.7146, allocations: 19.17 kB / 1.091 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001473/0.7147, allocations: 37 kB / 1.091 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.7147, allocations: 3.938 kB / 1.091 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001866/0.7149, allocations: 71.58 kB / 1.092 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.7149, allocations: 5.375 kB / 1.092 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.715, allocations: 0.5156 kB / 1.092 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.715, allocations: 1.031 kB / 1.092 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.836e-05/0.7151, allocations: 8.891 kB / 1.092 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.7151, allocations: 0 / 1.092 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.771e-05/0.7151, allocations: 6.328 kB / 1.092 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.95e-06/0.7151, allocations: 5.312 kB / 1.092 GB, free: 1.781 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 (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 4.156e-05/0.7152, allocations: 116.3 kB / 1.092 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.384e-05/0.7152, allocations: 1.703 kB / 1.092 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002146/0.7154, allocations: 74.56 kB / 1.092 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.7154, allocations: 1.484 kB / 1.092 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.7154, allocations: 0 / 1.092 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.7154, allocations: 1.031 kB / 1.092 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001084/0.7156, allocations: 168.1 kB / 1.092 GB, free: 1.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.7156, allocations: 0 / 1.092 GB, free: 1.41 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.712e-05/0.7156, allocations: 8.125 kB / 1.092 GB, free: 1.41 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.7156, allocations: 0.9062 kB / 1.092 GB, free: 1.41 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.7156, allocations: 1.859 kB / 1.092 GB, free: 1.41 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.7156, allocations: 0 / 1.092 GB, free: 1.41 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.7157, allocations: 3.938 kB / 1.092 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001993/0.7159, allocations: 164 kB / 1.092 GB, free: 1.266 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.431e-05/0.7159, allocations: 81.58 kB / 1.092 GB, free: 1.168 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.01e-05/0.7159, allocations: 1.219 kB / 1.092 GB, free: 1.168 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.508e-05/0.716, allocations: 9.812 kB / 1.092 GB, free: 1.164 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.223e-05/0.716, allocations: 7.812 kB / 1.092 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-06/0.716, allocations: 3.938 kB / 1.092 GB, free: 1.156 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.094e-05/0.7161, allocations: 84.69 kB / 1.092 GB, free: 1.078 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7161, allocations: 0 / 1.092 GB, free: 1.078 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002381/0.7163, allocations: 21.73 kB / 1.092 GB, free: 1.07 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 (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.0005715/0.7169, allocations: 0.7131 MB / 1.093 GB, free: 16.39 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.000201/0.7171, allocations: 34.86 kB / 1.093 GB, free: 16.39 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.7171, allocations: 4 kB / 1.093 GB, free: 16.39 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 8.365e-05/0.7172, allocations: 20.77 kB / 1.093 GB, free: 16.38 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002173/0.7174, allocations: 2.859 kB / 1.093 GB, free: 16.38 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003577/0.7178, allocations: 147.5 kB / 1.093 GB, free: 16.23 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002158/0.718, allocations: 0.6754 MB / 1.094 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 1.962e-05/0.718, allocations: 1 kB / 1.094 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.472e-05/0.7181, allocations: 9.328 kB / 1.094 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of SimCode: time 2.51e-07/0.7181, allocations: 1.062 kB / 1.094 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01678/0.7348, allocations: 1.514 MB / 1.095 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.414/8.149, allocations: 7.812 kB / 1.095 GB, free: 15.12 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Utilities_Math_Examples_BesselJ1.fmu > Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_BesselJ1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches