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.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.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.001787/0.001787, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.0021/0.0021, allocations: 190.9 kB / 16.14 MB, free: 6.711 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.331/1.331, allocations: 222.9 MB / 239.8 MB, free: 4.617 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.492/2.492, allocations: 437 MB / 0.7099 GB, free: 5.371 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002438/0.002438, allocations: 71.89 kB / 0.8687 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6087/0.6111, allocations: 151.6 MB / 1.017 GB, free: 2.785 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.00173/0.6129, allocations: 0.6412 MB / 1.017 GB, free: 2.141 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0003876/0.6133, allocations: 203.4 kB / 1.018 GB, free: 1.941 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.059e-06/0.6133, allocations: 0 / 1.018 GB, free: 1.941 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 9.037e-06/0.6134, allocations: 0 / 1.018 GB, free: 1.941 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 2.494e-06/0.6134, allocations: 0 / 1.018 GB, free: 1.941 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002006/0.6136, allocations: 47.89 kB / 1.018 GB, free: 1.895 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 1.56e-05/0.6136, allocations: 0 / 1.018 GB, free: 1.895 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 1.963e-05/0.6136, allocations: 3.938 kB / 1.018 GB, free: 1.891 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 9.358e-06/0.6136, allocations: 7.984 kB / 1.018 GB, free: 1.883 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 8.867e-06/0.6137, allocations: 0 / 1.018 GB, free: 1.883 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 3.076e-06/0.6137, allocations: 4 kB / 1.018 GB, free: 1.879 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001228/0.6138, allocations: 63.88 kB / 1.018 GB, free: 1.816 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.647e-06/0.6138, allocations: 0 / 1.018 GB, free: 1.816 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 8.265e-06/0.6138, allocations: 0 / 1.018 GB, free: 1.816 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.017e-05/0.6139, allocations: 39.88 kB / 1.018 GB, free: 1.777 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.6139, allocations: 0 / 1.018 GB, free: 1.777 MB / 0.7637 GB Notification: Performance of FrontEnd: time 9.02e-07/0.6139, allocations: 0 / 1.018 GB, free: 1.777 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 1.914e-06/0.6139, allocations: 3.938 kB / 1.018 GB, free: 1.773 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.0002004/0.6141, allocations: 319.5 kB / 1.018 GB, free: 1.41 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.6142, allocations: 20.02 kB / 1.018 GB, free: 1.391 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.087e-05/0.6142, allocations: 30.75 kB / 1.018 GB, free: 1.352 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.277e-05/0.6142, allocations: 0.9375 kB / 1.018 GB, free: 1.352 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.568e-05/0.6143, allocations: 160.4 kB / 1.018 GB, free: 1.156 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.28e-06/0.6143, allocations: 384 / 1.018 GB, free: 1.156 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.346e-06/0.6143, allocations: 384 / 1.018 GB, free: 1.156 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.755e-05/0.6144, allocations: 30.27 kB / 1.018 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.831e-06/0.6144, allocations: 3.938 kB / 1.018 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.214e-06/0.6144, allocations: 0 / 1.018 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.194e-06/0.6144, allocations: 3.938 kB / 1.018 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.291e-05/0.6144, allocations: 7.938 kB / 1.018 GB, free: 1.105 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001078/0.6145, allocations: 153.7 kB / 1.018 GB, free: 0.9062 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 2.545e-05/0.6146, allocations: 18.56 kB / 1.018 GB, free: 0.8789 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.131e-05/0.6146, allocations: 4.859 kB / 1.018 GB, free: 0.8711 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006304/0.6152, allocations: 469.5 kB / 1.019 GB, free: 328 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.938e-05/0.6153, allocations: 30.56 kB / 1.019 GB, free: 288 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=1): time 1.432e-06/0.6153, allocations: 0 / 1.019 GB, free: 288 kB / 0.7637 GB Notification: Performance of matching and sorting (n=1): time 8.098e-05/0.6153, allocations: 37.58 kB / 1.019 GB, free: 244 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.288e-05/0.6154, allocations: 51.41 kB / 1.019 GB, free: 180 kB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.13e-05/0.6154, allocations: 89.86 kB / 1.019 GB, free: 80 kB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 9.528e-06/0.6154, allocations: 33.83 kB / 1.019 GB, free: 40 kB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 3.282e-05/0.6155, allocations: 88.12 kB / 1.019 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.355e-05/0.6155, allocations: 0 / 1.019 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.336e-05/0.6155, allocations: 9.719 kB / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.877e-05/0.6156, allocations: 310.8 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.085e-06/0.6156, allocations: 4 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.09e-06/0.6156, allocations: 0 / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.674e-05/0.6156, allocations: 8.859 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.6157, allocations: 4.062 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.111e-05/0.6157, allocations: 37.64 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.6157, allocations: 9.078 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.6157, allocations: 7.922 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.542e-06/0.6158, allocations: 0 / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.104e-05/0.6158, allocations: 4 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.465e-06/0.6158, allocations: 0 / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.017e-05/0.6158, allocations: 4 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.735e-06/0.6158, allocations: 0 / 1.02 GB, free: 15.54 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.457e-05/0.6159, allocations: 114.4 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.442e-06/0.6159, allocations: 0 / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.985e-05/0.6159, allocations: 48.69 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.616, allocations: 3.938 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.933e-06/0.616, allocations: 0 / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.242e-06/0.616, allocations: 0 / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.117e-05/0.616, allocations: 141.7 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.616, allocations: 0 / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.141e-05/0.6161, allocations: 7.938 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.6161, allocations: 8.016 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.308e-06/0.6161, allocations: 3.938 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.6161, allocations: 0 / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.6161, allocations: 0 / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.568e-05/0.6162, allocations: 57.14 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.663e-05/0.6162, allocations: 77.11 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.628e-06/0.6162, allocations: 7.922 kB / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.768e-06/0.6162, allocations: 0 / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.03e-06/0.6162, allocations: 7.969 kB / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/0.6162, allocations: 4 kB / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.573e-05/0.6163, allocations: 75.28 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6163, allocations: 0 / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001929/0.6165, allocations: 8 kB / 1.02 GB, free: 14.88 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.0003816/0.6169, allocations: 0.6186 MB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 4.404e-05/0.6169, allocations: 8 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.6169, allocations: 0 / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.765e-06/0.6169, allocations: 7.922 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001029/0.617, allocations: 4 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001905/0.6172, allocations: 112.4 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001867/0.6174, allocations: 0.6692 MB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.021e-05/0.6175, allocations: 7.969 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.125e-05/0.6175, allocations: 7.438 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.6175, allocations: 0 / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009402/0.6269, allocations: 1.026 MB / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002368/0.6271, allocations: 199 kB / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.629/2.256, allocations: 1.25 kB / 1.023 GB, free: 12.17 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