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.001098/0.001098, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001141/0.001141, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.332/1.332, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.388/2.388, allocations: 390.2 MB / 0.6647 GB, free: 244 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001369, allocations: 67.89 kB / 0.8127 GB, free: 14.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5889/0.5903, allocations: 140.4 MB / 0.9497 GB, free: 9.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.001779/0.5921, allocations: 0.5685 MB / 0.9503 GB, free: 8.672 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004151/0.5925, allocations: 196.7 kB / 0.9505 GB, free: 8.523 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.41e-05/0.5926, allocations: 0 / 0.9505 GB, free: 8.523 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.679e-05/0.5926, allocations: 0 / 0.9505 GB, free: 8.523 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.97e-06/0.5926, allocations: 0 / 0.9505 GB, free: 8.523 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003445/0.593, allocations: 55.19 kB / 0.9505 GB, free: 8.492 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.168e-05/0.593, allocations: 0 / 0.9505 GB, free: 8.492 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.694e-05/0.593, allocations: 5.359 kB / 0.9505 GB, free: 8.488 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.136e-05/0.5931, allocations: 1.375 kB / 0.9505 GB, free: 8.488 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 1.594e-05/0.5931, allocations: 0 / 0.9505 GB, free: 8.488 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.372e-06/0.5931, allocations: 0 / 0.9505 GB, free: 8.488 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001435/0.5932, allocations: 71.36 kB / 0.9506 GB, free: 8.445 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.121e-06/0.5932, allocations: 7.938 kB / 0.9506 GB, free: 8.438 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.391e-05/0.5933, allocations: 1.375 kB / 0.9506 GB, free: 8.438 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.794e-05/0.5934, allocations: 36.16 kB / 0.9506 GB, free: 8.414 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.5934, allocations: 3.938 kB / 0.9506 GB, free: 8.41 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.292e-06/0.5934, allocations: 0 / 0.9506 GB, free: 8.41 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.5934, allocations: 0 / 0.9506 GB, free: 8.41 MB / 0.7169 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.0001989/0.5936, allocations: 318 kB / 0.9509 GB, free: 8.055 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.5936, allocations: 9.312 kB / 0.951 GB, free: 8.055 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.668e-05/0.5937, allocations: 34.75 kB / 0.951 GB, free: 8.012 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.116e-05/0.5937, allocations: 6 kB / 0.951 GB, free: 8.008 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.413e-05/0.5937, allocations: 168.3 kB / 0.9512 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.077e-06/0.5938, allocations: 1.5 kB / 0.9512 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.36e-06/0.5938, allocations: 384 / 0.9512 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.278e-05/0.5938, allocations: 32.59 kB / 0.9512 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.132e-06/0.5939, allocations: 3.938 kB / 0.9512 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.941e-06/0.5939, allocations: 0 / 0.9512 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.5939, allocations: 1.625 kB / 0.9512 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.606e-05/0.5939, allocations: 0 / 0.9512 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.847e-05/0.594, allocations: 147.2 kB / 0.9513 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.084e-05/0.594, allocations: 24.3 kB / 0.9514 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.391e-05/0.594, allocations: 9.984 kB / 0.9514 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006034/0.5947, allocations: 455.1 kB / 0.9518 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.631e-05/0.5947, allocations: 35.72 kB / 0.9518 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.5947, allocations: 0 / 0.9518 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001081/0.5948, allocations: 42.06 kB / 0.9519 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.152e-05/0.5948, allocations: 52.88 kB / 0.9519 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.586e-05/0.5948, allocations: 89.86 kB / 0.952 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.262e-06/0.5949, allocations: 29.64 kB / 0.952 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.045e-05/0.5949, allocations: 80.14 kB / 0.9521 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.464e-05/0.5949, allocations: 9.219 kB / 0.9521 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.076e-05/0.5949, allocations: 11.12 kB / 0.9521 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.063e-05/0.595, allocations: 316 kB / 0.9524 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.477e-06/0.595, allocations: 1.219 kB / 0.9524 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.38e-06/0.595, allocations: 1.281 kB / 0.9524 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.238e-05/0.595, allocations: 11.88 kB / 0.9525 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.595, allocations: 0 / 0.9525 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.995e-05/0.5951, allocations: 31.05 kB / 0.9525 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.5951, allocations: 7.75 kB / 0.9525 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.5951, allocations: 9.125 kB / 0.9525 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.948e-06/0.5951, allocations: 0 / 0.9525 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.326e-05/0.5951, allocations: 6.531 kB / 0.9525 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.5952, allocations: 0 / 0.9525 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.877e-06/0.5952, allocations: 3.938 kB / 0.9525 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.548e-06/0.5952, allocations: 1.594 kB / 0.9525 GB, free: 6.273 MB / 0.7169 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 3.943e-05/0.5952, allocations: 113.8 kB / 0.9526 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.781e-06/0.5952, allocations: 1.125 kB / 0.9526 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.888e-05/0.5953, allocations: 41.11 kB / 0.9527 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.5953, allocations: 0 / 0.9527 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.5953, allocations: 1.125 kB / 0.9527 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.5953, allocations: 0 / 0.9527 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.538e-05/0.5954, allocations: 147.3 kB / 0.9528 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.5954, allocations: 0 / 0.9528 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.152e-05/0.5954, allocations: 5.219 kB / 0.9528 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.5954, allocations: 1.156 kB / 0.9528 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.5954, allocations: 3.938 kB / 0.9528 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.5954, allocations: 0 / 0.9528 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.5954, allocations: 9.062 kB / 0.9528 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.733e-05/0.5955, allocations: 59.38 kB / 0.9529 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.59e-05/0.5955, allocations: 77.11 kB / 0.9529 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.071e-05/0.5955, allocations: 4.719 kB / 0.953 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.933e-06/0.5955, allocations: 0 / 0.953 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.456e-06/0.5955, allocations: 1.406 kB / 0.953 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-06/0.5955, allocations: 0 / 0.953 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.043e-05/0.5955, allocations: 80.75 kB / 0.953 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.5956, allocations: 0 / 0.953 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002228/0.5958, allocations: 14.62 kB / 0.953 GB, free: 5.652 MB / 0.7169 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.0002915/0.5961, allocations: 0.6214 MB / 0.9537 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.136e-05/0.5962, allocations: 8.125 kB / 0.9537 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.5962, allocations: 0 / 0.9537 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 6.783e-06/0.5962, allocations: 1.531 kB / 0.9537 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001335/0.5963, allocations: 7.234 kB / 0.9537 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000262/0.5966, allocations: 119.5 kB / 0.9538 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.091e-05/0.5967, allocations: 0.6819 MB / 0.9544 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 9.237e-06/0.5967, allocations: 3.938 kB / 0.9545 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.234e-05/0.5967, allocations: 8.562 kB / 0.9545 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of SimCode: time 2e-07/0.5967, allocations: 0 / 0.9545 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01662/0.6133, allocations: 1.127 MB / 0.9556 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.963/7.577, allocations: 10.03 kB / 0.9556 GB, free: 3.492 MB / 0.7169 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