Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00252/0.00252, allocations: 83.69 kB / 20.24 MB, free: 4.184 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.002997/0.002997, allocations: 161.3 kB / 23.55 MB, free: 0.875 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.591/1.591, allocations: 177.1 MB / 203.9 MB, free: 5.609 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.898/2.898, allocations: 359 MB / 0.6048 GB, free: 10.94 MB / 0.573 GB " [Timeout remaining time 176] 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.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J1",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J1",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 0.7864 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.486e-05/2.631e-05, allocations: 10.25 kB / 0.7864 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.001625/0.001651, allocations: 0.5868 MB / 0.787 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0004885/0.00214, allocations: 184 kB / 0.7872 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.043e-05/0.00215, allocations: 0.75 kB / 0.7872 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.009e-05/0.00216, allocations: 0 / 0.7872 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.669e-06/0.002165, allocations: 0.5625 kB / 0.7872 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003546/0.002519, allocations: 53.02 kB / 0.7872 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 3.562e-05/0.002555, allocations: 7.984 kB / 0.7872 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 2.845e-05/0.002583, allocations: 0 / 0.7872 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 2.531e-05/0.002609, allocations: 1.438 kB / 0.7872 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 2.081e-05/0.00263, allocations: 0 / 0.7872 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 8.025e-06/0.002638, allocations: 0 / 0.7872 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001813/0.002819, allocations: 63.86 kB / 0.7873 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 8.687e-06/0.002827, allocations: 1.188 kB / 0.7873 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.116e-05/0.002839, allocations: 0 / 0.7873 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001341/0.002973, allocations: 47.81 kB / 0.7874 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.002975, allocations: 0 / 0.7874 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.347e-06/0.002979, allocations: 4.609 kB / 0.7874 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.457e-06/0.002982, allocations: 1.406 kB / 0.7874 GB, free: 11.79 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.00036/0.003342, allocations: 344.4 kB / 0.7877 GB, free: 11.42 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.003375, allocations: 8.031 kB / 0.7877 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.495e-05/0.00341, allocations: 0.9375 kB / 0.7877 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.86e-05/0.003509, allocations: 110.2 kB / 0.7878 GB, free: 11.28 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.003523, allocations: 4.359 kB / 0.7878 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.032e-06/0.003529, allocations: 384 / 0.7878 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.059e-05/0.003609, allocations: 27.17 kB / 0.7878 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.003617, allocations: 192 / 0.7878 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.502e-06/0.003623, allocations: 5.438 kB / 0.7878 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.326e-06/0.003626, allocations: 384 / 0.7878 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.62e-05/0.003663, allocations: 11.88 kB / 0.7878 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001345/0.003797, allocations: 105.1 kB / 0.7879 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.749e-05/0.003855, allocations: 28.75 kB / 0.788 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.755e-05/0.003872, allocations: 7.688 kB / 0.788 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005488/0.004421, allocations: 81.56 kB / 0.7881 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.401e-05/0.004455, allocations: 34.64 kB / 0.7881 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.004456, allocations: 0 / 0.7881 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.0001394/0.004595, allocations: 37.64 kB / 0.7881 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.314e-05/0.004639, allocations: 62.34 kB / 0.7882 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.376e-05/0.004722, allocations: 146.2 kB / 0.7883 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.004741, allocations: 25.7 kB / 0.7884 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.552e-05/0.004806, allocations: 126.9 kB / 0.7885 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.583e-05/0.004832, allocations: 3.938 kB / 0.7885 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.706e-05/0.004869, allocations: 19.38 kB / 0.7885 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000252/0.005121, allocations: 496.1 kB / 0.789 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.067e-06/0.00513, allocations: 0 / 0.789 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.88e-06/0.005135, allocations: 0.7188 kB / 0.789 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.019e-05/0.005165, allocations: 16.22 kB / 0.789 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.005167, allocations: 1.375 kB / 0.789 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.578e-05/0.005223, allocations: 37.62 kB / 0.789 GB, free: 9.898 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.005237, allocations: 8 kB / 0.789 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.005241, allocations: 1.156 kB / 0.789 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.005254, allocations: 0 / 0.789 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.461e-05/0.005288, allocations: 0 / 0.789 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.005293, allocations: 1.094 kB / 0.789 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.095e-05/0.005304, allocations: 7.938 kB / 0.789 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.005309, allocations: 0 / 0.789 GB, free: 9.883 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.0001073/0.005416, allocations: 154.3 kB / 0.7892 GB, free: 9.723 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.322e-06/0.005423, allocations: 0 / 0.7892 GB, free: 9.723 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.797e-05/0.00552, allocations: 48.62 kB / 0.7892 GB, free: 9.668 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-06/0.005522, allocations: 0 / 0.7892 GB, free: 9.668 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.005524, allocations: 1.188 kB / 0.7892 GB, free: 9.668 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.713e-06/0.005526, allocations: 0 / 0.7892 GB, free: 9.668 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.922e-05/0.005625, allocations: 108.6 kB / 0.7893 GB, free: 9.527 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.005629, allocations: 4.562 kB / 0.7893 GB, free: 9.523 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.452e-05/0.005643, allocations: 4 kB / 0.7893 GB, free: 9.52 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.005645, allocations: 1.531 kB / 0.7893 GB, free: 9.52 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.5e-06/0.00565, allocations: 0 / 0.7893 GB, free: 9.52 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.005654, allocations: 3.984 kB / 0.7894 GB, free: 9.516 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.005654, allocations: 0 / 0.7894 GB, free: 9.516 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.623e-05/0.005751, allocations: 78.56 kB / 0.7894 GB, free: 9.418 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.021e-06/0.005757, allocations: 3.953 kB / 0.7894 GB, free: 9.414 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.193e-06/0.005764, allocations: 0 / 0.7894 GB, free: 9.414 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.067e-06/0.005773, allocations: 4 kB / 0.7894 GB, free: 9.41 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.845e-05/0.005791, allocations: 11.86 kB / 0.7894 GB, free: 9.398 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-06/0.005793, allocations: 0.9062 kB / 0.7894 GB, free: 9.398 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.153e-05/0.005855, allocations: 119.2 kB / 0.7896 GB, free: 9.281 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.005855, allocations: 0.5312 kB / 0.7896 GB, free: 9.281 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001885/0.006043, allocations: 12 kB / 0.7896 GB, free: 9.27 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.0002148/0.006258, allocations: 121.6 kB / 0.7897 GB, free: 9.145 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.539e-05/0.006333, allocations: 12.5 kB / 0.7897 GB, free: 9.129 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.006335, allocations: 0 / 0.7897 GB, free: 9.129 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.018e-05/0.006355, allocations: 16.62 kB / 0.7897 GB, free: 9.109 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001261/0.006481, allocations: 1.875 kB / 0.7897 GB, free: 9.109 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001978/0.006679, allocations: 81.42 kB / 0.7898 GB, free: 9 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.426e-05/0.006733, allocations: 59.28 kB / 0.7899 GB, free: 8.922 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 9.247e-06/0.006743, allocations: 4 kB / 0.7899 GB, free: 8.918 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.697e-05/0.00676, allocations: 9.375 kB / 0.7899 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of SimCode: time 4.31e-07/0.00676, allocations: 0 / 0.7899 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of Templates: time 0.002947/0.009707, allocations: 432.8 kB / 0.7903 GB, free: 8.5 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_BesselJ1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 7.9344355430221185]