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.001377/0.001377, allocations: 83.59 kB / 20.45 MB, free: 4.105 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.001464/0.001464, allocations: 165 kB / 23.82 MB, free: 0.7344 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 0.9935/0.9935, allocations: 177.1 MB / 204.2 MB, free: 5.602 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.749/1.749, allocations: 359 MB / 0.6052 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 1.864e-06/1.864e-06, allocations: 0 / 0.7871 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.011e-05/3.197e-05, allocations: 4.984 kB / 0.7872 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.001403/0.001434, allocations: 0.603 MB / 0.7877 GB, free: 11.83 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0003885/0.001823, allocations: 176.6 kB / 0.7879 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.228e-05/0.001835, allocations: 0 / 0.7879 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.819e-05/0.001853, allocations: 0 / 0.7879 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.302e-06/0.00186, allocations: 0 / 0.7879 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.00039/0.00225, allocations: 48.45 kB / 0.788 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 4.124e-05/0.002291, allocations: 5.391 kB / 0.788 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.485e-05/0.002326, allocations: 4 kB / 0.788 GB, free: 11.6 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 2.208e-05/0.002348, allocations: 0 / 0.788 GB, free: 11.6 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 1.72e-05/0.002365, allocations: 0 / 0.788 GB, free: 11.6 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 9.809e-06/0.002375, allocations: 4.781 kB / 0.788 GB, free: 11.6 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001443/0.002519, allocations: 59.88 kB / 0.788 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.234e-05/0.002532, allocations: 0.5625 kB / 0.788 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.338e-05/0.002545, allocations: 0 / 0.788 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001175/0.002662, allocations: 40.56 kB / 0.7881 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.002665, allocations: 0 / 0.7881 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.22e-07/0.002665, allocations: 0.9062 kB / 0.7881 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.489e-06/0.00267, allocations: 0 / 0.7881 GB, free: 11.5 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.0002364/0.002906, allocations: 349 kB / 0.7884 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.002944, allocations: 11.97 kB / 0.7884 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.359e-05/0.002977, allocations: 5.812 kB / 0.7884 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.213e-05/0.00303, allocations: 104.6 kB / 0.7885 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.028e-05/0.00304, allocations: 3.75 kB / 0.7885 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.307e-06/0.003049, allocations: 384 / 0.7885 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.31e-05/0.003122, allocations: 30.27 kB / 0.7885 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.00313, allocations: 192 / 0.7885 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.444e-06/0.003137, allocations: 384 / 0.7885 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.003144, allocations: 384 / 0.7885 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.421e-05/0.003158, allocations: 7.922 kB / 0.7886 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.579e-05/0.003254, allocations: 116.6 kB / 0.7887 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 3.482e-05/0.003289, allocations: 27.61 kB / 0.7887 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.432e-05/0.003303, allocations: 8.406 kB / 0.7887 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003621/0.003665, allocations: 75.02 kB / 0.7888 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.927e-05/0.003684, allocations: 37.33 kB / 0.7888 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.003685, allocations: 4 kB / 0.7888 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.0001195/0.003805, allocations: 39.22 kB / 0.7889 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.556e-05/0.00383, allocations: 51.41 kB / 0.7889 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.583e-05/0.003866, allocations: 142.2 kB / 0.789 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 7.945e-06/0.003874, allocations: 25.7 kB / 0.7891 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.842e-05/0.003903, allocations: 128.4 kB / 0.7892 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.463e-05/0.003927, allocations: 0 / 0.7892 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.351e-05/0.003951, allocations: 23.38 kB / 0.7892 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.96e-05/0.00405, allocations: 496.1 kB / 0.7897 GB, free: 9.668 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.656e-06/0.004059, allocations: 1.031 kB / 0.7897 GB, free: 9.668 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.222e-06/0.004065, allocations: 4 kB / 0.7897 GB, free: 9.664 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.673e-05/0.004092, allocations: 12.2 kB / 0.7897 GB, free: 9.648 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.004093, allocations: 0.5312 kB / 0.7897 GB, free: 9.648 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.308e-05/0.004137, allocations: 42.64 kB / 0.7897 GB, free: 9.602 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/0.004148, allocations: 4 kB / 0.7897 GB, free: 9.598 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.004152, allocations: 0 / 0.7897 GB, free: 9.598 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.004165, allocations: 0.6875 kB / 0.7897 GB, free: 9.598 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.297e-05/0.004208, allocations: 4 kB / 0.7897 GB, free: 9.594 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.004213, allocations: 0.5312 kB / 0.7897 GB, free: 9.594 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.055e-05/0.004224, allocations: 13.25 kB / 0.7898 GB, free: 9.582 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.559e-06/0.004228, allocations: 0 / 0.7898 GB, free: 9.582 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.911e-05/0.004287, allocations: 156.6 kB / 0.7899 GB, free: 9.418 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.87e-06/0.004292, allocations: 5.5 kB / 0.7899 GB, free: 9.414 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.852e-05/0.004361, allocations: 32.7 kB / 0.7899 GB, free: 9.375 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.004363, allocations: 0 / 0.7899 GB, free: 9.375 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.004367, allocations: 0.9062 kB / 0.7899 GB, free: 9.375 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.004369, allocations: 0 / 0.7899 GB, free: 9.375 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.881e-05/0.004428, allocations: 122 kB / 0.7901 GB, free: 9.223 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.22e-07/0.004428, allocations: 0 / 0.7901 GB, free: 9.223 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.077e-05/0.004439, allocations: 7.938 kB / 0.7901 GB, free: 9.215 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.004441, allocations: 0 / 0.7901 GB, free: 9.215 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.531e-06/0.004447, allocations: 1.344 kB / 0.7901 GB, free: 9.215 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.004448, allocations: 0 / 0.7901 GB, free: 9.215 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.004449, allocations: 0 / 0.7901 GB, free: 9.215 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.363e-05/0.004503, allocations: 68.39 kB / 0.7901 GB, free: 9.125 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.272e-06/0.004509, allocations: 12.88 kB / 0.7901 GB, free: 9.113 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.616e-06/0.004518, allocations: 0 / 0.7901 GB, free: 9.113 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.649e-06/0.004522, allocations: 6.312 kB / 0.7902 GB, free: 9.109 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.351e-05/0.004536, allocations: 0 / 0.7902 GB, free: 9.109 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-06/0.004538, allocations: 0 / 0.7902 GB, free: 9.109 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.65e-05/0.004564, allocations: 119.2 kB / 0.7903 GB, free: 8.992 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.004564, allocations: 0 / 0.7903 GB, free: 8.992 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001409/0.004705, allocations: 12 kB / 0.7903 GB, free: 8.98 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.0001624/0.004868, allocations: 126.5 kB / 0.7904 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 6.552e-05/0.004933, allocations: 15.62 kB / 0.7904 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.004934, allocations: 0 / 0.7904 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.223e-06/0.004942, allocations: 11.69 kB / 0.7904 GB, free: 8.816 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.299e-05/0.005035, allocations: 0.7812 kB / 0.7904 GB, free: 8.816 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001846/0.005219, allocations: 92.44 kB / 0.7905 GB, free: 8.695 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.847e-05/0.005248, allocations: 51.92 kB / 0.7906 GB, free: 8.625 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 8.676e-06/0.005256, allocations: 0 / 0.7906 GB, free: 8.625 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.743e-05/0.005274, allocations: 9.062 kB / 0.7906 GB, free: 8.617 MB / 0.7448 GB Notification: Performance of SimCode: time 5.71e-07/0.005274, allocations: 1.406 kB / 0.7906 GB, free: 8.617 MB / 0.7448 GB Notification: Performance of Templates: time 0.002019/0.007293, allocations: 436.4 kB / 0.791 GB, free: 8.203 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: 5.081808004062623]