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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001121/0.001121, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001201/0.001201, allocations: 195 kB / 16.14 MB, free: 6.645 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.281/1.281, allocations: 222.9 MB / 239.8 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.437/2.437, allocations: 437 MB / 0.7099 GB, free: 5.371 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001419/0.001419, allocations: 64.14 kB / 0.8687 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5851/0.5865, allocations: 151.6 MB / 1.017 GB, free: 2.805 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.00183/0.5884, allocations: 0.6529 MB / 1.017 GB, free: 2.148 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0004599/0.5889, allocations: 199.4 kB / 1.018 GB, free: 1.953 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.367e-06/0.5889, allocations: 0 / 1.018 GB, free: 1.953 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.462e-05/0.5889, allocations: 0 / 1.018 GB, free: 1.953 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.739e-06/0.5889, allocations: 0 / 1.018 GB, free: 1.953 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003014/0.5892, allocations: 39.91 kB / 1.018 GB, free: 1.914 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 3.019e-05/0.5893, allocations: 0 / 1.018 GB, free: 1.914 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.061e-05/0.5893, allocations: 0 / 1.018 GB, free: 1.914 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.218e-05/0.5893, allocations: 0 / 1.018 GB, free: 1.914 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 1.736e-05/0.5894, allocations: 0 / 1.018 GB, free: 1.914 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 7.795e-06/0.5894, allocations: 7.984 kB / 1.018 GB, free: 1.906 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001655/0.5895, allocations: 67.88 kB / 1.018 GB, free: 1.84 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 8.646e-06/0.5896, allocations: 0 / 1.018 GB, free: 1.84 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 1.619e-05/0.5896, allocations: 3.938 kB / 1.018 GB, free: 1.836 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001121/0.5897, allocations: 39.88 kB / 1.018 GB, free: 1.797 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.5897, allocations: 4 kB / 1.018 GB, free: 1.793 MB / 0.7637 GB Notification: Performance of FrontEnd: time 9.02e-07/0.5897, allocations: 0 / 1.018 GB, free: 1.793 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.5897, allocations: 0 / 1.018 GB, free: 1.793 MB / 0.7637 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.0002718/0.59, allocations: 323.5 kB / 1.018 GB, free: 1.426 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.59, allocations: 8.031 kB / 1.018 GB, free: 1.418 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.818e-05/0.5901, allocations: 30.75 kB / 1.018 GB, free: 1.379 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.032e-05/0.5901, allocations: 0.9375 kB / 1.018 GB, free: 1.379 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.115e-05/0.5902, allocations: 164.4 kB / 1.018 GB, free: 1.18 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.476e-06/0.5902, allocations: 4.312 kB / 1.018 GB, free: 1.176 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.232e-06/0.5902, allocations: 4.375 kB / 1.018 GB, free: 1.172 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.355e-05/0.5903, allocations: 34.25 kB / 1.018 GB, free: 1.133 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.5903, allocations: 3.938 kB / 1.018 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.132e-06/0.5903, allocations: 0 / 1.018 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.5903, allocations: 4 kB / 1.018 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.922e-05/0.5904, allocations: 3.938 kB / 1.018 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001301/0.5905, allocations: 141.7 kB / 1.018 GB, free: 0.9336 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 3.81e-05/0.5905, allocations: 18.61 kB / 1.018 GB, free: 0.9062 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.56e-05/0.5906, allocations: 12.86 kB / 1.018 GB, free: 0.8906 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006584/0.5912, allocations: 453.5 kB / 1.019 GB, free: 364 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.864e-05/0.5913, allocations: 30.56 kB / 1.019 GB, free: 324 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.5913, allocations: 0 / 1.019 GB, free: 324 kB / 0.7637 GB Notification: Performance of matching and sorting (n=1): time 0.0001191/0.5914, allocations: 45.58 kB / 1.019 GB, free: 272 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.679e-05/0.5914, allocations: 51.41 kB / 1.019 GB, free: 208 kB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.375e-05/0.5915, allocations: 89.86 kB / 1.019 GB, free: 108 kB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 1.194e-05/0.5915, allocations: 25.7 kB / 1.019 GB, free: 76 kB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 3.74e-05/0.5915, allocations: 84.08 kB / 1.019 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.764e-05/0.5916, allocations: 7.984 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.321e-05/0.5916, allocations: 9.719 kB / 1.019 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.333e-05/0.5917, allocations: 311 kB / 1.019 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.546e-06/0.5917, allocations: 4 kB / 1.019 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.026e-06/0.5917, allocations: 8 kB / 1.019 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.281e-05/0.5917, allocations: 8.859 kB / 1.019 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.5917, allocations: 0 / 1.019 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.536e-05/0.5918, allocations: 37.64 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.5918, allocations: 7.984 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.5918, allocations: 3.938 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.718e-06/0.5918, allocations: 0 / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.882e-05/0.5919, allocations: 8.094 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.84e-06/0.5919, allocations: 0 / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.856e-06/0.5919, allocations: 0 / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.709e-06/0.5919, allocations: 0 / 1.02 GB, free: 15.57 MB / 0.7794 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.78e-05/0.592, allocations: 105.8 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.701e-06/0.592, allocations: 0 / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.783e-05/0.5921, allocations: 52.69 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.5921, allocations: 0 / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.5921, allocations: 4.031 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.714e-06/0.5921, allocations: 0 / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.276e-05/0.5922, allocations: 141.7 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.5922, allocations: 0 / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.194e-05/0.5922, allocations: 4 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.223e-06/0.5922, allocations: 3.938 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.5922, allocations: 7.922 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/0.5922, allocations: 0 / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.5922, allocations: 0 / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.21e-05/0.5923, allocations: 61.14 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.054e-05/0.5923, allocations: 81.09 kB / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.01e-05/0.5923, allocations: 3.938 kB / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.975e-06/0.5923, allocations: 3.984 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.356e-05/0.5924, allocations: 3.938 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.824e-06/0.5924, allocations: 0 / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.702e-05/0.5924, allocations: 75.28 kB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5924, allocations: 3.938 kB / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001967/0.5926, allocations: 16 kB / 1.02 GB, free: 14.91 MB / 0.7794 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.0003894/0.593, allocations: 0.6113 MB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.001e-05/0.5931, allocations: 8.031 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.5931, allocations: 0 / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.678e-06/0.5931, allocations: 11.94 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001288/0.5932, allocations: 7.453 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002564/0.5935, allocations: 104.3 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001981/0.5937, allocations: 0.6731 MB / 1.021 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.246e-05/0.5937, allocations: 4 kB / 1.021 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.316e-05/0.5937, allocations: 11.42 kB / 1.021 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of SimCode: time 2.11e-07/0.5937, allocations: 128 / 1.021 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01006/0.6038, allocations: 1.021 MB / 1.022 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001896/0.604, allocations: 199.6 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.62/2.224, allocations: 0 / 1.023 GB, free: 12.21 MB / 0.7794 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Functions_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 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.mat","/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