Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001822/0.001822, 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.001908/0.001908, allocations: 161.3 kB / 23.55 MB, free: 0.8711 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.555/1.555, allocations: 177.1 MB / 203.9 MB, free: 5.605 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.912/2.912, allocations: 359 MB / 0.6048 GB, free: 10.93 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.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J0.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J0.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.123e-06/1.123e-06, allocations: 0 / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.123e-05/2.235e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.002609/0.002632, allocations: 1.472 MB / 0.7878 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0005269/0.003159, allocations: 229.2 kB / 0.788 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.976e-05/0.003178, allocations: 0 / 0.788 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.682e-05/0.003195, allocations: 1.562 kB / 0.788 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.133e-05/0.003237, allocations: 0 / 0.788 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002987/0.003535, allocations: 63.69 kB / 0.7881 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 5.578e-05/0.003591, allocations: 23.92 kB / 0.7881 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 5.574e-05/0.003647, allocations: 1.031 kB / 0.7881 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.99e-05/0.003697, allocations: 11.98 kB / 0.7881 GB, free: 11 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.65e-05/0.003733, allocations: 16.59 kB / 0.7882 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.052e-05/0.003744, allocations: 0 / 0.7882 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001294/0.003873, allocations: 57.3 kB / 0.7882 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.259e-05/0.003886, allocations: 3.938 kB / 0.7882 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.668e-05/0.003912, allocations: 11.98 kB / 0.7882 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001486/0.004061, allocations: 59.84 kB / 0.7883 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.004063, allocations: 5.125 kB / 0.7883 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.22e-07/0.004064, allocations: 0 / 0.7883 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.855e-06/0.004067, allocations: 0 / 0.7883 GB, free: 10.85 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004549/0.004522, allocations: 361.3 kB / 0.7886 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.253e-05/0.004554, allocations: 12.03 kB / 0.7886 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.43e-05/0.004588, allocations: 6.109 kB / 0.7886 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001112/0.0047, allocations: 116.5 kB / 0.7888 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.004715, allocations: 4.359 kB / 0.7888 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.822e-06/0.004721, allocations: 5.969 kB / 0.7888 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001405/0.004862, allocations: 46.25 kB / 0.7888 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.567e-06/0.00487, allocations: 192 / 0.7888 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.452e-06/0.004877, allocations: 384 / 0.7888 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.895e-06/0.00488, allocations: 384 / 0.7888 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001173/0.004997, allocations: 25.52 kB / 0.7888 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003201/0.005317, allocations: 259.8 kB / 0.7891 GB, free: 9.934 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001073/0.005424, allocations: 40.41 kB / 0.7891 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.418e-05/0.005489, allocations: 23.73 kB / 0.7891 GB, free: 9.855 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004679/0.005957, allocations: 70.77 kB / 0.7892 GB, free: 9.789 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.577e-05/0.005992, allocations: 37.39 kB / 0.7892 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.005994, allocations: 0 / 0.7892 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0002759/0.006269, allocations: 74.22 kB / 0.7893 GB, free: 9.664 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.046e-05/0.00631, allocations: 51.41 kB / 0.7894 GB, free: 9.602 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001205/0.00643, allocations: 162.5 kB / 0.7895 GB, free: 9.426 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.006449, allocations: 31.08 kB / 0.7896 GB, free: 9.391 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.494e-05/0.006524, allocations: 130.9 kB / 0.7897 GB, free: 9.258 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.879e-05/0.006543, allocations: 3.953 kB / 0.7897 GB, free: 9.254 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001126/0.006656, allocations: 19.38 kB / 0.7897 GB, free: 9.227 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000244/0.0069, allocations: 0.4895 MB / 0.7902 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.262e-05/0.006952, allocations: 8 kB / 0.7902 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.957e-05/0.007002, allocations: 17.2 kB / 0.7902 GB, free: 8.703 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.593e-05/0.007098, allocations: 27.67 kB / 0.7902 GB, free: 8.672 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.007099, allocations: 1.75 kB / 0.7902 GB, free: 8.672 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001419/0.007241, allocations: 57.62 kB / 0.7903 GB, free: 8.609 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.007252, allocations: 4 kB / 0.7903 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.007258, allocations: 5.125 kB / 0.7903 GB, free: 8.602 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.00727, allocations: 0 / 0.7903 GB, free: 8.602 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.199e-05/0.007332, allocations: 7.984 kB / 0.7903 GB, free: 8.594 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.827e-06/0.007336, allocations: 4.625 kB / 0.7903 GB, free: 8.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.728e-05/0.007363, allocations: 0 / 0.7903 GB, free: 8.59 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.947e-06/0.007367, allocations: 0.5 kB / 0.7903 GB, free: 8.59 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 (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 0.0001092/0.007476, allocations: 158.3 kB / 0.7905 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.207e-05/0.007498, allocations: 0 / 0.7905 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001729/0.007671, allocations: 68.92 kB / 0.7905 GB, free: 8.352 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.105e-05/0.007682, allocations: 9.75 kB / 0.7905 GB, free: 8.344 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.007685, allocations: 3.938 kB / 0.7905 GB, free: 8.34 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.007687, allocations: 0 / 0.7905 GB, free: 8.34 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001483/0.007835, allocations: 116.6 kB / 0.7906 GB, free: 8.191 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.007836, allocations: 0 / 0.7906 GB, free: 8.191 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.068e-05/0.007877, allocations: 4.781 kB / 0.7906 GB, free: 8.188 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.007882, allocations: 4 kB / 0.7907 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.491e-06/0.007887, allocations: 0.5312 kB / 0.7907 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.46e-06/0.007893, allocations: 8.641 kB / 0.7907 GB, free: 8.176 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.007893, allocations: 0 / 0.7907 GB, free: 8.176 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002233/0.008117, allocations: 201.7 kB / 0.7909 GB, free: 7.961 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.045e-06/0.008125, allocations: 4 kB / 0.7909 GB, free: 7.957 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.014e-05/0.008135, allocations: 0 / 0.7909 GB, free: 7.957 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.309e-05/0.008198, allocations: 12.92 kB / 0.7909 GB, free: 7.945 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.297e-05/0.008231, allocations: 0 / 0.7909 GB, free: 7.945 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.055e-06/0.008239, allocations: 7.984 kB / 0.7909 GB, free: 7.938 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.252e-05/0.008312, allocations: 124.1 kB / 0.791 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.008312, allocations: 4 kB / 0.791 GB, free: 7.812 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002257/0.008537, allocations: 25.27 kB / 0.791 GB, free: 7.789 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 (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.0001951/0.008732, allocations: 113.9 kB / 0.7911 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.00016/0.008892, allocations: 35.66 kB / 0.7912 GB, free: 7.633 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.008894, allocations: 0 / 0.7912 GB, free: 7.633 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.551e-05/0.00896, allocations: 20.47 kB / 0.7912 GB, free: 7.609 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002106/0.00917, allocations: 7.438 kB / 0.7912 GB, free: 7.605 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002771/0.009447, allocations: 118.3 kB / 0.7913 GB, free: 7.461 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.037e-05/0.009508, allocations: 63.28 kB / 0.7914 GB, free: 7.379 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.132e-05/0.009529, allocations: 4 kB / 0.7914 GB, free: 7.375 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.123e-05/0.00956, allocations: 8.5 kB / 0.7914 GB, free: 7.367 MB / 0.7448 GB Notification: Performance of SimCode: time 5.11e-07/0.009561, allocations: 0 / 0.7914 GB, free: 7.367 MB / 0.7448 GB Notification: Performance of Templates: time 0.003394/0.01295, allocations: 0.6917 MB / 0.7921 GB, free: 6.699 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_BesselJ0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 7.846030062995851]