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.00126/0.00126, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001243/0.001243, allocations: 169.3 kB / 24.28 MB, free: 284 kB / 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 0.9189/0.9189, allocations: 177.1 MB / 204.6 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] 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 1.718/1.718, allocations: 359 MB / 0.6055 GB, free: 11 MB / 0.573 GB " [Timeout remaining time 178] 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 2.104e-06/2.104e-06, allocations: 0 / 0.7871 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.576e-05/2.786e-05, allocations: 6.938 kB / 0.7871 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.00113/0.001158, allocations: 0.5934 MB / 0.7877 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0003482/0.001506, allocations: 168.8 kB / 0.7879 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.221e-05/0.001528, allocations: 4.875 kB / 0.7879 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.809e-05/0.001547, allocations: 0 / 0.7879 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.023e-06/0.001554, allocations: 0.6562 kB / 0.7879 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000376/0.00193, allocations: 59.73 kB / 0.788 GB, free: 11.92 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 4.719e-05/0.001977, allocations: 0.5 kB / 0.788 GB, free: 11.92 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.982e-05/0.002017, allocations: 4.781 kB / 0.788 GB, free: 11.92 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 2.303e-05/0.00204, allocations: 0 / 0.788 GB, free: 11.92 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 2.323e-05/0.002063, allocations: 1.594 kB / 0.788 GB, free: 11.92 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.056e-05/0.002073, allocations: 0 / 0.788 GB, free: 11.92 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001431/0.002216, allocations: 55.92 kB / 0.788 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.219e-05/0.002229, allocations: 0 / 0.788 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.579e-05/0.002244, allocations: 4 kB / 0.788 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001131/0.002357, allocations: 55.19 kB / 0.7881 GB, free: 11.81 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.00236, allocations: 0 / 0.7881 GB, free: 11.81 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.81e-07/0.002361, allocations: 0 / 0.7881 GB, free: 11.81 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.758e-06/0.002364, allocations: 0 / 0.7881 GB, free: 11.81 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.0002565/0.002621, allocations: 344.4 kB / 0.7884 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.002657, allocations: 8.031 kB / 0.7884 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.441e-05/0.002692, allocations: 0.9375 kB / 0.7884 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.267e-05/0.002754, allocations: 108.6 kB / 0.7885 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.002767, allocations: 384 / 0.7885 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.979e-06/0.002777, allocations: 5.094 kB / 0.7885 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.837e-05/0.002865, allocations: 38.84 kB / 0.7886 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.412e-06/0.002872, allocations: 192 / 0.7886 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-06/0.00288, allocations: 1.938 kB / 0.7886 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.256e-06/0.002888, allocations: 384 / 0.7886 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.488e-05/0.002903, allocations: 7.875 kB / 0.7886 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.975e-05/0.003003, allocations: 108.6 kB / 0.7887 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 3.842e-05/0.003041, allocations: 24.95 kB / 0.7887 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.737e-05/0.003058, allocations: 7.688 kB / 0.7887 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003711/0.003429, allocations: 73.95 kB / 0.7888 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.179e-05/0.003451, allocations: 37.38 kB / 0.7888 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.003452, allocations: 1.531 kB / 0.7888 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.00013/0.003582, allocations: 41.64 kB / 0.7888 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.794e-05/0.00361, allocations: 51.41 kB / 0.7889 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.68e-05/0.003647, allocations: 142.8 kB / 0.789 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.135e-06/0.003655, allocations: 25.7 kB / 0.7891 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.628e-05/0.003681, allocations: 128.2 kB / 0.7892 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.586e-05/0.003707, allocations: 0 / 0.7892 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.146e-05/0.003729, allocations: 19.38 kB / 0.7892 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.003831, allocations: 496.7 kB / 0.7897 GB, free: 9.988 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.012e-05/0.003841, allocations: 3.984 kB / 0.7897 GB, free: 9.984 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.52e-06/0.003846, allocations: 1.969 kB / 0.7897 GB, free: 9.984 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.02e-05/0.003877, allocations: 15.69 kB / 0.7897 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.003878, allocations: 0 / 0.7897 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.73e-05/0.003916, allocations: 37.58 kB / 0.7897 GB, free: 9.922 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.003928, allocations: 8.531 kB / 0.7897 GB, free: 9.914 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.003932, allocations: 0.7188 kB / 0.7897 GB, free: 9.914 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.003945, allocations: 0 / 0.7897 GB, free: 9.914 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.631e-05/0.003981, allocations: 1.281 kB / 0.7897 GB, free: 9.914 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/0.003987, allocations: 4 kB / 0.7897 GB, free: 9.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.366e-06/0.003995, allocations: 8.219 kB / 0.7897 GB, free: 9.902 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.717e-06/0.003999, allocations: 0.625 kB / 0.7897 GB, free: 9.902 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 5.761e-05/0.004057, allocations: 157.7 kB / 0.7899 GB, free: 9.738 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.965e-06/0.00406, allocations: 0 / 0.7899 GB, free: 9.738 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.062e-05/0.00412, allocations: 44.59 kB / 0.7899 GB, free: 9.688 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.004123, allocations: 4.75 kB / 0.7899 GB, free: 9.684 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.004126, allocations: 0 / 0.7899 GB, free: 9.684 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.004128, allocations: 0.7188 kB / 0.7899 GB, free: 9.684 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.676e-05/0.004185, allocations: 112.6 kB / 0.7901 GB, free: 9.539 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.004185, allocations: 0.5 kB / 0.7901 GB, free: 9.539 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.683e-06/0.004192, allocations: 5.125 kB / 0.7901 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.11e-07/0.004193, allocations: 0 / 0.7901 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.2e-06/0.004198, allocations: 0 / 0.7901 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.51e-07/0.004198, allocations: 0.9062 kB / 0.7901 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.0042, allocations: 4 kB / 0.7901 GB, free: 9.531 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.98e-05/0.00425, allocations: 77.22 kB / 0.7901 GB, free: 9.434 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.216e-06/0.004253, allocations: 0 / 0.7901 GB, free: 9.434 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.115e-06/0.004261, allocations: 2.219 kB / 0.7901 GB, free: 9.434 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.577e-06/0.004265, allocations: 0 / 0.7901 GB, free: 9.434 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.51e-05/0.00428, allocations: 7.938 kB / 0.7901 GB, free: 9.426 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.362e-06/0.004281, allocations: 0 / 0.7901 GB, free: 9.426 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.777e-05/0.004309, allocations: 119.2 kB / 0.7903 GB, free: 9.309 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.004309, allocations: 0 / 0.7903 GB, free: 9.309 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000132/0.004441, allocations: 12 kB / 0.7903 GB, free: 9.297 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.0001574/0.004598, allocations: 121.9 kB / 0.7904 GB, free: 9.172 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.117e-05/0.004669, allocations: 13.16 kB / 0.7904 GB, free: 9.156 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.004671, allocations: 0 / 0.7904 GB, free: 9.156 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.004e-06/0.004678, allocations: 11.69 kB / 0.7904 GB, free: 9.141 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.635e-05/0.004775, allocations: 0.5 kB / 0.7904 GB, free: 9.141 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001966/0.004971, allocations: 96.66 kB / 0.7905 GB, free: 9.016 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.944e-05/0.005001, allocations: 51.36 kB / 0.7906 GB, free: 8.945 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 8.736e-06/0.005009, allocations: 0.5625 kB / 0.7906 GB, free: 8.945 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.452e-05/0.005024, allocations: 12.44 kB / 0.7906 GB, free: 8.934 MB / 0.7448 GB Notification: Performance of SimCode: time 4.31e-07/0.005024, allocations: 1.094 kB / 0.7906 GB, free: 8.934 MB / 0.7448 GB Notification: Performance of Templates: time 0.002018/0.007043, allocations: 439.4 kB / 0.791 GB, free: 8.516 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.879366145003587]