Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.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.Examples.BesselJ0,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ0,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_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.001083/0.001083, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001173/0.001173, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.276/1.276, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.476/2.476, allocations: 437.1 MB / 0.7104 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 71.91 kB / 0.8694 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5829/0.5843, allocations: 151.6 MB / 1.017 GB, free: 2.48 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.002627/0.587, allocations: 1.427 MB / 1.019 GB, free: 1.043 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0005457/0.5876, allocations: 248.1 kB / 1.019 GB, free: 0.7969 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.794e-05/0.5876, allocations: 0 / 1.019 GB, free: 0.7969 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.431e-05/0.5876, allocations: 3.938 kB / 1.019 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.142e-05/0.5877, allocations: 3.984 kB / 1.019 GB, free: 0.7891 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000367/0.5881, allocations: 63.81 kB / 1.019 GB, free: 0.7266 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.745e-05/0.5881, allocations: 23.88 kB / 1.019 GB, free: 0.7031 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.405e-05/0.5882, allocations: 11.98 kB / 1.019 GB, free: 0.6914 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.777e-05/0.5883, allocations: 8 kB / 1.019 GB, free: 0.6836 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.782e-05/0.5883, allocations: 11.92 kB / 1.019 GB, free: 0.6719 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 8.646e-06/0.5883, allocations: 0 / 1.019 GB, free: 0.6719 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001414/0.5885, allocations: 59.89 kB / 1.019 GB, free: 0.6133 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.363e-05/0.5885, allocations: 7.984 kB / 1.019 GB, free: 0.6055 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.431e-05/0.5885, allocations: 11.92 kB / 1.019 GB, free: 0.5938 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001249/0.5887, allocations: 43.94 kB / 1.019 GB, free: 0.5508 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.5887, allocations: 0 / 1.019 GB, free: 0.5508 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.453e-06/0.5887, allocations: 0 / 1.019 GB, free: 0.5508 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 7.094e-06/0.5887, allocations: 3.938 kB / 1.019 GB, free: 0.5469 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004167/0.5891, allocations: 353.7 kB / 1.02 GB, free: 156 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.5892, allocations: 8.031 kB / 1.02 GB, free: 148 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.09e-05/0.5892, allocations: 30.75 kB / 1.02 GB, free: 108 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.323e-05/0.5892, allocations: 4.938 kB / 1.02 GB, free: 104 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001151/0.5893, allocations: 172.3 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.5894, allocations: 384 / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.188e-06/0.5894, allocations: 4.375 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001641/0.5895, allocations: 54.17 kB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.976e-06/0.5896, allocations: 7.938 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.705e-06/0.5896, allocations: 0 / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.5896, allocations: 0 / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001687/0.5897, allocations: 31.95 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002831/0.59, allocations: 252.9 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001243/0.5902, allocations: 46.44 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.631e-05/0.5903, allocations: 20.91 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006375/0.5909, allocations: 457.5 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.968e-05/0.591, allocations: 34.56 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.591, allocations: 0 / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003573/0.5913, allocations: 77.64 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.354e-05/0.5914, allocations: 55.41 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.424e-05/0.5915, allocations: 97.84 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.928e-05/0.5915, allocations: 29.83 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.88e-05/0.5915, allocations: 88.08 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.159e-05/0.5916, allocations: 7.906 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.047e-05/0.5916, allocations: 9.719 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001241/0.5917, allocations: 314.8 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.409e-05/0.5918, allocations: 19.97 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.328e-05/0.5919, allocations: 19.98 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001481/0.5921, allocations: 40.89 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.5921, allocations: 3.938 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001967/0.5923, allocations: 65.66 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.5923, allocations: 6.188 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.5923, allocations: 0 / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.5923, allocations: 4.031 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.265e-05/0.5924, allocations: 15.92 kB / 1.022 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.5924, allocations: 3.938 kB / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.986e-05/0.5925, allocations: 7.906 kB / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.5925, allocations: 0 / 1.022 GB, free: 13.93 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 (2): * Single equations (assignments): 2 * 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 7.884e-05/0.5926, allocations: 115.3 kB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.593e-05/0.5926, allocations: 8 kB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002321/0.5929, allocations: 68.78 kB / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.5929, allocations: 3.938 kB / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.5929, allocations: 0 / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.5929, allocations: 0 / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001609/0.5931, allocations: 157.6 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.5931, allocations: 7.984 kB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.472e-05/0.5931, allocations: 4 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.5931, allocations: 0 / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.5932, allocations: 0 / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.5932, allocations: 3.969 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.5932, allocations: 4 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002401/0.5934, allocations: 163.5 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.439e-05/0.5935, allocations: 85.09 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.153e-05/0.5935, allocations: 0 / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.197e-05/0.5936, allocations: 4 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.342e-05/0.5936, allocations: 8.016 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.466e-06/0.5936, allocations: 0 / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.075e-05/0.5937, allocations: 83.28 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of sort global known variables: time 3.71e-07/0.5937, allocations: 0 / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002313/0.5939, allocations: 20 kB / 1.022 GB, free: 13.11 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 (2): * Single equations (assignments): 2 * 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.0005616/0.5945, allocations: 0.7173 MB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001998/0.5947, allocations: 31.97 kB / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.5947, allocations: 4.094 kB / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.421e-05/0.5948, allocations: 23.97 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002187/0.595, allocations: 4 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003982/0.5954, allocations: 131.2 kB / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002171/0.5956, allocations: 0.6771 MB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.124e-05/0.5957, allocations: 4.062 kB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.081e-05/0.5957, allocations: 19.44 kB / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of SimCode: time 2.7e-07/0.5957, allocations: 3.938 kB / 1.024 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01594/0.6117, allocations: 1.468 MB / 1.025 GB, free: 9.988 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.487/8.099, allocations: 16.05 kB / 1.025 GB, free: 9.973 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Examples_BesselJ0.fmu > Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_BesselJ0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches