Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Functions.Examples.BesselJ1,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="Buildings_10_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.008194/0.008194, allocations: 99.95 kB / 15.73 MB, free: 6.016 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.001993/0.001993, allocations: 187.4 kB / 16.67 MB, free: 5.93 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.441/1.441, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.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.582/2.582, allocations: 437 MB / 0.7105 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001549/0.001549, allocations: 67.84 kB / 1.018 GB, free: 9.871 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8488/0.8504, allocations: 151.6 MB / 1.166 GB, free: 3.797 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.001661/0.8521, allocations: 0.5794 MB / 1.167 GB, free: 3.223 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0004626/0.8525, allocations: 197.2 kB / 1.167 GB, free: 3.031 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.246e-05/0.8526, allocations: 0 / 1.167 GB, free: 3.031 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.409e-05/0.8526, allocations: 0 / 1.167 GB, free: 3.031 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.66e-06/0.8526, allocations: 0 / 1.167 GB, free: 3.031 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003696/0.853, allocations: 63.81 kB / 1.167 GB, free: 2.969 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 3.914e-05/0.853, allocations: 0 / 1.167 GB, free: 2.969 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.41e-05/0.8531, allocations: 4 kB / 1.167 GB, free: 2.965 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 1.502e-05/0.8531, allocations: 4 kB / 1.167 GB, free: 2.961 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 1.884e-05/0.8531, allocations: 0 / 1.167 GB, free: 2.961 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 9.057e-06/0.8531, allocations: 0 / 1.167 GB, free: 2.961 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001686/0.8533, allocations: 63.81 kB / 1.167 GB, free: 2.898 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 9.719e-06/0.8533, allocations: 3.984 kB / 1.167 GB, free: 2.895 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 1.532e-05/0.8533, allocations: 4 kB / 1.167 GB, free: 2.891 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001108/0.8535, allocations: 27.95 kB / 1.167 GB, free: 2.863 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.8535, allocations: 0 / 1.167 GB, free: 2.863 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.613e-06/0.8535, allocations: 4 kB / 1.167 GB, free: 2.859 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.8535, allocations: 0 / 1.167 GB, free: 2.859 MB / 0.8887 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.0002924/0.8538, allocations: 327.2 kB / 1.167 GB, free: 2.492 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.8538, allocations: 8.625 kB / 1.167 GB, free: 2.484 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.368e-05/0.8539, allocations: 34.75 kB / 1.167 GB, free: 2.441 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.072e-05/0.8539, allocations: 4.875 kB / 1.167 GB, free: 2.438 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.702e-05/0.854, allocations: 160.4 kB / 1.168 GB, free: 2.242 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.958e-06/0.854, allocations: 4.359 kB / 1.168 GB, free: 2.238 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.367e-06/0.854, allocations: 4.375 kB / 1.168 GB, free: 2.234 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.931e-05/0.8541, allocations: 34.25 kB / 1.168 GB, free: 2.195 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.8541, allocations: 7.875 kB / 1.168 GB, free: 2.188 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.432e-06/0.8541, allocations: 0 / 1.168 GB, free: 2.188 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.8541, allocations: 0 / 1.168 GB, free: 2.188 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.003e-05/0.8542, allocations: 4 kB / 1.168 GB, free: 2.184 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001218/0.8543, allocations: 141.7 kB / 1.168 GB, free: 1.996 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 3.793e-05/0.8543, allocations: 18.58 kB / 1.168 GB, free: 1.969 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.853e-05/0.8544, allocations: 15.42 kB / 1.168 GB, free: 1.953 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007094/0.8551, allocations: 453.5 kB / 1.168 GB, free: 1.418 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.109e-05/0.8551, allocations: 34.56 kB / 1.168 GB, free: 1.375 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.8551, allocations: 3.938 kB / 1.168 GB, free: 1.371 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1): time 0.0001473/0.8553, allocations: 49.58 kB / 1.168 GB, free: 1.316 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.351e-05/0.8553, allocations: 55.34 kB / 1.168 GB, free: 1.25 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.403e-05/0.8554, allocations: 89.86 kB / 1.169 GB, free: 1.152 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.245e-05/0.8554, allocations: 25.7 kB / 1.169 GB, free: 1.121 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 2.789e-05/0.8554, allocations: 80.14 kB / 1.169 GB, free: 1.039 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.591e-05/0.8554, allocations: 3.984 kB / 1.169 GB, free: 1.035 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.95e-05/0.8555, allocations: 13.72 kB / 1.169 GB, free: 1.016 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 9.043e-05/0.8556, allocations: 314.8 kB / 1.169 GB, free: 0.6992 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.696e-06/0.8556, allocations: 4.125 kB / 1.169 GB, free: 0.6953 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.069e-06/0.8556, allocations: 0 / 1.169 GB, free: 0.6953 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.435e-05/0.8556, allocations: 12.8 kB / 1.169 GB, free: 0.6797 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.8556, allocations: 0 / 1.169 GB, free: 0.6797 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.95e-05/0.8557, allocations: 33.69 kB / 1.169 GB, free: 0.6406 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.8557, allocations: 8 kB / 1.169 GB, free: 0.6328 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.401e-06/0.8557, allocations: 3.938 kB / 1.169 GB, free: 0.6289 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.8557, allocations: 0 / 1.169 GB, free: 0.6289 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.736e-05/0.8558, allocations: 96 / 1.169 GB, free: 0.6289 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.8558, allocations: 4 kB / 1.169 GB, free: 0.625 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.766e-06/0.8558, allocations: 0 / 1.169 GB, free: 0.625 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.8558, allocations: 4 kB / 1.169 GB, free: 0.6211 MB / 0.8887 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 6.193e-05/0.8559, allocations: 109.8 kB / 1.169 GB, free: 0.5039 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.865e-06/0.8559, allocations: 3.984 kB / 1.169 GB, free: 0.5 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.398e-05/0.856, allocations: 44.7 kB / 1.169 GB, free: 456 kB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.856, allocations: 0 / 1.169 GB, free: 456 kB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.856, allocations: 0 / 1.169 GB, free: 456 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.856, allocations: 4.031 kB / 1.169 GB, free: 452 kB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.046e-05/0.8561, allocations: 149.7 kB / 1.169 GB, free: 252 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.8561, allocations: 3.938 kB / 1.169 GB, free: 248 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.153e-05/0.8561, allocations: 0 / 1.169 GB, free: 248 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.8561, allocations: 0 / 1.169 GB, free: 248 kB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/0.8561, allocations: 3.938 kB / 1.169 GB, free: 244 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.8561, allocations: 4 kB / 1.169 GB, free: 240 kB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.8561, allocations: 0 / 1.169 GB, free: 240 kB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.069e-05/0.8562, allocations: 65.06 kB / 1.169 GB, free: 156 kB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 3.008e-05/0.8562, allocations: 77.11 kB / 1.169 GB, free: 60 kB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.061e-05/0.8562, allocations: 3.938 kB / 1.169 GB, free: 56 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.296e-06/0.8563, allocations: 4 kB / 1.169 GB, free: 52 kB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.202e-05/0.8563, allocations: 3.938 kB / 1.169 GB, free: 48 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.694e-06/0.8563, allocations: 0 / 1.169 GB, free: 48 kB / 0.8887 GB Notification: Performance of sorting global known variables: time 3.771e-05/0.8563, allocations: 75.28 kB / 1.17 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8563, allocations: 0 / 1.17 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002034/0.8565, allocations: 19.94 kB / 1.17 GB, free: 15.95 MB / 0.9044 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.0004094/0.857, allocations: 0.6125 MB / 1.17 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 7.54e-05/0.857, allocations: 11.97 kB / 1.17 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.857, allocations: 0 / 1.17 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 6.963e-06/0.8571, allocations: 4 kB / 1.17 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001271/0.8572, allocations: 1.719 kB / 1.17 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002747/0.8575, allocations: 114.5 kB / 1.17 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002087/0.8577, allocations: 0.669 MB / 1.171 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 1.305e-05/0.8577, allocations: 4 kB / 1.171 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.37e-05/0.8577, allocations: 7.438 kB / 1.171 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of SimCode: time 3.51e-07/0.8577, allocations: 0 / 1.171 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01646/0.8742, allocations: 1.151 MB / 1.172 GB, free: 13.37 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.735/8.609, allocations: 12.42 kB / 1.172 GB, free: 13.36 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Utilities_Math_Functions_Examples_BesselJ1.fmu > Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_BesselJ1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches