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.001379/0.001379, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001302/0.001302, allocations: 188.8 kB / 16.25 MB, free: 6.633 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.364/1.364, allocations: 222.9 MB / 239.9 MB, free: 4.523 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.575/2.575, allocations: 437.1 MB / 0.7101 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001156/0.001156, allocations: 59.91 kB / 0.8689 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4865/0.4877, allocations: 151.6 MB / 1.017 GB, free: 2.711 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.001492/0.4892, allocations: 0.6451 MB / 1.018 GB, free: 2.062 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0003586/0.4896, allocations: 195.4 kB / 1.018 GB, free: 1.871 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.935e-06/0.4896, allocations: 0 / 1.018 GB, free: 1.871 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.305e-05/0.4896, allocations: 4 kB / 1.018 GB, free: 1.867 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.268e-06/0.4896, allocations: 0 / 1.018 GB, free: 1.867 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002969/0.4899, allocations: 47.89 kB / 1.018 GB, free: 1.82 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 2.638e-05/0.4899, allocations: 4 kB / 1.018 GB, free: 1.816 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.053e-05/0.49, allocations: 3.984 kB / 1.018 GB, free: 1.812 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.02e-05/0.49, allocations: 0 / 1.018 GB, free: 1.812 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 1.36e-05/0.49, allocations: 0 / 1.018 GB, free: 1.812 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 5.481e-06/0.49, allocations: 0 / 1.018 GB, free: 1.812 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001368/0.4902, allocations: 71.86 kB / 1.018 GB, free: 1.742 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 6.622e-06/0.4902, allocations: 3.938 kB / 1.018 GB, free: 1.738 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 1.1e-05/0.4902, allocations: 3.938 kB / 1.018 GB, free: 1.734 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.849e-05/0.4903, allocations: 39.94 kB / 1.018 GB, free: 1.695 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.4903, allocations: 0 / 1.018 GB, free: 1.695 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.203e-06/0.4903, allocations: 0 / 1.018 GB, free: 1.695 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.4903, allocations: 0 / 1.018 GB, free: 1.695 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.0002143/0.4905, allocations: 319.6 kB / 1.018 GB, free: 1.332 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.4906, allocations: 12.02 kB / 1.018 GB, free: 1.32 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.88e-05/0.4906, allocations: 34.69 kB / 1.018 GB, free: 1.277 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.693e-05/0.4906, allocations: 0.9375 kB / 1.018 GB, free: 1.277 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.881e-05/0.4907, allocations: 164.4 kB / 1.018 GB, free: 1.078 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.794e-06/0.4907, allocations: 4.375 kB / 1.018 GB, free: 1.074 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.718e-06/0.4907, allocations: 384 / 1.018 GB, free: 1.074 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.803e-05/0.4908, allocations: 26.27 kB / 1.018 GB, free: 1.043 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.771e-06/0.4908, allocations: 3.938 kB / 1.018 GB, free: 1.039 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.08e-06/0.4908, allocations: 0 / 1.018 GB, free: 1.039 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.996e-06/0.4908, allocations: 4 kB / 1.018 GB, free: 1.035 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.363e-05/0.4908, allocations: 0 / 1.018 GB, free: 1.035 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001003/0.4909, allocations: 157.6 kB / 1.019 GB, free: 0.832 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 3.169e-05/0.491, allocations: 30.53 kB / 1.019 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.235e-05/0.491, allocations: 4.859 kB / 1.019 GB, free: 0.7852 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006118/0.4916, allocations: 453.5 kB / 1.019 GB, free: 256 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.123e-05/0.4916, allocations: 38.56 kB / 1.019 GB, free: 208 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.4917, allocations: 4 kB / 1.019 GB, free: 204 kB / 0.7637 GB Notification: Performance of matching and sorting (n=1): time 9.386e-05/0.4918, allocations: 37.58 kB / 1.019 GB, free: 160 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.659e-05/0.4918, allocations: 51.41 kB / 1.019 GB, free: 96 kB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.452e-05/0.4918, allocations: 93.8 kB / 1.019 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 8.606e-06/0.4918, allocations: 25.7 kB / 1.019 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 1.993e-05/0.4919, allocations: 84.12 kB / 1.019 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.701e-05/0.4919, allocations: 0 / 1.019 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.368e-05/0.4919, allocations: 17.72 kB / 1.019 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 7.092e-05/0.492, allocations: 315 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.953e-06/0.492, allocations: 0 / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.429e-06/0.492, allocations: 0 / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.866e-05/0.492, allocations: 8.859 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.492, allocations: 0 / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.256e-05/0.4921, allocations: 37.62 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.267e-06/0.4921, allocations: 9.406 kB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.4921, allocations: 3.938 kB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.504e-06/0.4921, allocations: 4.094 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.855e-05/0.4922, allocations: 0 / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.898e-06/0.4922, allocations: 0 / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.175e-06/0.4922, allocations: 4 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-06/0.4922, allocations: 7.922 kB / 1.02 GB, free: 15.45 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 4.853e-05/0.4922, allocations: 110.4 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.29e-06/0.4922, allocations: 0 / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.872e-05/0.4923, allocations: 40.75 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.4923, allocations: 4.031 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.227e-06/0.4923, allocations: 4 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.462e-06/0.4923, allocations: 0 / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.303e-05/0.4924, allocations: 145.7 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.4924, allocations: 0 / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.408e-06/0.4924, allocations: 3.938 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.4924, allocations: 7.984 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.4924, allocations: 3.938 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.4924, allocations: 0 / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.4924, allocations: 0 / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.123e-05/0.4925, allocations: 53.14 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.39e-05/0.4925, allocations: 77.11 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.598e-06/0.4925, allocations: 11.92 kB / 1.02 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.564e-06/0.4926, allocations: 4 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.035e-06/0.4926, allocations: 0 / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-06/0.4926, allocations: 7.938 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 1.867e-05/0.4926, allocations: 75.28 kB / 1.02 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4926, allocations: 0 / 1.02 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000181/0.4928, allocations: 20.03 kB / 1.02 GB, free: 14.79 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.000317/0.4931, allocations: 0.6185 MB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 4.703e-05/0.4932, allocations: 4 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.4932, allocations: 0 / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.005e-06/0.4932, allocations: 7.984 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001082/0.4933, allocations: 0 / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002148/0.4935, allocations: 114.6 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001553/0.4937, allocations: 0.6768 MB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.817e-06/0.4937, allocations: 0 / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.24e-05/0.4937, allocations: 11.56 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.4937, allocations: 0 / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6027/1.096, allocations: 1.042 MB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002368/1.097, allocations: 200 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.162/3.258, allocations: 7.938 kB / 1.023 GB, free: 12.08 MB / 0.7794 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Functions_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 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.mat","/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