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.002407/0.002407, allocations: 79.75 kB / 20.23 MB, free: 4.168 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.002777/0.002777, allocations: 157.4 kB / 23.55 MB, free: 0.8555 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.539/1.539, allocations: 177.1 MB / 203.9 MB, free: 5.578 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.878/2.878, allocations: 359 MB / 0.6048 GB, free: 10.95 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.463e-06/1.463e-06, allocations: 0 / 0.7864 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.43e-05/2.576e-05, allocations: 3.031 kB / 0.7864 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.001657/0.001683, allocations: 0.5977 MB / 0.787 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0004738/0.002157, allocations: 169.8 kB / 0.7872 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.166e-05/0.002168, allocations: 0 / 0.7872 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.069e-05/0.002179, allocations: 0 / 0.7872 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.611e-06/0.002185, allocations: 1.844 kB / 0.7872 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003516/0.002536, allocations: 55.7 kB / 0.7872 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 3.028e-05/0.002566, allocations: 0 / 0.7872 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.091e-05/0.002597, allocations: 11.98 kB / 0.7872 GB, free: 11.92 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 2.455e-05/0.002622, allocations: 0 / 0.7872 GB, free: 11.92 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 2.131e-05/0.002643, allocations: 0.5312 kB / 0.7872 GB, free: 11.92 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 7.895e-06/0.002651, allocations: 0 / 0.7872 GB, free: 11.92 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001581/0.002809, allocations: 53.36 kB / 0.7873 GB, free: 11.87 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.14e-05/0.002821, allocations: 3.984 kB / 0.7873 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.412e-05/0.002835, allocations: 4 kB / 0.7873 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001338/0.002969, allocations: 39.88 kB / 0.7873 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.255e-06/0.002971, allocations: 1.094 kB / 0.7873 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.71e-07/0.002971, allocations: 0 / 0.7873 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.587e-06/0.002975, allocations: 0 / 0.7873 GB, free: 11.82 MB / 0.7448 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.0003718/0.003347, allocations: 345.1 kB / 0.7877 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.003385, allocations: 9 kB / 0.7877 GB, free: 11.44 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.012e-05/0.003425, allocations: 8.875 kB / 0.7877 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001209/0.003546, allocations: 108.6 kB / 0.7878 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.003558, allocations: 2.969 kB / 0.7878 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.933e-06/0.003565, allocations: 384 / 0.7878 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.622e-05/0.003662, allocations: 34.2 kB / 0.7878 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.003671, allocations: 192 / 0.7878 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.703e-06/0.003678, allocations: 384 / 0.7878 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.003681, allocations: 384 / 0.7878 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.112e-05/0.003702, allocations: 3.938 kB / 0.7878 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001921/0.003894, allocations: 113.3 kB / 0.7879 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.178e-05/0.003966, allocations: 23.67 kB / 0.788 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.099e-05/0.003997, allocations: 16.31 kB / 0.788 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005288/0.004526, allocations: 70.08 kB / 0.788 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.165e-05/0.004568, allocations: 41.89 kB / 0.7881 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 9.11e-07/0.004569, allocations: 0 / 0.7881 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.0001295/0.004698, allocations: 30.58 kB / 0.7881 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.644e-05/0.004744, allocations: 56.55 kB / 0.7882 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.159e-05/0.004836, allocations: 142.2 kB / 0.7883 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/0.004855, allocations: 25.7 kB / 0.7883 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.54e-05/0.00492, allocations: 132.2 kB / 0.7885 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.251e-05/0.004943, allocations: 0 / 0.7885 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.345e-05/0.004976, allocations: 15.38 kB / 0.7885 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002547/0.005231, allocations: 0.4883 MB / 0.7889 GB, free: 9.996 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.32e-05/0.005244, allocations: 5.75 kB / 0.7889 GB, free: 9.992 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.243e-06/0.005251, allocations: 3.938 kB / 0.789 GB, free: 9.988 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.818e-05/0.00528, allocations: 11.69 kB / 0.789 GB, free: 9.973 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.005281, allocations: 1.281 kB / 0.789 GB, free: 9.973 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.602e-05/0.005337, allocations: 33.69 kB / 0.789 GB, free: 9.934 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.00535, allocations: 4 kB / 0.789 GB, free: 9.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.005353, allocations: 0.8438 kB / 0.789 GB, free: 9.93 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.005366, allocations: 4 kB / 0.789 GB, free: 9.926 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.364e-05/0.0054, allocations: 1.156 kB / 0.789 GB, free: 9.926 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/0.005404, allocations: 0 / 0.789 GB, free: 9.926 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.579e-05/0.005419, allocations: 3.938 kB / 0.789 GB, free: 9.922 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.047e-06/0.005423, allocations: 0 / 0.789 GB, free: 9.922 MB / 0.7448 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 0.0001092/0.005533, allocations: 165.9 kB / 0.7892 GB, free: 9.75 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.839e-06/0.005542, allocations: 7.938 kB / 0.7892 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.643e-05/0.005619, allocations: 38.19 kB / 0.7892 GB, free: 9.699 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.00562, allocations: 0 / 0.7892 GB, free: 9.699 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.005623, allocations: 0 / 0.7892 GB, free: 9.699 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.005629, allocations: 3.984 kB / 0.7892 GB, free: 9.695 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001079/0.005737, allocations: 119.4 kB / 0.7893 GB, free: 9.547 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.005738, allocations: 0 / 0.7893 GB, free: 9.547 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.141e-05/0.00575, allocations: 0 / 0.7893 GB, free: 9.547 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/0.005754, allocations: 3.984 kB / 0.7893 GB, free: 9.543 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.448e-06/0.005759, allocations: 4 kB / 0.7893 GB, free: 9.539 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.00576, allocations: 0 / 0.7893 GB, free: 9.539 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.00576, allocations: 0 / 0.7893 GB, free: 9.539 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.448e-05/0.005855, allocations: 76.83 kB / 0.7894 GB, free: 9.441 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.536e-06/0.005863, allocations: 3.953 kB / 0.7894 GB, free: 9.438 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.005e-06/0.005871, allocations: 0.5 kB / 0.7894 GB, free: 9.438 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.966e-06/0.00588, allocations: 5.922 kB / 0.7894 GB, free: 9.434 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.434e-05/0.005895, allocations: 0 / 0.7894 GB, free: 9.434 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-06/0.005897, allocations: 0 / 0.7894 GB, free: 9.434 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.076e-05/0.005957, allocations: 123.2 kB / 0.7895 GB, free: 9.312 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.005957, allocations: 0 / 0.7895 GB, free: 9.312 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001893/0.006147, allocations: 11.94 kB / 0.7896 GB, free: 9.301 MB / 0.7448 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.0002036/0.00635, allocations: 129.5 kB / 0.7897 GB, free: 9.168 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.157e-05/0.006422, allocations: 12.38 kB / 0.7897 GB, free: 9.152 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.006423, allocations: 2.844 kB / 0.7897 GB, free: 9.152 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.557e-05/0.006439, allocations: 11.62 kB / 0.7897 GB, free: 9.137 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001173/0.006556, allocations: 4 kB / 0.7897 GB, free: 9.133 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002042/0.006761, allocations: 76 kB / 0.7898 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.593e-05/0.006816, allocations: 59.34 kB / 0.7898 GB, free: 8.949 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 9.167e-06/0.006826, allocations: 0 / 0.7898 GB, free: 8.949 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.667e-05/0.006842, allocations: 14.59 kB / 0.7898 GB, free: 8.938 MB / 0.7448 GB Notification: Performance of SimCode: time 4.4e-07/0.006843, allocations: 0 / 0.7898 GB, free: 8.938 MB / 0.7448 GB Notification: Performance of Templates: time 0.002967/0.009809, allocations: 429.4 kB / 0.7903 GB, free: 8.527 MB / 0.7448 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) [Timeout 240] 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.83985287102405]