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 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.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.005552/0.005553, allocations: 98.56 kB / 15.73 MB, free: 6.059 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.001504/0.001504, allocations: 199.7 kB / 16.68 MB, free: 5.977 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.341/1.341, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.719/2.719, allocations: 482.6 MB / 0.755 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001794/0.001794, allocations: 71.89 kB / 1.083 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2848/0.2866, allocations: 162.3 MB / 1.242 GB, free: 9.797 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.001529/0.2881, allocations: 0.5942 MB / 1.242 GB, free: 9.207 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0004483/0.2886, allocations: 203.3 kB / 1.243 GB, free: 9.008 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.143e-05/0.2886, allocations: 0 / 1.243 GB, free: 9.008 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.472e-05/0.2886, allocations: 0 / 1.243 GB, free: 9.008 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.18e-06/0.2886, allocations: 0 / 1.243 GB, free: 9.008 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003448/0.289, allocations: 55.44 kB / 1.243 GB, free: 8.957 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 3.499e-05/0.289, allocations: 4 kB / 1.243 GB, free: 8.953 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.696e-05/0.2891, allocations: 8 kB / 1.243 GB, free: 8.945 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.086e-05/0.2891, allocations: 0 / 1.243 GB, free: 8.945 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 1.905e-05/0.2891, allocations: 0 / 1.243 GB, free: 8.945 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.6e-06/0.2891, allocations: 3.938 kB / 1.243 GB, free: 8.941 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001654/0.2893, allocations: 63.86 kB / 1.243 GB, free: 8.879 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 6.562e-06/0.2893, allocations: 0 / 1.243 GB, free: 8.879 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 1.727e-05/0.2893, allocations: 8 kB / 1.243 GB, free: 8.871 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001105/0.2895, allocations: 31.94 kB / 1.243 GB, free: 8.84 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.2895, allocations: 0 / 1.243 GB, free: 8.84 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.272e-06/0.2895, allocations: 4 kB / 1.243 GB, free: 8.836 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.538e-06/0.2895, allocations: 0 / 1.243 GB, free: 8.836 MB / 0.9981 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.0002974/0.2898, allocations: 325.3 kB / 1.243 GB, free: 8.469 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.2898, allocations: 8.031 kB / 1.243 GB, free: 8.461 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.766e-05/0.2899, allocations: 38.75 kB / 1.243 GB, free: 8.414 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.945e-05/0.2899, allocations: 0.9375 kB / 1.243 GB, free: 8.414 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.77e-05/0.29, allocations: 160.4 kB / 1.243 GB, free: 8.219 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.588e-06/0.29, allocations: 384 / 1.243 GB, free: 8.219 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.36e-06/0.29, allocations: 384 / 1.243 GB, free: 8.219 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.603e-05/0.2901, allocations: 26.27 kB / 1.243 GB, free: 8.188 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.2901, allocations: 11.88 kB / 1.243 GB, free: 8.176 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.79e-06/0.2901, allocations: 4 kB / 1.243 GB, free: 8.172 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.506e-06/0.2901, allocations: 0 / 1.243 GB, free: 8.172 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.601e-05/0.2902, allocations: 0 / 1.243 GB, free: 8.172 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001429/0.2903, allocations: 149.7 kB / 1.244 GB, free: 7.977 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.607e-05/0.2904, allocations: 26.53 kB / 1.244 GB, free: 7.941 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.942e-05/0.2904, allocations: 4.859 kB / 1.244 GB, free: 7.934 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000744/0.2911, allocations: 457.5 kB / 1.244 GB, free: 7.395 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.935e-05/0.2912, allocations: 38.56 kB / 1.244 GB, free: 7.348 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 4.278e-06/0.2912, allocations: 0 / 1.244 GB, free: 7.348 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.0001166/0.2913, allocations: 41.52 kB / 1.244 GB, free: 7.301 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.014e-05/0.2913, allocations: 51.53 kB / 1.244 GB, free: 7.238 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.538e-05/0.2914, allocations: 97.84 kB / 1.244 GB, free: 7.133 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.41e-05/0.2914, allocations: 25.7 kB / 1.244 GB, free: 7.102 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.009e-05/0.2914, allocations: 80.14 kB / 1.244 GB, free: 7.02 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.223e-05/0.2915, allocations: 3.953 kB / 1.244 GB, free: 7.016 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.879e-05/0.2915, allocations: 13.72 kB / 1.244 GB, free: 6.996 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.2916, allocations: 314.8 kB / 1.245 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.207e-06/0.2917, allocations: 0 / 1.245 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.303e-06/0.2917, allocations: 4 kB / 1.245 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.2e-05/0.2917, allocations: 12.86 kB / 1.245 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.2917, allocations: 0 / 1.245 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.395e-05/0.2918, allocations: 37.69 kB / 1.245 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.2918, allocations: 4 kB / 1.245 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.2918, allocations: 3.938 kB / 1.245 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.027e-05/0.2918, allocations: 0 / 1.245 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.482e-05/0.2918, allocations: 4 kB / 1.245 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.927e-06/0.2919, allocations: 0 / 1.245 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.977e-06/0.2919, allocations: 0 / 1.245 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.388e-06/0.2919, allocations: 4.031 kB / 1.245 GB, free: 6.602 MB / 0.9981 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 6.847e-05/0.2919, allocations: 109.8 kB / 1.245 GB, free: 6.484 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.573e-06/0.292, allocations: 0 / 1.245 GB, free: 6.484 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.013e-05/0.292, allocations: 48.69 kB / 1.245 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-06/0.2921, allocations: 0 / 1.245 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.2921, allocations: 0 / 1.245 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.874e-06/0.2921, allocations: 0 / 1.245 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.522e-05/0.2922, allocations: 141.7 kB / 1.245 GB, free: 6.242 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.2922, allocations: 32 / 1.245 GB, free: 6.242 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.645e-05/0.2922, allocations: 15.98 kB / 1.245 GB, free: 6.227 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.2922, allocations: 0 / 1.245 GB, free: 6.227 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.816e-06/0.2922, allocations: 3.938 kB / 1.245 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.113e-06/0.2922, allocations: 0 / 1.245 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2922, allocations: 0 / 1.245 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.991e-05/0.2923, allocations: 61.08 kB / 1.245 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.733e-05/0.2923, allocations: 77.11 kB / 1.245 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.306e-05/0.2924, allocations: 11.95 kB / 1.245 GB, free: 6.039 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.562e-06/0.2924, allocations: 3.938 kB / 1.245 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.586e-06/0.2924, allocations: 3.938 kB / 1.245 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-06/0.2924, allocations: 0 / 1.245 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.391e-05/0.2924, allocations: 75.28 kB / 1.245 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2924, allocations: 0 / 1.245 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001908/0.2926, allocations: 19.94 kB / 1.245 GB, free: 5.938 MB / 0.9981 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.0004302/0.2931, allocations: 0.6091 MB / 1.246 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 6.275e-05/0.2931, allocations: 11.92 kB / 1.246 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.2931, allocations: 0 / 1.246 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.638e-06/0.2932, allocations: 8.094 kB / 1.246 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001116/0.2933, allocations: 0 / 1.246 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002491/0.2935, allocations: 106.5 kB / 1.246 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002654/0.2938, allocations: 0.6768 MB / 1.247 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 8.536e-06/0.2938, allocations: 0 / 1.247 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.272e-05/0.2938, allocations: 7.438 kB / 1.247 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of SimCode: time 2.1e-07/0.2938, allocations: 0 / 1.247 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2389/0.5328, allocations: 1.155 MB / 1.248 GB, free: 3.352 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.664/9.197, allocations: 9.125 kB / 1.248 GB, free: 3.348 MB / 0.9981 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=400 --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