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.001335/0.001335, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.0009627/0.0009627, allocations: 169 kB / 24.28 MB, free: 276 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.896/0.896, 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.787/1.787, allocations: 359 MB / 0.6055 GB, free: 10.96 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.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.843e-06/1.843e-06, allocations: 0 / 0.7871 GB, free: 12.72 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.746e-05/2.931e-05, allocations: 3.219 kB / 0.7872 GB, free: 12.72 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.001314/0.001343, allocations: 0.5977 MB / 0.7877 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0003663/0.001709, allocations: 180.4 kB / 0.7879 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.04e-05/0.00173, allocations: 1.562 kB / 0.7879 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.759e-05/0.001747, allocations: 0 / 0.7879 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.683e-06/0.001754, allocations: 0 / 0.7879 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003553/0.002109, allocations: 59.69 kB / 0.788 GB, free: 11.9 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 4.114e-05/0.002151, allocations: 6.469 kB / 0.788 GB, free: 11.9 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.627e-05/0.002187, allocations: 0 / 0.788 GB, free: 11.9 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 2.397e-05/0.002211, allocations: 4 kB / 0.788 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 2.111e-05/0.002232, allocations: 0 / 0.788 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 9.618e-06/0.002242, allocations: 0 / 0.788 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001358/0.002377, allocations: 51.94 kB / 0.788 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.383e-05/0.002391, allocations: 3.984 kB / 0.788 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.643e-05/0.002408, allocations: 9.688 kB / 0.788 GB, free: 11.83 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001107/0.002518, allocations: 39.94 kB / 0.7881 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.474e-06/0.002521, allocations: 0 / 0.7881 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.21e-07/0.002522, allocations: 0 / 0.7881 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.002526, allocations: 0 / 0.7881 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.0002483/0.002774, allocations: 352.8 kB / 0.7884 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.00281, allocations: 9.375 kB / 0.7884 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.407e-05/0.002854, allocations: 4.938 kB / 0.7884 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.034e-05/0.002915, allocations: 113.2 kB / 0.7885 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.002926, allocations: 384 / 0.7885 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.744e-06/0.002934, allocations: 1.562 kB / 0.7885 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.813e-05/0.003012, allocations: 26.27 kB / 0.7886 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.003019, allocations: 192 / 0.7886 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.003e-06/0.003026, allocations: 9.156 kB / 0.7886 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.003033, allocations: 384 / 0.7886 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.312e-05/0.003046, allocations: 4.812 kB / 0.7886 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.193e-05/0.003138, allocations: 108.6 kB / 0.7887 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 3.325e-05/0.003171, allocations: 29.69 kB / 0.7887 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.638e-05/0.003188, allocations: 11.69 kB / 0.7887 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003854/0.003573, allocations: 72.52 kB / 0.7888 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.185e-05/0.003595, allocations: 38.11 kB / 0.7888 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.003596, allocations: 0 / 0.7888 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.0001178/0.003714, allocations: 38.16 kB / 0.7889 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.532e-05/0.003739, allocations: 53.06 kB / 0.7889 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.519e-05/0.003774, allocations: 142.2 kB / 0.789 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.421e-05/0.003788, allocations: 29.7 kB / 0.7891 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.74e-05/0.003816, allocations: 130.9 kB / 0.7892 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.589e-05/0.003842, allocations: 0.5938 kB / 0.7892 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.106e-05/0.003863, allocations: 15.38 kB / 0.7892 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.003966, allocations: 0.493 MB / 0.7897 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.558e-06/0.003975, allocations: 0 / 0.7897 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.619e-06/0.00398, allocations: 1.156 kB / 0.7897 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.336e-05/0.004013, allocations: 19.61 kB / 0.7897 GB, free: 9.93 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.004015, allocations: 1.375 kB / 0.7897 GB, free: 9.93 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.49e-05/0.00405, allocations: 29.7 kB / 0.7897 GB, free: 9.895 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.004062, allocations: 4 kB / 0.7898 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.004066, allocations: 1.75 kB / 0.7898 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.004078, allocations: 4 kB / 0.7898 GB, free: 9.887 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.83e-05/0.004117, allocations: 0 / 0.7898 GB, free: 9.887 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.004122, allocations: 0 / 0.7898 GB, free: 9.887 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.203e-05/0.004134, allocations: 3.938 kB / 0.7898 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.004139, allocations: 5.219 kB / 0.7898 GB, free: 9.879 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 7.132e-05/0.00421, allocations: 164.6 kB / 0.7899 GB, free: 9.707 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.557e-06/0.004213, allocations: 1.188 kB / 0.7899 GB, free: 9.707 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.533e-05/0.004289, allocations: 36.64 kB / 0.79 GB, free: 9.664 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.004292, allocations: 5.203 kB / 0.79 GB, free: 9.66 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.004296, allocations: 0 / 0.79 GB, free: 9.66 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.004299, allocations: 0 / 0.79 GB, free: 9.66 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.478e-05/0.004364, allocations: 121.8 kB / 0.7901 GB, free: 9.508 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.004365, allocations: 0 / 0.7901 GB, free: 9.508 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.133e-06/0.004372, allocations: 0 / 0.7901 GB, free: 9.508 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.004373, allocations: 0 / 0.7901 GB, free: 9.508 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-06/0.004379, allocations: 1.625 kB / 0.7901 GB, free: 9.508 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.00438, allocations: 8 kB / 0.7901 GB, free: 9.5 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.004381, allocations: 0 / 0.7901 GB, free: 9.5 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.235e-05/0.004433, allocations: 72.33 kB / 0.7902 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.172e-06/0.00444, allocations: 10.7 kB / 0.7902 GB, free: 9.398 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.007e-06/0.004449, allocations: 0 / 0.7902 GB, free: 9.398 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.556e-06/0.004452, allocations: 0 / 0.7902 GB, free: 9.398 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.528e-05/0.004468, allocations: 0 / 0.7902 GB, free: 9.398 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.322e-06/0.004469, allocations: 0 / 0.7902 GB, free: 9.398 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.156e-05/0.0045, allocations: 119.2 kB / 0.7903 GB, free: 9.281 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.0045, allocations: 0 / 0.7903 GB, free: 9.281 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001355/0.004636, allocations: 15.94 kB / 0.7903 GB, free: 9.266 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.0001707/0.004807, allocations: 124.7 kB / 0.7904 GB, free: 9.141 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.217e-05/0.004879, allocations: 15.69 kB / 0.7904 GB, free: 9.121 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.00488, allocations: 0.8438 kB / 0.7904 GB, free: 9.121 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.892e-06/0.004887, allocations: 8.531 kB / 0.7904 GB, free: 9.109 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.632e-05/0.004984, allocations: 4 kB / 0.7904 GB, free: 9.105 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001745/0.005158, allocations: 88.61 kB / 0.7905 GB, free: 8.988 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.722e-05/0.005185, allocations: 51.36 kB / 0.7906 GB, free: 8.918 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 9.528e-06/0.005195, allocations: 4.719 kB / 0.7906 GB, free: 8.914 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.311e-05/0.005208, allocations: 11.44 kB / 0.7906 GB, free: 8.906 MB / 0.7448 GB Notification: Performance of SimCode: time 8.42e-07/0.005209, allocations: 0 / 0.7906 GB, free: 8.906 MB / 0.7448 GB Notification: Performance of Templates: time 0.001946/0.007155, allocations: 431.1 kB / 0.791 GB, free: 8.496 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","",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.957185227889568]