Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="Buildings_latest_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.001782/0.001782, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00304/0.00304, allocations: 194.6 kB / 16.25 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.582/2.582, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 5.163/5.163, allocations: 461.9 MB / 0.7343 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002563/0.002563, allocations: 62.39 kB / 0.8987 GB, free: 37.01 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5049/0.5075, allocations: 157.4 MB / 1.052 GB, free: 8.621 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.00289/0.5105, allocations: 0.658 MB / 1.053 GB, free: 7.957 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0007752/0.5113, allocations: 207.3 kB / 1.053 GB, free: 7.754 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.352e-05/0.5113, allocations: 0 / 1.053 GB, free: 7.754 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.397e-05/0.5113, allocations: 0 / 1.053 GB, free: 7.754 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.734e-06/0.5114, allocations: 0 / 1.053 GB, free: 7.754 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005599/0.5119, allocations: 51.89 kB / 1.053 GB, free: 7.703 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.421e-05/0.512, allocations: 4 kB / 1.053 GB, free: 7.699 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.801e-05/0.5121, allocations: 0 / 1.053 GB, free: 7.699 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.861e-05/0.5121, allocations: 0 / 1.053 GB, free: 7.699 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 2.972e-05/0.5122, allocations: 3.938 kB / 1.053 GB, free: 7.695 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 8.416e-06/0.5122, allocations: 0 / 1.053 GB, free: 7.695 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002748/0.5125, allocations: 71.86 kB / 1.053 GB, free: 7.625 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.043e-05/0.5125, allocations: 0 / 1.053 GB, free: 7.625 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.233e-05/0.5125, allocations: 0 / 1.053 GB, free: 7.625 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001726/0.5127, allocations: 39.94 kB / 1.053 GB, free: 7.586 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.5127, allocations: 0 / 1.053 GB, free: 7.586 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.575e-06/0.5127, allocations: 4 kB / 1.053 GB, free: 7.582 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.344e-06/0.5128, allocations: 0 / 1.053 GB, free: 7.582 MB / 0.8106 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.0004301/0.5132, allocations: 319.6 kB / 1.054 GB, free: 7.219 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.88e-05/0.5133, allocations: 12.56 kB / 1.054 GB, free: 7.207 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.453e-05/0.5133, allocations: 30.75 kB / 1.054 GB, free: 7.168 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.219e-05/0.5134, allocations: 0.9375 kB / 1.054 GB, free: 7.168 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001297/0.5135, allocations: 164.4 kB / 1.054 GB, free: 6.969 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.5136, allocations: 4.375 kB / 1.054 GB, free: 6.965 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.757e-06/0.5136, allocations: 384 / 1.054 GB, free: 6.965 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001271/0.5137, allocations: 34.27 kB / 1.054 GB, free: 6.926 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.5138, allocations: 3.938 kB / 1.054 GB, free: 6.922 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.5138, allocations: 0 / 1.054 GB, free: 6.922 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.5138, allocations: 0 / 1.054 GB, free: 6.922 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.309e-05/0.5138, allocations: 7.984 kB / 1.054 GB, free: 6.914 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002024/0.5141, allocations: 141.7 kB / 1.054 GB, free: 6.727 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.947e-05/0.5142, allocations: 22.55 kB / 1.054 GB, free: 6.695 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.099e-05/0.5142, allocations: 12.84 kB / 1.054 GB, free: 6.68 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001299/0.5155, allocations: 453.5 kB / 1.055 GB, free: 6.145 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.019e-05/0.5156, allocations: 38.48 kB / 1.055 GB, free: 6.098 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 2.395e-06/0.5156, allocations: 0 / 1.055 GB, free: 6.098 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0001954/0.5158, allocations: 49.58 kB / 1.055 GB, free: 6.043 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.75e-05/0.5159, allocations: 51.41 kB / 1.055 GB, free: 5.98 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.889e-05/0.5159, allocations: 93.8 kB / 1.055 GB, free: 5.879 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.706e-05/0.516, allocations: 25.7 kB / 1.055 GB, free: 5.848 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.358e-05/0.516, allocations: 80.14 kB / 1.055 GB, free: 5.766 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.333e-05/0.5161, allocations: 0 / 1.055 GB, free: 5.766 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.655e-05/0.5161, allocations: 13.72 kB / 1.055 GB, free: 5.746 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001949/0.5163, allocations: 310.8 kB / 1.055 GB, free: 5.434 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.002e-05/0.5164, allocations: 12.11 kB / 1.055 GB, free: 5.422 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.031e-05/0.5164, allocations: 0 / 1.055 GB, free: 5.422 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.793e-05/0.5164, allocations: 12.86 kB / 1.055 GB, free: 5.406 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.5165, allocations: 0 / 1.055 GB, free: 5.406 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.794e-05/0.5166, allocations: 33.64 kB / 1.055 GB, free: 5.367 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.606e-05/0.5166, allocations: 9.562 kB / 1.055 GB, free: 5.359 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.325e-05/0.5166, allocations: 3.938 kB / 1.055 GB, free: 5.355 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.132e-05/0.5167, allocations: 0 / 1.055 GB, free: 5.355 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.351e-05/0.5167, allocations: 0 / 1.055 GB, free: 5.355 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.258e-06/0.5168, allocations: 4.094 kB / 1.055 GB, free: 5.352 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.12e-05/0.5168, allocations: 4 kB / 1.055 GB, free: 5.348 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.5168, allocations: 3.984 kB / 1.055 GB, free: 5.344 MB / 0.8106 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 0.0001271/0.517, allocations: 105.8 kB / 1.055 GB, free: 5.23 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.241e-05/0.517, allocations: 0 / 1.055 GB, free: 5.23 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001298/0.5171, allocations: 40.77 kB / 1.055 GB, free: 5.188 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.5172, allocations: 0 / 1.055 GB, free: 5.188 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.5172, allocations: 0 / 1.055 GB, free: 5.188 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.71e-06/0.5172, allocations: 8.031 kB / 1.055 GB, free: 5.18 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001688/0.5174, allocations: 145.7 kB / 1.056 GB, free: 4.988 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.5174, allocations: 3.938 kB / 1.056 GB, free: 4.984 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.954e-05/0.5174, allocations: 0 / 1.056 GB, free: 4.984 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.5174, allocations: 0 / 1.056 GB, free: 4.984 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.5175, allocations: 7.938 kB / 1.056 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.043e-06/0.5175, allocations: 0 / 1.056 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.5175, allocations: 0 / 1.056 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001139/0.5176, allocations: 61.12 kB / 1.056 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.256e-05/0.5177, allocations: 84.95 kB / 1.056 GB, free: 4.797 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.049e-05/0.5177, allocations: 7.938 kB / 1.056 GB, free: 4.789 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.406e-05/0.5177, allocations: 0 / 1.056 GB, free: 4.789 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.341e-05/0.5178, allocations: 0 / 1.056 GB, free: 4.789 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.5178, allocations: 0 / 1.056 GB, free: 4.789 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.076e-05/0.5178, allocations: 75.28 kB / 1.056 GB, free: 4.715 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.61e-07/0.5178, allocations: 0 / 1.056 GB, free: 4.715 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003907/0.5182, allocations: 12 kB / 1.056 GB, free: 4.703 MB / 0.8106 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.0007375/0.519, allocations: 0.6243 MB / 1.056 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001116/0.5191, allocations: 4 kB / 1.056 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.5192, allocations: 4.094 kB / 1.056 GB, free: 4.039 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.788e-05/0.5192, allocations: 8 kB / 1.056 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002349/0.5194, allocations: 0 / 1.056 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004758/0.5199, allocations: 114.5 kB / 1.057 GB, free: 3.879 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003654/0.5203, allocations: 0.669 MB / 1.057 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.437e-05/0.5203, allocations: 8 kB / 1.057 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.396e-05/0.5204, allocations: 7.438 kB / 1.057 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of SimCode: time 4.51e-07/0.5204, allocations: 0 / 1.057 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03609/0.5565, allocations: 1.054 MB / 1.058 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003576/0.5569, allocations: 212.3 kB / 1.058 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.64/4.197, allocations: 3.938 kB / 1.058 GB, free: 1.969 MB / 0.8106 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_BesselJ1.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_BesselJ1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches