Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Functions.Examples.BesselJ0,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="Buildings_9_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.00743/0.00743, allocations: 100.8 kB / 15.73 MB, free: 6.48 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.001695/0.001696, allocations: 194.6 kB / 16.67 MB, free: 6.391 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.321/1.321, allocations: 222.9 MB / 240.4 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.253/2.253, allocations: 390.3 MB / 0.6648 GB, free: 176 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 68.05 kB / 0.9504 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2883/0.2903, allocations: 140.4 MB / 1.088 GB, free: 1.953 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.001722/0.2921, allocations: 0.5766 MB / 1.088 GB, free: 1.379 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0004944/0.2926, allocations: 191.7 kB / 1.088 GB, free: 1.191 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.112e-05/0.2926, allocations: 0 / 1.088 GB, free: 1.191 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.099e-05/0.2927, allocations: 0 / 1.088 GB, free: 1.191 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.514e-06/0.2927, allocations: 0 / 1.088 GB, free: 1.191 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003466/0.293, allocations: 51.84 kB / 1.088 GB, free: 1.141 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 3.671e-05/0.2931, allocations: 7.984 kB / 1.088 GB, free: 1.133 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 3.166e-05/0.2931, allocations: 0 / 1.088 GB, free: 1.133 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 1.155e-05/0.2931, allocations: 0 / 1.088 GB, free: 1.133 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 1.989e-05/0.2932, allocations: 7.922 kB / 1.088 GB, free: 1.125 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 7.895e-06/0.2932, allocations: 0 / 1.088 GB, free: 1.125 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001519/0.2933, allocations: 59.89 kB / 1.088 GB, free: 1.066 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 6.852e-06/0.2933, allocations: 0 / 1.088 GB, free: 1.066 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 1.309e-05/0.2934, allocations: 0 / 1.088 GB, free: 1.066 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001065/0.2935, allocations: 31.94 kB / 1.088 GB, free: 1.035 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.2935, allocations: 4 kB / 1.088 GB, free: 1.031 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.884e-06/0.2935, allocations: 0 / 1.088 GB, free: 1.031 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.703e-06/0.2935, allocations: 0 / 1.088 GB, free: 1.031 MB / 0.8419 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.000283/0.2938, allocations: 327.6 kB / 1.089 GB, free: 0.6602 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.2938, allocations: 8.031 kB / 1.089 GB, free: 0.6523 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.458e-05/0.2939, allocations: 34.69 kB / 1.089 GB, free: 0.6094 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.889e-05/0.2939, allocations: 4.875 kB / 1.089 GB, free: 0.6055 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.601e-05/0.294, allocations: 160.4 kB / 1.089 GB, free: 420 kB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.294, allocations: 4.375 kB / 1.089 GB, free: 416 kB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.465e-06/0.294, allocations: 384 / 1.089 GB, free: 416 kB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.386e-05/0.2941, allocations: 30.27 kB / 1.089 GB, free: 380 kB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-06/0.2941, allocations: 3.938 kB / 1.089 GB, free: 376 kB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.182e-06/0.2941, allocations: 0 / 1.089 GB, free: 376 kB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.557e-06/0.2941, allocations: 0 / 1.089 GB, free: 376 kB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.905e-05/0.2941, allocations: 7.984 kB / 1.089 GB, free: 368 kB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001189/0.2942, allocations: 145.7 kB / 1.089 GB, free: 172 kB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 3.856e-05/0.2943, allocations: 22.61 kB / 1.089 GB, free: 140 kB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.384e-05/0.2943, allocations: 8.859 kB / 1.089 GB, free: 128 kB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007404/0.2951, allocations: 453.5 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.285e-05/0.2951, allocations: 38.5 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.2951, allocations: 0 / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0001145/0.2952, allocations: 41.58 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.745e-05/0.2953, allocations: 51.41 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.627e-05/0.2953, allocations: 89.86 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.734e-05/0.2953, allocations: 25.7 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.459e-05/0.2954, allocations: 80.14 kB / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.862e-05/0.2954, allocations: 4 kB / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.702e-05/0.2954, allocations: 17.7 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.2956, allocations: 310.8 kB / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.445e-06/0.2956, allocations: 4.125 kB / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.114e-06/0.2956, allocations: 4 kB / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.058e-05/0.2956, allocations: 4.859 kB / 1.09 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.2956, allocations: 0 / 1.09 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.795e-05/0.2957, allocations: 41.64 kB / 1.09 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.2957, allocations: 4 kB / 1.09 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.2957, allocations: 3.938 kB / 1.09 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.2958, allocations: 3.984 kB / 1.09 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.385e-05/0.2958, allocations: 4 kB / 1.09 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.777e-06/0.2958, allocations: 8.094 kB / 1.09 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.578e-06/0.2958, allocations: 0 / 1.09 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.127e-06/0.2958, allocations: 0 / 1.09 GB, free: 14.8 MB / 0.8575 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 5.913e-05/0.2959, allocations: 105.8 kB / 1.09 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.171e-06/0.2959, allocations: 0 / 1.09 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.134e-05/0.296, allocations: 44.66 kB / 1.09 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.296, allocations: 4 kB / 1.09 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.296, allocations: 0 / 1.09 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.803e-06/0.296, allocations: 4.031 kB / 1.09 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.93e-05/0.2961, allocations: 145.7 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.2961, allocations: 3.938 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.25e-05/0.2961, allocations: 7.938 kB / 1.091 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.115e-06/0.2961, allocations: 3.984 kB / 1.091 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.381e-06/0.2961, allocations: 3.938 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.2961, allocations: 0 / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.2962, allocations: 3.984 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.895e-05/0.2962, allocations: 57.14 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.778e-05/0.2963, allocations: 85.05 kB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.518e-06/0.2963, allocations: 3.938 kB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.628e-06/0.2963, allocations: 0 / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.579e-05/0.2963, allocations: 3.984 kB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.314e-06/0.2963, allocations: 0 / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.925e-05/0.2964, allocations: 75.28 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.2964, allocations: 0 / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002118/0.2966, allocations: 12 kB / 1.091 GB, free: 14.14 MB / 0.8575 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.0004007/0.297, allocations: 0.623 MB / 1.091 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 6.032e-05/0.2971, allocations: 8.031 kB / 1.091 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.2971, allocations: 0 / 1.091 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 7.544e-06/0.2971, allocations: 4 kB / 1.091 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00012/0.2972, allocations: 1.562 kB / 1.091 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002871/0.2975, allocations: 118.7 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003258/0.2978, allocations: 0.6729 MB / 1.092 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 1.025e-05/0.2978, allocations: 0 / 1.092 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.511e-05/0.2979, allocations: 7.438 kB / 1.092 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of SimCode: time 2.31e-07/0.2979, allocations: 0 / 1.092 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.386/0.6838, allocations: 1.153 MB / 1.093 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.95/9.633, allocations: 7.688 kB / 1.093 GB, free: 11.54 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Functions_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Functions_Examples_BesselJ0.fmu > Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_BesselJ0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches