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.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.001295/0.001295, allocations: 95.64 kB / 18.95 MB, free: 2.691 MB / 14.72 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.002232/0.002232, allocations: 214.2 kB / 22.24 MB, free: 5.242 MB / 14.72 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 1.487/1.487, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] 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 3.429/3.429, allocations: 0.5107 GB / 0.8158 GB, free: 17.74 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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.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"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002151/0.002151, allocations: 70.03 kB / 1.186 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3874/0.3896, allocations: 181.9 MB / 1.363 GB, free: 13.95 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.001868/0.3915, allocations: 0.586 MB / 1.364 GB, free: 13.37 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0005489/0.392, allocations: 171.9 kB / 1.364 GB, free: 13.2 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.387e-05/0.392, allocations: 0 / 1.364 GB, free: 13.2 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.841e-05/0.392, allocations: 0 / 1.364 GB, free: 13.2 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.221e-06/0.392, allocations: 0 / 1.364 GB, free: 13.2 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003869/0.3924, allocations: 55.77 kB / 1.364 GB, free: 13.14 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 4.434e-05/0.3925, allocations: 8 kB / 1.364 GB, free: 13.14 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.838e-05/0.3925, allocations: 0 / 1.364 GB, free: 13.14 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 1.578e-05/0.3925, allocations: 3.984 kB / 1.364 GB, free: 13.13 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 1.796e-05/0.3926, allocations: 0 / 1.364 GB, free: 13.13 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 6.562e-06/0.3926, allocations: 0 / 1.364 GB, free: 13.13 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001797/0.3927, allocations: 59.88 kB / 1.364 GB, free: 13.07 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.222e-05/0.3928, allocations: 4 kB / 1.364 GB, free: 13.07 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.341e-05/0.3928, allocations: 3.938 kB / 1.364 GB, free: 13.07 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001121/0.3929, allocations: 32.17 kB / 1.364 GB, free: 13.04 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.3929, allocations: 0 / 1.364 GB, free: 13.04 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.624e-06/0.3929, allocations: 0 / 1.364 GB, free: 13.04 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.054e-06/0.3929, allocations: 7.938 kB / 1.364 GB, free: 13.03 MB / 1.061 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.0003001/0.3932, allocations: 243.8 kB / 1.365 GB, free: 12.76 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.3932, allocations: 12.03 kB / 1.365 GB, free: 12.75 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.801e-05/0.3933, allocations: 30.75 kB / 1.365 GB, free: 12.71 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.497e-05/0.3933, allocations: 4.938 kB / 1.365 GB, free: 12.7 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.504e-05/0.3934, allocations: 106.5 kB / 1.365 GB, free: 12.57 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.879e-06/0.3934, allocations: 4.375 kB / 1.365 GB, free: 12.57 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.991e-06/0.3934, allocations: 384 / 1.365 GB, free: 12.57 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.234e-05/0.3935, allocations: 34.2 kB / 1.365 GB, free: 12.53 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.3935, allocations: 3.938 kB / 1.365 GB, free: 12.53 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.714e-06/0.3935, allocations: 0 / 1.365 GB, free: 12.53 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.3935, allocations: 0 / 1.365 GB, free: 12.53 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.83e-05/0.3935, allocations: 0 / 1.365 GB, free: 12.53 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001468/0.3937, allocations: 124.7 kB / 1.365 GB, free: 12.36 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 4.552e-05/0.3937, allocations: 14.58 kB / 1.365 GB, free: 12.34 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.663e-05/0.3937, allocations: 8.953 kB / 1.365 GB, free: 12.33 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000562/0.3943, allocations: 75.91 kB / 1.365 GB, free: 12.25 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.088e-05/0.3943, allocations: 34.56 kB / 1.365 GB, free: 12.21 MB / 1.061 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.3943, allocations: 0 / 1.365 GB, free: 12.21 MB / 1.061 GB Notification: Performance of matching and sorting (n=1): time 0.0001373/0.3945, allocations: 45.56 kB / 1.365 GB, free: 12.16 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.082e-05/0.3945, allocations: 51.41 kB / 1.365 GB, free: 12.1 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.275e-05/0.3946, allocations: 89.98 kB / 1.365 GB, free: 12 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.207e-05/0.3946, allocations: 29.7 kB / 1.365 GB, free: 11.96 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.765e-05/0.3946, allocations: 80.14 kB / 1.365 GB, free: 11.88 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.699e-05/0.3947, allocations: 3.984 kB / 1.365 GB, free: 11.88 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.714e-05/0.3947, allocations: 13.72 kB / 1.365 GB, free: 11.86 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.3948, allocations: 310.8 kB / 1.366 GB, free: 11.55 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.748e-06/0.3949, allocations: 0 / 1.366 GB, free: 11.55 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.63e-06/0.3949, allocations: 4 kB / 1.366 GB, free: 11.54 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.664e-05/0.3949, allocations: 8.859 kB / 1.366 GB, free: 11.53 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3949, allocations: 4 kB / 1.366 GB, free: 11.53 MB / 1.061 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.304e-05/0.3949, allocations: 37.7 kB / 1.366 GB, free: 11.48 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.395, allocations: 7.984 kB / 1.366 GB, free: 11.48 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-06/0.395, allocations: 3.938 kB / 1.366 GB, free: 11.47 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.395, allocations: 0 / 1.366 GB, free: 11.47 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.296e-05/0.395, allocations: 4 kB / 1.366 GB, free: 11.47 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.395, allocations: 0 / 1.366 GB, free: 11.47 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.676e-06/0.395, allocations: 0 / 1.366 GB, free: 11.47 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.639e-06/0.395, allocations: 3.938 kB / 1.366 GB, free: 11.46 MB / 1.061 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.161e-05/0.3951, allocations: 109.8 kB / 1.366 GB, free: 11.35 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.931e-06/0.3951, allocations: 0 / 1.366 GB, free: 11.35 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.198e-05/0.3952, allocations: 48.66 kB / 1.366 GB, free: 11.29 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.3952, allocations: 0 / 1.366 GB, free: 11.29 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.3952, allocations: 3.938 kB / 1.366 GB, free: 11.29 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.3952, allocations: 3.938 kB / 1.366 GB, free: 11.29 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001153/0.3953, allocations: 116.8 kB / 1.366 GB, free: 11.13 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.3953, allocations: 0 / 1.366 GB, free: 11.13 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.106e-05/0.3953, allocations: 0 / 1.366 GB, free: 11.13 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.644e-06/0.3953, allocations: 0 / 1.366 GB, free: 11.13 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.3954, allocations: 3.938 kB / 1.366 GB, free: 11.12 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.3954, allocations: 4 kB / 1.366 GB, free: 11.12 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.09e-05/0.3954, allocations: 12.02 kB / 1.366 GB, free: 11.11 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.796e-05/0.3955, allocations: 53.14 kB / 1.366 GB, free: 11.04 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.869e-06/0.3955, allocations: 0 / 1.366 GB, free: 11.04 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.275e-05/0.3955, allocations: 7.938 kB / 1.366 GB, free: 11.03 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.533e-06/0.3955, allocations: 0 / 1.366 GB, free: 11.03 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.647e-05/0.3955, allocations: 3.984 kB / 1.366 GB, free: 11.03 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.804e-06/0.3955, allocations: 0 / 1.366 GB, free: 11.03 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.208e-05/0.3955, allocations: 75.28 kB / 1.366 GB, free: 10.95 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3955, allocations: 0 / 1.366 GB, free: 10.95 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002082/0.3957, allocations: 15.94 kB / 1.366 GB, free: 10.94 MB / 1.061 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.0005796/0.3963, allocations: 0.6162 MB / 1.367 GB, free: 10.29 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 8.885e-05/0.3964, allocations: 8 kB / 1.367 GB, free: 10.28 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.3964, allocations: 0 / 1.367 GB, free: 10.28 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.118e-05/0.3964, allocations: 7.938 kB / 1.367 GB, free: 10.27 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001394/0.3966, allocations: 0 / 1.367 GB, free: 10.27 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003646/0.3969, allocations: 114.7 kB / 1.367 GB, free: 10.12 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.805e-05/0.397, allocations: 51.36 kB / 1.367 GB, free: 10.05 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 1.423e-05/0.397, allocations: 4 kB / 1.367 GB, free: 10.05 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.24e-05/0.397, allocations: 7.438 kB / 1.367 GB, free: 10.04 MB / 1.061 GB Notification: Performance of SimCode: time 2.91e-07/0.397, allocations: 0 / 1.367 GB, free: 10.04 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02979/0.4268, allocations: 1.658 MB / 1.369 GB, free: 8.508 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.65, allocations: 8.688 kB / 1.369 GB, free: 8.504 MB / 1.061 GB " [Timeout remaining time 288] (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 --stepSize=0.012 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_BesselJ0.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) [Timeout 840.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.734183005057275]