Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Functions.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.Functions.Examples.BesselJ0,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_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.005248/0.005248, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.001129/0.001129, allocations: 193.8 kB / 16.67 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.374/1.374, allocations: 222.9 MB / 240.4 MB, free: 15.1 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.436/2.436, allocations: 437 MB / 0.7105 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001514/0.001514, allocations: 67.91 kB / 1.018 GB, free: 9.852 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8831/0.8847, allocations: 151.6 MB / 1.166 GB, free: 3.738 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.002/0.8867, allocations: 0.5854 MB / 1.167 GB, free: 3.156 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0004521/0.8872, allocations: 193.3 kB / 1.167 GB, free: 2.969 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.201e-05/0.8872, allocations: 4 kB / 1.167 GB, free: 2.965 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.442e-05/0.8873, allocations: 0 / 1.167 GB, free: 2.965 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.47e-06/0.8873, allocations: 0 / 1.167 GB, free: 2.965 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003499/0.8876, allocations: 47.84 kB / 1.167 GB, free: 2.918 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 3.985e-05/0.8877, allocations: 7.984 kB / 1.167 GB, free: 2.91 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 3.754e-05/0.8877, allocations: 0 / 1.167 GB, free: 2.91 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 1.351e-05/0.8877, allocations: 0 / 1.167 GB, free: 2.91 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 2.069e-05/0.8878, allocations: 0 / 1.167 GB, free: 2.91 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 6.973e-06/0.8878, allocations: 0 / 1.167 GB, free: 2.91 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001787/0.888, allocations: 59.94 kB / 1.167 GB, free: 2.852 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.125e-05/0.888, allocations: 7.938 kB / 1.167 GB, free: 2.844 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 1.842e-05/0.888, allocations: 0 / 1.167 GB, free: 2.844 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001244/0.8881, allocations: 35.88 kB / 1.167 GB, free: 2.809 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.8881, allocations: 0 / 1.167 GB, free: 2.809 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.483e-06/0.8881, allocations: 0 / 1.167 GB, free: 2.809 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.8882, allocations: 0 / 1.167 GB, free: 2.809 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.0003117/0.8885, allocations: 327.2 kB / 1.167 GB, free: 2.441 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.8885, allocations: 8.922 kB / 1.167 GB, free: 2.434 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.969e-05/0.8885, allocations: 30.75 kB / 1.167 GB, free: 2.395 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.266e-05/0.8886, allocations: 0.9375 kB / 1.167 GB, free: 2.395 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.873e-05/0.8887, allocations: 164.4 kB / 1.168 GB, free: 2.195 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.365e-06/0.8887, allocations: 384 / 1.168 GB, free: 2.195 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.208e-05/0.8887, allocations: 4.375 kB / 1.168 GB, free: 2.191 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.932e-05/0.8888, allocations: 26.27 kB / 1.168 GB, free: 2.16 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.8888, allocations: 7.875 kB / 1.168 GB, free: 2.152 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.033e-06/0.8888, allocations: 0 / 1.168 GB, free: 2.152 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.8888, allocations: 0 / 1.168 GB, free: 2.152 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.209e-05/0.8889, allocations: 7.938 kB / 1.168 GB, free: 2.145 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001368/0.889, allocations: 153.7 kB / 1.168 GB, free: 1.945 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 3.812e-05/0.8891, allocations: 22.58 kB / 1.168 GB, free: 1.914 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.639e-05/0.8891, allocations: 8.953 kB / 1.168 GB, free: 1.902 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00071/0.8898, allocations: 453.5 kB / 1.168 GB, free: 1.367 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.181e-05/0.8898, allocations: 38.56 kB / 1.168 GB, free: 1.32 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=1): time 1.152e-06/0.8898, allocations: 0 / 1.168 GB, free: 1.32 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1): time 0.0001273/0.89, allocations: 41.53 kB / 1.168 GB, free: 1.273 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.564e-05/0.89, allocations: 51.41 kB / 1.168 GB, free: 1.211 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.227e-05/0.8901, allocations: 89.86 kB / 1.168 GB, free: 1.113 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.136e-05/0.8901, allocations: 29.64 kB / 1.169 GB, free: 1.078 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 2.756e-05/0.8901, allocations: 82.61 kB / 1.169 GB, free: 0.9961 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.531e-05/0.8902, allocations: 0 / 1.169 GB, free: 0.9961 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.182e-05/0.8902, allocations: 21.84 kB / 1.169 GB, free: 0.9688 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.8903, allocations: 314.8 kB / 1.169 GB, free: 0.6523 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.718e-06/0.8903, allocations: 0 / 1.169 GB, free: 0.6523 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.071e-06/0.8903, allocations: 0 / 1.169 GB, free: 0.6523 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.266e-05/0.8904, allocations: 8.859 kB / 1.169 GB, free: 0.6406 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.8904, allocations: 0 / 1.169 GB, free: 0.6406 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.458e-05/0.8904, allocations: 33.64 kB / 1.169 GB, free: 0.6016 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.8904, allocations: 8 kB / 1.169 GB, free: 0.5938 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.8905, allocations: 12.02 kB / 1.169 GB, free: 0.582 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.8905, allocations: 0 / 1.169 GB, free: 0.582 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.98e-05/0.8905, allocations: 7.984 kB / 1.169 GB, free: 0.5742 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.8905, allocations: 4 kB / 1.169 GB, free: 0.5703 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.03e-05/0.8905, allocations: 0 / 1.169 GB, free: 0.5703 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.669e-06/0.8906, allocations: 0 / 1.169 GB, free: 0.5703 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 5.847e-05/0.8906, allocations: 105.8 kB / 1.169 GB, free: 468 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.832e-06/0.8906, allocations: 0 / 1.169 GB, free: 468 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.021e-05/0.8907, allocations: 44.7 kB / 1.169 GB, free: 412 kB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-06/0.8907, allocations: 0 / 1.169 GB, free: 412 kB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.8907, allocations: 7.984 kB / 1.169 GB, free: 404 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.8907, allocations: 0 / 1.169 GB, free: 404 kB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.05e-05/0.8908, allocations: 145.7 kB / 1.169 GB, free: 208 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.8908, allocations: 0 / 1.169 GB, free: 208 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.374e-05/0.8908, allocations: 0 / 1.169 GB, free: 208 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.8909, allocations: 4 kB / 1.169 GB, free: 204 kB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.583e-06/0.8909, allocations: 3.938 kB / 1.169 GB, free: 200 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.8909, allocations: 0 / 1.169 GB, free: 200 kB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.8909, allocations: 3.938 kB / 1.169 GB, free: 196 kB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.385e-05/0.891, allocations: 57.16 kB / 1.169 GB, free: 120 kB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 2.992e-05/0.891, allocations: 81.11 kB / 1.169 GB, free: 20 kB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.14e-05/0.891, allocations: 7.938 kB / 1.169 GB, free: 12 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.077e-06/0.891, allocations: 4 kB / 1.169 GB, free: 8 kB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.137e-05/0.891, allocations: 0 / 1.169 GB, free: 8 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-06/0.891, allocations: 0 / 1.169 GB, free: 8 kB / 0.8887 GB Notification: Performance of sorting global known variables: time 4.766e-05/0.8911, allocations: 83.16 kB / 1.169 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8911, allocations: 4.031 kB / 1.17 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002252/0.8913, allocations: 19.92 kB / 1.17 GB, free: 15.9 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.0004401/0.8918, allocations: 0.6125 MB / 1.17 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 6.825e-05/0.8919, allocations: 4 kB / 1.17 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.8919, allocations: 0 / 1.17 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.026e-05/0.8919, allocations: 7.938 kB / 1.17 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001319/0.892, allocations: 0 / 1.17 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002806/0.8923, allocations: 110.5 kB / 1.17 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002393/0.8926, allocations: 0.6729 MB / 1.171 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 1.067e-05/0.8926, allocations: 128 / 1.171 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.353e-05/0.8926, allocations: 11.44 kB / 1.171 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of SimCode: time 3.31e-07/0.8926, allocations: 0 / 1.171 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01587/0.9085, allocations: 1.145 MB / 1.172 GB, free: 13.33 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.668/8.576, allocations: 15.89 kB / 1.172 GB, free: 13.32 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.Math.Functions.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_Functions_Examples_BesselJ0.fmu > Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_BesselJ0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches