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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008795/0.0008795, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00128/0.00128, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8895/0.8895, allocations: 177.2 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.798/1.798, allocations: 389 MB / 0.633 GB, free: 12.67 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.9997 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.155e-05/2.315e-05, allocations: 4.391 kB / 0.9997 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.001146/0.001169, allocations: 0.5955 MB / 1 GB, free: 12.87 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0003371/0.001506, allocations: 175.4 kB / 1 GB, free: 12.7 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.268e-05/0.001519, allocations: 4 kB / 1 GB, free: 12.69 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.493e-05/0.001534, allocations: 3.938 kB / 1 GB, free: 12.69 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.543e-06/0.00154, allocations: 0 / 1 GB, free: 12.69 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003277/0.001868, allocations: 55.7 kB / 1.001 GB, free: 12.63 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 3.787e-05/0.001906, allocations: 4 kB / 1.001 GB, free: 12.63 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.501e-05/0.001941, allocations: 0 / 1.001 GB, free: 12.63 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 2.192e-05/0.001963, allocations: 3.984 kB / 1.001 GB, free: 12.62 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 1.731e-05/0.00198, allocations: 0 / 1.001 GB, free: 12.62 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 9.869e-06/0.00199, allocations: 0 / 1.001 GB, free: 12.62 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00013/0.00212, allocations: 59.94 kB / 1.001 GB, free: 12.57 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.084e-05/0.002131, allocations: 4 kB / 1.001 GB, free: 12.56 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.226e-05/0.002143, allocations: 0 / 1.001 GB, free: 12.56 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001072/0.00225, allocations: 47.86 kB / 1.001 GB, free: 12.52 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.002252, allocations: 0 / 1.001 GB, free: 12.52 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.062e-06/0.002253, allocations: 0 / 1.001 GB, free: 12.52 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.917e-06/0.002257, allocations: 0 / 1.001 GB, free: 12.52 MB / 0.9636 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.0002248/0.002482, allocations: 250.3 kB / 1.001 GB, free: 12.24 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.002522, allocations: 8.75 kB / 1.001 GB, free: 12.23 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.787e-05/0.00255, allocations: 30.75 kB / 1.001 GB, free: 12.19 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.081e-05/0.00257, allocations: 0.9375 kB / 1.001 GB, free: 12.19 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.372e-05/0.002624, allocations: 109.7 kB / 1.001 GB, free: 12.06 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.057e-06/0.002633, allocations: 4.375 kB / 1.001 GB, free: 12.05 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.931e-06/0.002639, allocations: 384 / 1.001 GB, free: 12.05 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.727e-05/0.002716, allocations: 26.27 kB / 1.001 GB, free: 12.02 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.321e-06/0.002723, allocations: 192 / 1.001 GB, free: 12.02 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.742e-06/0.002729, allocations: 4.375 kB / 1.001 GB, free: 12.02 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.002735, allocations: 4.125 kB / 1.001 GB, free: 12.02 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.861e-05/0.002754, allocations: 3.938 kB / 1.001 GB, free: 12.01 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.783e-05/0.002851, allocations: 120.8 kB / 1.001 GB, free: 11.85 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 3.517e-05/0.002887, allocations: 18.61 kB / 1.001 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.347e-05/0.0029, allocations: 4.859 kB / 1.001 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004021/0.003302, allocations: 83.97 kB / 1.001 GB, free: 11.73 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.984e-05/0.003322, allocations: 38.55 kB / 1.001 GB, free: 11.69 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=1): time 1.403e-06/0.003323, allocations: 0 / 1.001 GB, free: 11.69 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1): time 0.0001089/0.003432, allocations: 33.64 kB / 1.001 GB, free: 11.65 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.661e-05/0.003459, allocations: 55.34 kB / 1.001 GB, free: 11.58 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.454e-05/0.003483, allocations: 93.98 kB / 1.001 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 8.205e-06/0.003492, allocations: 25.7 kB / 1.002 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 1.846e-05/0.00351, allocations: 88.14 kB / 1.002 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.294e-05/0.003533, allocations: 0 / 1.002 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.959e-05/0.003553, allocations: 9.719 kB / 1.002 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.131e-05/0.003624, allocations: 318.8 kB / 1.002 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.987e-06/0.003633, allocations: 4 kB / 1.002 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.26e-06/0.003638, allocations: 3.938 kB / 1.002 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.063e-05/0.003659, allocations: 8.859 kB / 1.002 GB, free: 11 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.003661, allocations: 0 / 1.002 GB, free: 11 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.691e-05/0.003698, allocations: 45.66 kB / 1.002 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.00371, allocations: 5.875 kB / 1.002 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.003715, allocations: 0 / 1.002 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/0.003725, allocations: 4 kB / 1.002 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.634e-05/0.003761, allocations: 0 / 1.002 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.003767, allocations: 3.938 kB / 1.002 GB, free: 10.94 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.364e-06/0.003774, allocations: 3.984 kB / 1.002 GB, free: 10.94 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.088e-06/0.003778, allocations: 0 / 1.002 GB, free: 10.94 MB / 0.9636 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 4.64e-05/0.003825, allocations: 109.8 kB / 1.002 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.715e-06/0.003827, allocations: 32 / 1.002 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.185e-05/0.003889, allocations: 44.64 kB / 1.002 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.003891, allocations: 0 / 1.002 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.003895, allocations: 3.938 kB / 1.002 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.003899, allocations: 7.938 kB / 1.002 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.796e-05/0.003957, allocations: 120.8 kB / 1.002 GB, free: 10.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-07/0.003957, allocations: 0 / 1.002 GB, free: 10.6 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.122e-06/0.003963, allocations: 0 / 1.002 GB, free: 10.6 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.243e-06/0.003965, allocations: 0 / 1.002 GB, free: 10.6 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.892e-06/0.003971, allocations: 4 kB / 1.002 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.003971, allocations: 0 / 1.002 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.003973, allocations: 7.969 kB / 1.002 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.947e-05/0.004012, allocations: 53.12 kB / 1.002 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 4.128e-06/0.004017, allocations: 8 kB / 1.002 GB, free: 10.51 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.015e-06/0.004025, allocations: 0 / 1.002 GB, free: 10.51 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.336e-06/0.004028, allocations: 0 / 1.002 GB, free: 10.51 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.118e-05/0.004039, allocations: 3.938 kB / 1.002 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-06/0.004041, allocations: 0 / 1.002 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.057e-05/0.004061, allocations: 79.28 kB / 1.002 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of sort global known variables: time 4e-08/0.004061, allocations: 0 / 1.002 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001314/0.004193, allocations: 11.94 kB / 1.002 GB, free: 10.41 MB / 0.9636 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.000293/0.004486, allocations: 0.6132 MB / 1.003 GB, free: 9.773 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 5.827e-05/0.004544, allocations: 4 kB / 1.003 GB, free: 9.77 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.004546, allocations: 0 / 1.003 GB, free: 9.77 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 4.899e-06/0.00455, allocations: 7.938 kB / 1.003 GB, free: 9.762 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.873e-05/0.004649, allocations: 6.328 kB / 1.003 GB, free: 9.758 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002356/0.004885, allocations: 122.6 kB / 1.003 GB, free: 9.598 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.844e-05/0.004913, allocations: 51.36 kB / 1.003 GB, free: 9.527 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 8.797e-06/0.004922, allocations: 4 kB / 1.003 GB, free: 9.523 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.393e-05/0.004936, allocations: 12.44 kB / 1.003 GB, free: 9.512 MB / 0.9636 GB Notification: Performance of SimCode: time 4.21e-07/0.004936, allocations: 0 / 1.003 GB, free: 9.512 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01492/0.01986, allocations: 1.804 MB / 1.005 GB, free: 7.836 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.833/6.853, allocations: 6.125 kB / 1.005 GB, free: 7.832 MB / 0.9636 GB " [Timeout remaining time 293] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.csv --start-time 0 --stop-time 30 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.012 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_BesselJ1.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_BesselJ1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.055535960011184]