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.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.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.0007787/0.0007787, allocations: 91.22 kB / 15.36 MB, free: 0.7383 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.004946/0.004946, allocations: 170.8 kB / 16.26 MB, free: 6.613 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.323/1.323, allocations: 223.3 MB / 240.3 MB, free: 5.352 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.51/2.51, allocations: 437.8 MB / 0.7121 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003361/0.0003361, allocations: 8 kB / 0.8729 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5847/0.5851, allocations: 153.8 MB / 1.023 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.001511/0.5866, allocations: 1.161 MB / 1.024 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0005159/0.5872, allocations: 256.1 kB / 1.025 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.942e-05/0.5872, allocations: 0 / 1.025 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.563e-05/0.5872, allocations: 0 / 1.025 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 3.993e-05/0.5873, allocations: 3.938 kB / 1.025 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000276/0.5876, allocations: 35.95 kB / 1.025 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.402e-05/0.5876, allocations: 31.86 kB / 1.025 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 7.615e-05/0.5877, allocations: 4 kB / 1.025 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.819e-05/0.5877, allocations: 7.984 kB / 1.025 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 3.574e-05/0.5878, allocations: 11.94 kB / 1.025 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.995e-06/0.5878, allocations: 0 / 1.025 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001439/0.588, allocations: 71.86 kB / 1.025 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.075e-06/0.588, allocations: 4 kB / 1.025 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.037e-05/0.588, allocations: 29.64 kB / 1.025 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001219/0.5881, allocations: 51.84 kB / 1.025 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.5881, allocations: 4 kB / 1.025 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.763e-06/0.5882, allocations: 0 / 1.025 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.389e-06/0.5882, allocations: 0 / 1.025 GB, free: 14.19 MB / 0.7794 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.0003962/0.5886, allocations: 353.7 kB / 1.025 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.5886, allocations: 12.03 kB / 1.025 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.969e-05/0.5886, allocations: 34.69 kB / 1.025 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.037e-05/0.5887, allocations: 0.9375 kB / 1.025 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.832e-05/0.5888, allocations: 168.3 kB / 1.025 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.787e-06/0.5888, allocations: 8.375 kB / 1.025 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.658e-06/0.5888, allocations: 4.375 kB / 1.025 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001752/0.589, allocations: 57.98 kB / 1.025 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.323e-06/0.589, allocations: 4 kB / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.589, allocations: 0 / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.589, allocations: 3.938 kB / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000181/0.5892, allocations: 43.97 kB / 1.025 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002816/0.5895, allocations: 252.8 kB / 1.026 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001294/0.5896, allocations: 50.56 kB / 1.026 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001014/0.5898, allocations: 20.91 kB / 1.026 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006041/0.5904, allocations: 457.5 kB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.824e-05/0.5904, allocations: 42.5 kB / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.5904, allocations: 0 / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003605/0.5908, allocations: 97.73 kB / 1.026 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.951e-05/0.5908, allocations: 51.41 kB / 1.026 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.516e-05/0.5909, allocations: 97.86 kB / 1.026 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.082e-05/0.5909, allocations: 25.7 kB / 1.026 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.319e-05/0.5909, allocations: 88.12 kB / 1.027 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.446e-05/0.591, allocations: 3.906 kB / 1.027 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.13e-05/0.591, allocations: 9.719 kB / 1.027 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.152e-05/0.5911, allocations: 314.8 kB / 1.027 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.736e-05/0.5912, allocations: 24.02 kB / 1.027 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.238e-05/0.5913, allocations: 27.91 kB / 1.027 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000164/0.5914, allocations: 56.83 kB / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.5915, allocations: 0 / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002091/0.5917, allocations: 77.66 kB / 1.027 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.5917, allocations: 4 kB / 1.027 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.5917, allocations: 0 / 1.027 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.618e-06/0.5917, allocations: 0 / 1.027 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.379e-05/0.5918, allocations: 11.98 kB / 1.027 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.5918, allocations: 4 kB / 1.027 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.736e-05/0.5919, allocations: 7.938 kB / 1.027 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-06/0.5919, allocations: 0 / 1.027 GB, free: 11.5 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 6.429e-05/0.592, allocations: 122.3 kB / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.631e-05/0.592, allocations: 12.02 kB / 1.027 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000231/0.5922, allocations: 76.78 kB / 1.027 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.5922, allocations: 4.016 kB / 1.027 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.5922, allocations: 4 kB / 1.027 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.5923, allocations: 0 / 1.027 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001444/0.5924, allocations: 161.5 kB / 1.027 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.5924, allocations: 0 / 1.027 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.55e-05/0.5925, allocations: 15.98 kB / 1.027 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.5925, allocations: 0 / 1.027 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-06/0.5925, allocations: 0 / 1.027 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.5925, allocations: 0 / 1.027 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.5925, allocations: 0 / 1.027 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002383/0.5928, allocations: 179.4 kB / 1.028 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.282e-05/0.5928, allocations: 81.11 kB / 1.028 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.295e-05/0.5928, allocations: 3.984 kB / 1.028 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.495e-05/0.5929, allocations: 8.031 kB / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.388e-05/0.5929, allocations: 4 kB / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.141e-06/0.5929, allocations: 7.984 kB / 1.028 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.311e-05/0.593, allocations: 83.28 kB / 1.028 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.593, allocations: 0 / 1.028 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000232/0.5932, allocations: 16 kB / 1.028 GB, free: 10.64 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.0005719/0.5938, allocations: 0.728 MB / 1.029 GB, free: 9.887 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002144/0.594, allocations: 39.97 kB / 1.029 GB, free: 9.848 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.594, allocations: 4 kB / 1.029 GB, free: 9.844 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.427e-05/0.5941, allocations: 28.05 kB / 1.029 GB, free: 9.816 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002229/0.5944, allocations: 5.703 kB / 1.029 GB, free: 9.812 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003848/0.5948, allocations: 146.5 kB / 1.029 GB, free: 9.629 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001954/0.595, allocations: 0.6731 MB / 1.029 GB, free: 8.93 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.21e-05/0.595, allocations: 4.062 kB / 1.029 GB, free: 8.926 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.178e-05/0.595, allocations: 15.42 kB / 1.029 GB, free: 8.91 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.595, allocations: 3.938 kB / 1.029 GB, free: 8.906 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009818/0.6049, allocations: 1.245 MB / 1.031 GB, free: 7.77 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001778/0.6051, allocations: 186.3 kB / 1.031 GB, free: 7.516 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.802/2.407, allocations: 0 / 1.031 GB, free: 7.516 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