Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.BesselJ0,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_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.007771/0.007771, allocations: 102.9 kB / 15.74 MB, free: 6.066 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.002042/0.002042, allocations: 194.6 kB / 16.68 MB, free: 5.973 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.349/1.349, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.61/2.61, allocations: 482.6 MB / 0.7551 GB, free: 6.648 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001832/0.001832, allocations: 70.09 kB / 1.083 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2741/0.2759, allocations: 162.3 MB / 1.242 GB, free: 8.836 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.001498/0.2775, allocations: 0.5952 MB / 1.242 GB, free: 8.242 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0004134/0.2779, allocations: 183.7 kB / 1.243 GB, free: 8.062 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.069e-05/0.2779, allocations: 3.938 kB / 1.243 GB, free: 8.059 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.314e-05/0.278, allocations: 0 / 1.243 GB, free: 8.059 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.889e-06/0.278, allocations: 0 / 1.243 GB, free: 8.059 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003195/0.2783, allocations: 55.81 kB / 1.243 GB, free: 8.004 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 3.907e-05/0.2783, allocations: 4 kB / 1.243 GB, free: 8 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.174e-05/0.2784, allocations: 0 / 1.243 GB, free: 8 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.038e-05/0.2784, allocations: 4 kB / 1.243 GB, free: 7.996 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 1.487e-05/0.2784, allocations: 0 / 1.243 GB, free: 7.996 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 5.34e-06/0.2784, allocations: 0 / 1.243 GB, free: 7.996 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001571/0.2786, allocations: 63.88 kB / 1.243 GB, free: 7.934 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.031e-06/0.2786, allocations: 0 / 1.243 GB, free: 7.934 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 1.385e-05/0.2786, allocations: 3.984 kB / 1.243 GB, free: 7.93 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001025/0.2787, allocations: 28.19 kB / 1.243 GB, free: 7.902 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.2787, allocations: 0 / 1.243 GB, free: 7.902 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.233e-06/0.2787, allocations: 0 / 1.243 GB, free: 7.902 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 3.587e-06/0.2787, allocations: 0 / 1.243 GB, free: 7.902 MB / 0.9669 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.0002951/0.279, allocations: 327.5 kB / 1.243 GB, free: 7.531 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.211e-05/0.2791, allocations: 11.97 kB / 1.243 GB, free: 7.52 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.999e-05/0.2791, allocations: 30.75 kB / 1.243 GB, free: 7.48 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.985e-05/0.2791, allocations: 0.9375 kB / 1.243 GB, free: 7.48 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001009/0.2792, allocations: 164.4 kB / 1.243 GB, free: 7.281 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.727e-06/0.2793, allocations: 384 / 1.243 GB, free: 7.281 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.603e-06/0.2793, allocations: 4.375 kB / 1.243 GB, free: 7.277 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.318e-05/0.2794, allocations: 30.2 kB / 1.243 GB, free: 7.242 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.2794, allocations: 3.938 kB / 1.243 GB, free: 7.238 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.68e-06/0.2794, allocations: 4 kB / 1.243 GB, free: 7.234 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.626e-06/0.2794, allocations: 0 / 1.243 GB, free: 7.234 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.682e-05/0.2794, allocations: 4 kB / 1.243 GB, free: 7.23 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001376/0.2795, allocations: 145.7 kB / 1.244 GB, free: 7.039 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 3.21e-05/0.2796, allocations: 14.58 kB / 1.244 GB, free: 7.016 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.769e-05/0.2796, allocations: 12.94 kB / 1.244 GB, free: 7 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006699/0.2803, allocations: 453.5 kB / 1.244 GB, free: 6.465 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/0.2803, allocations: 34.5 kB / 1.244 GB, free: 6.422 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.2803, allocations: 4 kB / 1.244 GB, free: 6.418 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0001117/0.2804, allocations: 37.62 kB / 1.244 GB, free: 6.375 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.104e-05/0.2805, allocations: 51.41 kB / 1.244 GB, free: 6.312 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.259e-05/0.2805, allocations: 89.98 kB / 1.244 GB, free: 6.215 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.252e-05/0.2806, allocations: 29.7 kB / 1.244 GB, free: 6.18 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.624e-05/0.2806, allocations: 80.14 kB / 1.244 GB, free: 6.098 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.179e-05/0.2806, allocations: 7.953 kB / 1.244 GB, free: 6.09 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.745e-05/0.2807, allocations: 13.72 kB / 1.244 GB, free: 6.07 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.2808, allocations: 310.8 kB / 1.245 GB, free: 5.758 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.634e-06/0.2808, allocations: 3.938 kB / 1.245 GB, free: 5.754 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.679e-06/0.2808, allocations: 0 / 1.245 GB, free: 5.754 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.497e-05/0.2808, allocations: 16.86 kB / 1.245 GB, free: 5.734 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.2808, allocations: 0 / 1.245 GB, free: 5.734 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.255e-05/0.2809, allocations: 37.69 kB / 1.245 GB, free: 5.691 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.2809, allocations: 8 kB / 1.245 GB, free: 5.684 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.2809, allocations: 3.938 kB / 1.245 GB, free: 5.68 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.938e-06/0.2809, allocations: 0 / 1.245 GB, free: 5.68 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.143e-05/0.281, allocations: 4 kB / 1.245 GB, free: 5.676 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.697e-06/0.281, allocations: 0 / 1.245 GB, free: 5.676 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.959e-06/0.281, allocations: 4 kB / 1.245 GB, free: 5.672 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.517e-06/0.281, allocations: 3.938 kB / 1.245 GB, free: 5.668 MB / 0.9669 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 7.127e-05/0.2811, allocations: 109.9 kB / 1.245 GB, free: 5.551 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.65e-06/0.2811, allocations: 0 / 1.245 GB, free: 5.551 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.669e-05/0.2812, allocations: 44.69 kB / 1.245 GB, free: 5.504 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.2812, allocations: 3.984 kB / 1.245 GB, free: 5.5 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.2812, allocations: 4 kB / 1.245 GB, free: 5.496 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.633e-06/0.2812, allocations: 0 / 1.245 GB, free: 5.496 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000107/0.2813, allocations: 149.7 kB / 1.245 GB, free: 5.301 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.2813, allocations: 0 / 1.245 GB, free: 5.301 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.042e-05/0.2813, allocations: 0 / 1.245 GB, free: 5.301 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.2813, allocations: 8.031 kB / 1.245 GB, free: 5.293 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.131e-06/0.2813, allocations: 3.938 kB / 1.245 GB, free: 5.289 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.2813, allocations: 0 / 1.245 GB, free: 5.289 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.2814, allocations: 0 / 1.245 GB, free: 5.289 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.119e-05/0.2814, allocations: 57.08 kB / 1.245 GB, free: 5.215 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.479e-05/0.2815, allocations: 81.09 kB / 1.245 GB, free: 5.117 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.847e-06/0.2815, allocations: 7.938 kB / 1.245 GB, free: 5.109 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.202e-06/0.2815, allocations: 4.031 kB / 1.245 GB, free: 5.105 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.283e-06/0.2815, allocations: 0 / 1.245 GB, free: 5.105 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-06/0.2815, allocations: 0 / 1.245 GB, free: 5.105 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.028e-05/0.2815, allocations: 75.28 kB / 1.245 GB, free: 5.031 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2815, allocations: 0 / 1.245 GB, free: 5.031 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001801/0.2817, allocations: 15.94 kB / 1.245 GB, free: 5.016 MB / 0.9669 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.0004314/0.2822, allocations: 0.6207 MB / 1.246 GB, free: 4.363 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 5.789e-05/0.2822, allocations: 7.938 kB / 1.246 GB, free: 4.355 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.654e-06/0.2822, allocations: 0 / 1.246 GB, free: 4.355 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 7.163e-06/0.2823, allocations: 4 kB / 1.246 GB, free: 4.352 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001134/0.2824, allocations: 6.031 kB / 1.246 GB, free: 4.348 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002376/0.2826, allocations: 110.5 kB / 1.246 GB, free: 4.199 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002782/0.2829, allocations: 0.6729 MB / 1.247 GB, free: 3.5 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 8.586e-06/0.2829, allocations: 4 kB / 1.247 GB, free: 3.496 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.392e-05/0.2829, allocations: 7.438 kB / 1.247 GB, free: 3.488 MB / 0.9669 GB Notification: Performance of SimCode: time 2.11e-07/0.2829, allocations: 0 / 1.247 GB, free: 3.488 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2167/0.4997, allocations: 1.137 MB / 1.248 GB, free: 2.445 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.979/8.479, allocations: 18.2 kB / 1.248 GB, free: 2.43 MB / 0.9669 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_BesselJ0.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_BesselJ0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches