Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001417/0.001417, allocations: 80.41 kB / 20.23 MB, free: 4.195 MB / 18.57 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.001616/0.001616, allocations: 161.7 kB / 23.55 MB, free: 0.8867 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 1.436/1.436, allocations: 177.1 MB / 203.9 MB, free: 5.32 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.676/2.676, allocations: 359 MB / 0.6048 GB, free: 10.93 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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: translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J0",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J0",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.7864 GB, free: 11.65 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.38e-05/2.545e-05, allocations: 2.312 kB / 0.7864 GB, free: 11.64 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.001824/0.001849, allocations: 0.5945 MB / 0.787 GB, free: 11.07 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0005396/0.002389, allocations: 168.7 kB / 0.7872 GB, free: 10.91 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.135e-05/0.0024, allocations: 0 / 0.7872 GB, free: 10.91 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.023e-05/0.00241, allocations: 0.5625 kB / 0.7872 GB, free: 10.91 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.909e-06/0.002415, allocations: 1.031 kB / 0.7872 GB, free: 10.91 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003612/0.002776, allocations: 51.78 kB / 0.7872 GB, free: 10.86 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 3.932e-05/0.002816, allocations: 7.969 kB / 0.7872 GB, free: 10.85 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 2.835e-05/0.002844, allocations: 1.406 kB / 0.7872 GB, free: 10.85 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 2e-05/0.002864, allocations: 0 / 0.7872 GB, free: 10.85 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 3.378e-05/0.002898, allocations: 11.94 kB / 0.7872 GB, free: 10.84 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 9.458e-06/0.002907, allocations: 0 / 0.7872 GB, free: 10.84 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001712/0.003078, allocations: 46.42 kB / 0.7873 GB, free: 10.79 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.001e-05/0.003088, allocations: 0 / 0.7873 GB, free: 10.79 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.871e-05/0.003107, allocations: 0 / 0.7873 GB, free: 10.79 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001361/0.003243, allocations: 47.92 kB / 0.7873 GB, free: 10.75 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.744e-06/0.003245, allocations: 0 / 0.7873 GB, free: 10.75 MB / 0.698 GB Notification: Performance of FrontEnd: time 5.41e-07/0.003245, allocations: 0 / 0.7873 GB, free: 10.75 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.166e-06/0.003249, allocations: 0 / 0.7873 GB, free: 10.75 MB / 0.698 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.000322/0.003571, allocations: 256 kB / 0.7876 GB, free: 10.46 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.003605, allocations: 8.031 kB / 0.7876 GB, free: 10.46 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.132e-05/0.003647, allocations: 4.891 kB / 0.7876 GB, free: 10.45 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.706e-05/0.003744, allocations: 101.8 kB / 0.7877 GB, free: 10.33 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/0.003761, allocations: 8.969 kB / 0.7877 GB, free: 10.32 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.538e-06/0.00377, allocations: 4.359 kB / 0.7877 GB, free: 10.32 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.769e-05/0.003868, allocations: 26.83 kB / 0.7877 GB, free: 10.29 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.003876, allocations: 1.281 kB / 0.7877 GB, free: 10.29 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.652e-06/0.003883, allocations: 384 / 0.7877 GB, free: 10.29 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.003887, allocations: 384 / 0.7877 GB, free: 10.29 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.122e-05/0.003908, allocations: 13.7 kB / 0.7877 GB, free: 10.27 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001309/0.004039, allocations: 93.33 kB / 0.7878 GB, free: 10.15 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.036e-05/0.004089, allocations: 22.55 kB / 0.7878 GB, free: 10.12 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.85e-05/0.004108, allocations: 8.859 kB / 0.7878 GB, free: 10.11 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005774/0.004685, allocations: 70.36 kB / 0.7879 GB, free: 10.04 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.639e-05/0.004722, allocations: 30.56 kB / 0.7879 GB, free: 10 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.004723, allocations: 0.75 kB / 0.7879 GB, free: 10 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0001614/0.004884, allocations: 44.22 kB / 0.788 GB, free: 9.957 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.493e-05/0.004929, allocations: 51.41 kB / 0.788 GB, free: 9.895 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.501e-05/0.004984, allocations: 93.86 kB / 0.7881 GB, free: 9.793 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.717e-05/0.005001, allocations: 25.7 kB / 0.7882 GB, free: 9.762 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.507e-05/0.005046, allocations: 80.14 kB / 0.7882 GB, free: 9.68 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.13e-05/0.005068, allocations: 0 / 0.7882 GB, free: 9.68 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.757e-05/0.005095, allocations: 9.719 kB / 0.7882 GB, free: 9.664 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001729/0.005268, allocations: 323.3 kB / 0.7885 GB, free: 9.34 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.258e-06/0.005277, allocations: 0.7188 kB / 0.7885 GB, free: 9.34 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.779e-06/0.005282, allocations: 0 / 0.7885 GB, free: 9.34 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.767e-05/0.00532, allocations: 13.38 kB / 0.7886 GB, free: 9.324 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.005321, allocations: 1.656 kB / 0.7886 GB, free: 9.324 MB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.945e-05/0.005381, allocations: 33.64 kB / 0.7886 GB, free: 9.285 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.005399, allocations: 8 kB / 0.7886 GB, free: 9.277 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.005403, allocations: 0.5 kB / 0.7886 GB, free: 9.277 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.00542, allocations: 0 / 0.7886 GB, free: 9.277 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.611e-05/0.005456, allocations: 0.5938 kB / 0.7886 GB, free: 9.277 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.00546, allocations: 0.7812 kB / 0.7886 GB, free: 9.277 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.369e-05/0.005474, allocations: 11.88 kB / 0.7886 GB, free: 9.266 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.258e-06/0.005478, allocations: 1.156 kB / 0.7886 GB, free: 9.266 MB / 0.698 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 8.9e-05/0.005567, allocations: 109.8 kB / 0.7887 GB, free: 9.148 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.748e-06/0.005577, allocations: 3.984 kB / 0.7887 GB, free: 9.145 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.161e-05/0.005659, allocations: 34.08 kB / 0.7888 GB, free: 9.102 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.662e-05/0.005675, allocations: 4 kB / 0.7888 GB, free: 9.098 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.005679, allocations: 0 / 0.7888 GB, free: 9.098 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.005681, allocations: 0.9062 kB / 0.7888 GB, free: 9.098 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.511e-05/0.005776, allocations: 101.2 kB / 0.7889 GB, free: 8.969 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.00578, allocations: 4 kB / 0.7889 GB, free: 8.965 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.775e-05/0.005797, allocations: 8.719 kB / 0.7889 GB, free: 8.957 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.005799, allocations: 0 / 0.7889 GB, free: 8.957 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.929e-06/0.005804, allocations: 1.219 kB / 0.7889 GB, free: 8.957 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.005808, allocations: 3.984 kB / 0.7889 GB, free: 8.953 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.005809, allocations: 0 / 0.7889 GB, free: 8.953 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.023e-05/0.005899, allocations: 65.92 kB / 0.7889 GB, free: 8.871 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.693e-05/0.005916, allocations: 7.984 kB / 0.7889 GB, free: 8.863 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.596e-06/0.005925, allocations: 1.344 kB / 0.7889 GB, free: 8.863 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.923e-06/0.005932, allocations: 0 / 0.7889 GB, free: 8.863 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.342e-05/0.005945, allocations: 4 kB / 0.7889 GB, free: 8.859 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-06/0.005947, allocations: 1.188 kB / 0.789 GB, free: 8.859 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001659/0.006113, allocations: 75.28 kB / 0.789 GB, free: 8.785 MB / 0.698 GB Notification: Performance of sort global known variables: time 7e-08/0.006113, allocations: 0 / 0.789 GB, free: 8.785 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002085/0.006322, allocations: 17.81 kB / 0.789 GB, free: 8.77 MB / 0.698 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.0002158/0.006538, allocations: 121.6 kB / 0.7892 GB, free: 8.645 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 7.52e-05/0.006613, allocations: 11.94 kB / 0.7892 GB, free: 8.633 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.006615, allocations: 0 / 0.7892 GB, free: 8.633 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 9.748e-06/0.006624, allocations: 4 kB / 0.7892 GB, free: 8.629 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001273/0.006752, allocations: 0.5625 kB / 0.7892 GB, free: 8.629 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002188/0.00697, allocations: 82.78 kB / 0.7893 GB, free: 8.52 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.368e-05/0.007024, allocations: 51.89 kB / 0.7893 GB, free: 8.449 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 9.338e-06/0.007033, allocations: 1.938 kB / 0.7893 GB, free: 8.449 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.233e-05/0.007056, allocations: 12.5 kB / 0.7893 GB, free: 8.438 MB / 0.698 GB Notification: Performance of SimCode: time 5.91e-07/0.007056, allocations: 0 / 0.7893 GB, free: 8.438 MB / 0.698 GB Notification: Performance of Templates: time 0.00281/0.009867, allocations: 435 kB / 0.7897 GB, free: 8.027 MB / 0.698 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_BesselJ0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 7.272891430999152]