Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.BesselJ0,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ0,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_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.007948/0.007948, allocations: 103.7 kB / 15.74 MB, free: 6.449 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.002119/0.002119, allocations: 196.4 kB / 16.67 MB, free: 6.355 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.495/1.495, 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 10.1.1-maint.10.0.x/package.mo): time 2.742/2.742, allocations: 437 MB / 0.7105 GB, free: 4.953 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001867/0.001867, allocations: 67.91 kB / 1.018 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3056/0.3075, allocations: 151.6 MB / 1.166 GB, free: 7.383 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.002633/0.3102, allocations: 1.43 MB / 1.168 GB, free: 5.938 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0005259/0.3107, allocations: 248.1 kB / 1.168 GB, free: 5.691 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.192e-05/0.3107, allocations: 0 / 1.168 GB, free: 5.691 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.552e-05/0.3108, allocations: 0 / 1.168 GB, free: 5.691 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 3.716e-05/0.3108, allocations: 3.938 kB / 1.168 GB, free: 5.688 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003175/0.3111, allocations: 59.83 kB / 1.168 GB, free: 5.629 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.286e-05/0.3112, allocations: 27.91 kB / 1.168 GB, free: 5.602 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 8.137e-05/0.3113, allocations: 8 kB / 1.168 GB, free: 5.594 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 3.475e-05/0.3113, allocations: 11.92 kB / 1.168 GB, free: 5.582 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 3.354e-05/0.3114, allocations: 4 kB / 1.168 GB, free: 5.578 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.094e-05/0.3114, allocations: 4 kB / 1.168 GB, free: 5.574 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001379/0.3115, allocations: 59.94 kB / 1.168 GB, free: 5.516 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.422e-05/0.3116, allocations: 7.938 kB / 1.168 GB, free: 5.508 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 1.615e-05/0.3116, allocations: 0 / 1.168 GB, free: 5.508 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001463/0.3117, allocations: 64 kB / 1.168 GB, free: 5.445 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.3117, allocations: 0 / 1.168 GB, free: 5.445 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.022e-06/0.3117, allocations: 0 / 1.168 GB, free: 5.445 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.3118, allocations: 4 kB / 1.168 GB, free: 5.441 MB / 0.92 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.0004731/0.3122, allocations: 347.4 kB / 1.168 GB, free: 5.051 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.3123, allocations: 8.031 kB / 1.168 GB, free: 5.043 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.519e-05/0.3123, allocations: 30.75 kB / 1.168 GB, free: 5.004 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.891e-05/0.3123, allocations: 0.9375 kB / 1.168 GB, free: 5.004 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/0.3125, allocations: 176.2 kB / 1.169 GB, free: 4.793 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.3125, allocations: 384 / 1.169 GB, free: 4.793 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.261e-06/0.3125, allocations: 384 / 1.169 GB, free: 4.793 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001672/0.3127, allocations: 50.23 kB / 1.169 GB, free: 4.738 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.3127, allocations: 11.88 kB / 1.169 GB, free: 4.727 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.3127, allocations: 0 / 1.169 GB, free: 4.727 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.3127, allocations: 3.938 kB / 1.169 GB, free: 4.723 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001708/0.3129, allocations: 35.95 kB / 1.169 GB, free: 4.688 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003857/0.3133, allocations: 248.9 kB / 1.169 GB, free: 4.395 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001324/0.3134, allocations: 46.53 kB / 1.169 GB, free: 4.34 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.914e-05/0.3135, allocations: 20.91 kB / 1.169 GB, free: 4.316 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000702/0.3142, allocations: 453.5 kB / 1.169 GB, free: 3.781 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.769e-05/0.3143, allocations: 38.5 kB / 1.169 GB, free: 3.734 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.303e-06/0.3143, allocations: 4 kB / 1.169 GB, free: 3.73 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0004653/0.3148, allocations: 77.64 kB / 1.17 GB, free: 3.648 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.353e-05/0.3148, allocations: 51.41 kB / 1.17 GB, free: 3.586 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.717e-05/0.3149, allocations: 101.8 kB / 1.17 GB, free: 3.477 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.439e-05/0.315, allocations: 25.7 kB / 1.17 GB, free: 3.445 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.53e-05/0.315, allocations: 88.27 kB / 1.17 GB, free: 3.355 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.875e-05/0.315, allocations: 7.938 kB / 1.17 GB, free: 3.348 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.529e-05/0.3151, allocations: 13.72 kB / 1.17 GB, free: 3.328 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001937/0.3153, allocations: 314.8 kB / 1.17 GB, free: 3.012 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.326e-05/0.3154, allocations: 11.98 kB / 1.17 GB, free: 3 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001814/0.3156, allocations: 27.91 kB / 1.17 GB, free: 2.973 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001655/0.3157, allocations: 36.89 kB / 1.17 GB, free: 2.934 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.3157, allocations: 7.938 kB / 1.17 GB, free: 2.926 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002035/0.3159, allocations: 65.61 kB / 1.17 GB, free: 2.855 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.316, allocations: 8 kB / 1.17 GB, free: 2.848 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.316, allocations: 0 / 1.17 GB, free: 2.848 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.316, allocations: 0 / 1.17 GB, free: 2.848 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.418e-05/0.3161, allocations: 8.031 kB / 1.17 GB, free: 2.84 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.3161, allocations: 3.984 kB / 1.17 GB, free: 2.836 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.563e-05/0.3162, allocations: 4 kB / 1.17 GB, free: 2.832 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.959e-06/0.3162, allocations: 0 / 1.17 GB, free: 2.832 MB / 0.92 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 0.000106/0.3163, allocations: 117.8 kB / 1.17 GB, free: 2.707 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.24e-05/0.3163, allocations: 3.938 kB / 1.17 GB, free: 2.703 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002351/0.3165, allocations: 76.77 kB / 1.17 GB, free: 2.621 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.3166, allocations: 0 / 1.17 GB, free: 2.621 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.3166, allocations: 4 kB / 1.17 GB, free: 2.617 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.738e-06/0.3166, allocations: 0 / 1.17 GB, free: 2.617 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001961/0.3168, allocations: 161.5 kB / 1.171 GB, free: 2.41 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3168, allocations: 0 / 1.171 GB, free: 2.41 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.731e-05/0.3169, allocations: 15.92 kB / 1.171 GB, free: 2.395 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.3169, allocations: 0 / 1.171 GB, free: 2.395 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.774e-06/0.3169, allocations: 0 / 1.171 GB, free: 2.395 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3169, allocations: 0 / 1.171 GB, free: 2.395 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3169, allocations: 0 / 1.171 GB, free: 2.395 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002622/0.3172, allocations: 171.4 kB / 1.171 GB, free: 2.211 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.88e-05/0.3172, allocations: 81.06 kB / 1.171 GB, free: 2.113 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.45e-05/0.3172, allocations: 4 kB / 1.171 GB, free: 2.109 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.513e-05/0.3173, allocations: 3.984 kB / 1.171 GB, free: 2.105 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.489e-05/0.3174, allocations: 4 kB / 1.171 GB, free: 2.102 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-06/0.3174, allocations: 4.031 kB / 1.171 GB, free: 2.098 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.784e-05/0.3174, allocations: 87.27 kB / 1.171 GB, free: 2.012 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3174, allocations: 0 / 1.171 GB, free: 2.012 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002527/0.3177, allocations: 15.94 kB / 1.171 GB, free: 1.996 MB / 0.92 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.0007081/0.3184, allocations: 0.7162 MB / 1.172 GB, free: 1.25 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002153/0.3186, allocations: 35.97 kB / 1.172 GB, free: 1.215 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.3186, allocations: 0 / 1.172 GB, free: 1.215 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 8.737e-05/0.3187, allocations: 24.05 kB / 1.172 GB, free: 1.191 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002523/0.319, allocations: 5.703 kB / 1.172 GB, free: 1.188 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004076/0.3194, allocations: 135.1 kB / 1.172 GB, free: 1.016 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003939/0.3198, allocations: 0.6768 MB / 1.173 GB, free: 320 kB / 0.92 GB Notification: Performance of simCode: alias equations: time 2.178e-05/0.3199, allocations: 0 / 1.173 GB, free: 320 kB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.226e-05/0.3199, allocations: 19.38 kB / 1.173 GB, free: 300 kB / 0.92 GB Notification: Performance of SimCode: time 3.2e-07/0.3199, allocations: 0 / 1.173 GB, free: 300 kB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02465/0.3446, allocations: 1.508 MB / 1.174 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.2/8.544, allocations: 3.984 kB / 1.174 GB, free: 14.85 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.Math.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_10_Buildings_Utilities_Math_Examples_BesselJ0.fmu > Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_BesselJ0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches