Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.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.001321/0.001321, allocations: 114.3 kB / 18.94 MB, free: 2.789 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.001455/0.001455, allocations: 222.3 kB / 22.26 MB, free: 5.211 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.484/1.484, allocations: 230.6 MB / 256 MB, free: 8.008 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.245/3.245, allocations: 0.505 GB / 0.8101 GB, free: 22.04 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.Examples.BesselJ0,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ0,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_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.00206/0.00206, allocations: 66.98 kB / 1.177 GB, free: 17.15 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3872/0.3892, allocations: 180.2 MB / 1.353 GB, free: 8.418 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.002775/0.392, allocations: 1.46 MB / 1.354 GB, free: 6.949 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0005404/0.3925, allocations: 247.3 kB / 1.355 GB, free: 6.707 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.975e-05/0.3926, allocations: 0 / 1.355 GB, free: 6.707 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.024e-05/0.3926, allocations: 0 / 1.355 GB, free: 6.707 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 3.54e-05/0.3926, allocations: 11.94 kB / 1.355 GB, free: 6.695 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002864/0.3929, allocations: 59.75 kB / 1.355 GB, free: 6.637 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 5.926e-05/0.393, allocations: 19.98 kB / 1.355 GB, free: 6.617 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 6.788e-05/0.393, allocations: 4 kB / 1.355 GB, free: 6.613 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 3.595e-05/0.3931, allocations: 8 kB / 1.355 GB, free: 6.605 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 4.197e-05/0.3931, allocations: 19.91 kB / 1.355 GB, free: 6.586 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 8.105e-06/0.3931, allocations: 0 / 1.355 GB, free: 6.586 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001363/0.3933, allocations: 59.88 kB / 1.355 GB, free: 6.527 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.225e-05/0.3933, allocations: 4 kB / 1.355 GB, free: 6.523 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.193e-05/0.3933, allocations: 11.94 kB / 1.355 GB, free: 6.512 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001294/0.3934, allocations: 60.02 kB / 1.355 GB, free: 6.453 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3934, allocations: 0 / 1.355 GB, free: 6.453 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3934, allocations: 0 / 1.355 GB, free: 6.453 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.3934, allocations: 0 / 1.355 GB, free: 6.453 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004149/0.3938, allocations: 270.2 kB / 1.355 GB, free: 6.156 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.3939, allocations: 12.03 kB / 1.355 GB, free: 6.145 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.478e-05/0.3939, allocations: 38.75 kB / 1.355 GB, free: 6.098 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.064e-05/0.3939, allocations: 4.922 kB / 1.355 GB, free: 6.094 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001033/0.394, allocations: 114.5 kB / 1.355 GB, free: 5.957 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.966e-06/0.394, allocations: 4.375 kB / 1.355 GB, free: 5.953 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.782e-06/0.3941, allocations: 384 / 1.355 GB, free: 5.953 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001708/0.3942, allocations: 50.23 kB / 1.355 GB, free: 5.898 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.3942, allocations: 3.938 kB / 1.355 GB, free: 5.895 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.713e-06/0.3942, allocations: 0 / 1.355 GB, free: 5.895 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.165e-06/0.3942, allocations: 0 / 1.355 GB, free: 5.895 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001652/0.3944, allocations: 35.91 kB / 1.355 GB, free: 5.859 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002882/0.3947, allocations: 224 kB / 1.355 GB, free: 5.598 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001719/0.3949, allocations: 38.5 kB / 1.356 GB, free: 5.551 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.519e-05/0.395, allocations: 20.91 kB / 1.356 GB, free: 5.527 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004972/0.3955, allocations: 83.91 kB / 1.356 GB, free: 5.445 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.676e-05/0.3955, allocations: 30.56 kB / 1.356 GB, free: 5.406 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.3955, allocations: 0 / 1.356 GB, free: 5.406 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0003554/0.3958, allocations: 81.58 kB / 1.356 GB, free: 5.32 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.054e-05/0.3959, allocations: 55.53 kB / 1.356 GB, free: 5.254 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.107e-05/0.3959, allocations: 97.86 kB / 1.356 GB, free: 5.148 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.396, allocations: 25.7 kB / 1.356 GB, free: 5.117 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.725e-05/0.396, allocations: 88.12 kB / 1.356 GB, free: 5.027 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.56e-05/0.396, allocations: 7.953 kB / 1.356 GB, free: 5.02 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.174e-05/0.3961, allocations: 9.719 kB / 1.356 GB, free: 5.004 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.3962, allocations: 314.8 kB / 1.356 GB, free: 4.688 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.479e-05/0.3963, allocations: 19.98 kB / 1.356 GB, free: 4.668 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.239e-05/0.3964, allocations: 19.91 kB / 1.356 GB, free: 4.648 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001512/0.3965, allocations: 44.77 kB / 1.356 GB, free: 4.602 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.511e-06/0.3965, allocations: 3.938 kB / 1.356 GB, free: 4.598 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001974/0.3967, allocations: 73.67 kB / 1.356 GB, free: 4.52 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.3967, allocations: 4 kB / 1.356 GB, free: 4.516 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.3967, allocations: 0 / 1.356 GB, free: 4.516 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.3967, allocations: 0 / 1.356 GB, free: 4.516 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.896e-05/0.3968, allocations: 11.98 kB / 1.356 GB, free: 4.504 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.3968, allocations: 0 / 1.356 GB, free: 4.504 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.447e-05/0.3969, allocations: 4 kB / 1.356 GB, free: 4.5 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.907e-06/0.3969, allocations: 0 / 1.356 GB, free: 4.5 MB / 1.045 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 (2): * Single equations (assignments): 2 * 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 8.825e-05/0.397, allocations: 114.4 kB / 1.357 GB, free: 4.379 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.731e-05/0.397, allocations: 12.02 kB / 1.357 GB, free: 4.367 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000215/0.3972, allocations: 72.91 kB / 1.357 GB, free: 4.293 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.3972, allocations: 0 / 1.357 GB, free: 4.293 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.3972, allocations: 0 / 1.357 GB, free: 4.293 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-06/0.3972, allocations: 0 / 1.357 GB, free: 4.293 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001624/0.3974, allocations: 132.7 kB / 1.357 GB, free: 4.121 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.3974, allocations: 0 / 1.357 GB, free: 4.121 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.875e-05/0.3974, allocations: 11.98 kB / 1.357 GB, free: 4.109 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.3974, allocations: 4.031 kB / 1.357 GB, free: 4.105 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.681e-06/0.3974, allocations: 0 / 1.357 GB, free: 4.105 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.3974, allocations: 0 / 1.357 GB, free: 4.105 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.3974, allocations: 4 kB / 1.357 GB, free: 4.102 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002403/0.3977, allocations: 163.6 kB / 1.357 GB, free: 3.926 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.435e-05/0.3977, allocations: 15.88 kB / 1.357 GB, free: 3.91 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.076e-05/0.3977, allocations: 4.031 kB / 1.357 GB, free: 3.906 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.422e-05/0.3978, allocations: 11.92 kB / 1.357 GB, free: 3.895 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.267e-05/0.3978, allocations: 0 / 1.357 GB, free: 3.895 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-06/0.3978, allocations: 0 / 1.357 GB, free: 3.895 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.145e-05/0.3979, allocations: 87.27 kB / 1.357 GB, free: 3.809 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3979, allocations: 0 / 1.357 GB, free: 3.809 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002387/0.3981, allocations: 16 kB / 1.357 GB, free: 3.793 MB / 1.045 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 (2): * Single equations (assignments): 2 * 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.0006305/0.3987, allocations: 0.7123 MB / 1.358 GB, free: 3.051 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002045/0.3989, allocations: 39.94 kB / 1.358 GB, free: 3.012 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.3989, allocations: 3.938 kB / 1.358 GB, free: 3.008 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 8.1e-05/0.399, allocations: 19.98 kB / 1.358 GB, free: 2.988 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002177/0.3992, allocations: 9.703 kB / 1.358 GB, free: 2.98 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00043/0.3997, allocations: 143.1 kB / 1.358 GB, free: 2.801 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003121/0.4, allocations: 0.6808 MB / 1.359 GB, free: 2.094 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 1.864e-05/0.4, allocations: 0 / 1.359 GB, free: 2.094 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.963e-05/0.4, allocations: 11.44 kB / 1.359 GB, free: 2.082 MB / 1.045 GB Notification: Performance of SimCode: time 3.31e-07/0.4, allocations: 0 / 1.359 GB, free: 2.082 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02867/0.4287, allocations: 1.622 MB / 1.36 GB, free: 0.582 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.86, allocations: 9.328 kB / 1.36 GB, free: 0.5781 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --stepSize=0.012 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_BesselJ0.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BesselJ0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.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.643587392987683]