Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.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.001378/0.001378, allocations: 85.17 kB / 19.87 MB, free: 4.617 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.001654/0.001654, allocations: 169 kB / 23.27 MB, free: 1.223 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.9877/0.9877, allocations: 177.1 MB / 203.7 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.366/2.366, allocations: 438.1 MB / 0.682 GB, free: 14.18 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J1.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J1.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.452e-06/1.452e-06, allocations: 0 / 0.8897 GB, free: 9.777 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.116e-05/2.261e-05, allocations: 9.125 kB / 0.8898 GB, free: 9.77 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.001848/0.00187, allocations: 1.491 MB / 0.8912 GB, free: 8.27 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0004098/0.00228, allocations: 243.2 kB / 0.8914 GB, free: 8.031 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.564e-05/0.002316, allocations: 0 / 0.8914 GB, free: 8.031 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.542e-05/0.002341, allocations: 3.938 kB / 0.8914 GB, free: 8.027 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 4.135e-05/0.002383, allocations: 0 / 0.8914 GB, free: 8.027 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003066/0.002689, allocations: 67.73 kB / 0.8915 GB, free: 7.961 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 4.91e-05/0.002738, allocations: 19.92 kB / 0.8915 GB, free: 7.941 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 7.555e-05/0.002814, allocations: 4 kB / 0.8915 GB, free: 7.938 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 5.167e-05/0.002866, allocations: 15.92 kB / 0.8915 GB, free: 7.922 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 2.975e-05/0.002895, allocations: 8 kB / 0.8916 GB, free: 7.914 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 9.087e-06/0.002904, allocations: 0 / 0.8916 GB, free: 7.914 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001153/0.00302, allocations: 67.86 kB / 0.8916 GB, free: 7.848 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.242e-05/0.003032, allocations: 0 / 0.8916 GB, free: 7.848 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.276e-05/0.003045, allocations: 11.94 kB / 0.8916 GB, free: 7.836 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001082/0.003153, allocations: 55.84 kB / 0.8917 GB, free: 7.781 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.003156, allocations: 0 / 0.8917 GB, free: 7.781 MB / 0.8542 GB Notification: Performance of FrontEnd: time 8.02e-07/0.003157, allocations: 0 / 0.8917 GB, free: 7.781 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.626e-06/0.00316, allocations: 0 / 0.8917 GB, free: 7.781 MB / 0.8542 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.000297/0.003457, allocations: 368.6 kB / 0.892 GB, free: 7.383 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.003495, allocations: 12.62 kB / 0.892 GB, free: 7.371 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.43e-05/0.003519, allocations: 4.938 kB / 0.8921 GB, free: 7.367 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.843e-05/0.003588, allocations: 116.6 kB / 0.8922 GB, free: 7.227 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.095e-06/0.003596, allocations: 4.375 kB / 0.8922 GB, free: 7.223 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.783e-06/0.003603, allocations: 8.312 kB / 0.8922 GB, free: 7.215 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.116e-05/0.003694, allocations: 50.95 kB / 0.8922 GB, free: 7.156 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.101e-06/0.0037, allocations: 192 / 0.8922 GB, free: 7.156 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.544e-06/0.003707, allocations: 4.375 kB / 0.8922 GB, free: 7.152 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.003713, allocations: 4.359 kB / 0.8922 GB, free: 7.148 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.819e-05/0.003731, allocations: 7.938 kB / 0.8922 GB, free: 7.141 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001892/0.00392, allocations: 224.4 kB / 0.8925 GB, free: 6.895 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 3.854e-05/0.003959, allocations: 31 kB / 0.8925 GB, free: 6.852 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.521e-05/0.003974, allocations: 23.66 kB / 0.8925 GB, free: 6.824 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002835/0.004258, allocations: 71.98 kB / 0.8926 GB, free: 6.754 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.357e-05/0.004281, allocations: 41.39 kB / 0.8926 GB, free: 6.703 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 1.573e-06/0.004283, allocations: 0 / 0.8926 GB, free: 6.703 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2): time 0.0001101/0.004393, allocations: 37.64 kB / 0.8926 GB, free: 6.66 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.347e-05/0.004416, allocations: 55.47 kB / 0.8927 GB, free: 6.594 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.269e-05/0.004479, allocations: 165.9 kB / 0.8929 GB, free: 6.414 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 8.256e-06/0.004487, allocations: 25.7 kB / 0.8929 GB, free: 6.383 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.66e-05/0.004524, allocations: 126.9 kB / 0.893 GB, free: 6.254 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.535e-05/0.004539, allocations: 11.89 kB / 0.893 GB, free: 6.242 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.304e-05/0.004562, allocations: 19.38 kB / 0.893 GB, free: 6.215 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.004665, allocations: 0.4923 MB / 0.8935 GB, free: 5.711 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.386e-06/0.004674, allocations: 0 / 0.8935 GB, free: 5.711 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.705e-06/0.004682, allocations: 0 / 0.8935 GB, free: 5.711 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.943e-05/0.004701, allocations: 11.69 kB / 0.8935 GB, free: 5.695 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.004702, allocations: 8.062 kB / 0.8935 GB, free: 5.688 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.419e-05/0.004747, allocations: 45.58 kB / 0.8936 GB, free: 5.637 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.023e-05/0.004757, allocations: 4 kB / 0.8936 GB, free: 5.633 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.004761, allocations: 0 / 0.8936 GB, free: 5.633 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.004772, allocations: 3.938 kB / 0.8936 GB, free: 5.629 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.531e-05/0.004817, allocations: 4 kB / 0.8936 GB, free: 5.625 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.764e-06/0.004819, allocations: 0 / 0.8936 GB, free: 5.625 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.761e-05/0.004837, allocations: 8 kB / 0.8936 GB, free: 5.617 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.657e-06/0.00484, allocations: 192 / 0.8936 GB, free: 5.617 MB / 0.8542 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 5.404e-05/0.004894, allocations: 160.6 kB / 0.8938 GB, free: 5.449 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.126e-05/0.004906, allocations: 4.031 kB / 0.8938 GB, free: 5.445 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.178e-05/0.004967, allocations: 48.98 kB / 0.8938 GB, free: 5.391 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.00497, allocations: 3.938 kB / 0.8938 GB, free: 5.387 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.004971, allocations: 0 / 0.8938 GB, free: 5.387 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.004974, allocations: 0 / 0.8938 GB, free: 5.387 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.037e-05/0.005054, allocations: 93.27 kB / 0.8939 GB, free: 5.27 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.005055, allocations: 0 / 0.8939 GB, free: 5.27 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.859e-05/0.005074, allocations: 11.92 kB / 0.8939 GB, free: 5.258 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.005075, allocations: 0 / 0.8939 GB, free: 5.258 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.136e-06/0.005078, allocations: 0 / 0.8939 GB, free: 5.258 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.00508, allocations: 8.031 kB / 0.8939 GB, free: 5.25 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.005082, allocations: 7.938 kB / 0.8939 GB, free: 5.242 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.343e-05/0.005166, allocations: 191.9 kB / 0.8941 GB, free: 5.035 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.903e-06/0.005173, allocations: 3.953 kB / 0.8941 GB, free: 5.031 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.504e-06/0.00518, allocations: 4 kB / 0.8941 GB, free: 5.027 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.762e-05/0.005208, allocations: 0 / 0.8941 GB, free: 5.027 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.381e-05/0.005232, allocations: 4 kB / 0.8941 GB, free: 5.023 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.135e-06/0.005235, allocations: 3.938 kB / 0.8941 GB, free: 5.02 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 2.918e-05/0.005264, allocations: 123.2 kB / 0.8942 GB, free: 4.898 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4e-08/0.005264, allocations: 0 / 0.8942 GB, free: 4.898 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001501/0.005414, allocations: 23.97 kB / 0.8943 GB, free: 4.875 MB / 0.8542 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.0001416/0.005556, allocations: 111.2 kB / 0.8944 GB, free: 4.754 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 5.36e-05/0.005609, allocations: 19.62 kB / 0.8944 GB, free: 4.73 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.005611, allocations: 0 / 0.8944 GB, free: 4.73 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.468e-05/0.005626, allocations: 11.69 kB / 0.8944 GB, free: 4.715 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001569/0.005782, allocations: 8.125 kB / 0.8944 GB, free: 4.707 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001893/0.005972, allocations: 110.3 kB / 0.8945 GB, free: 4.57 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.205e-05/0.006004, allocations: 63.28 kB / 0.8946 GB, free: 4.488 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.289e-05/0.006017, allocations: 0 / 0.8946 GB, free: 4.488 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.342e-05/0.00606, allocations: 70.2 kB / 0.8946 GB, free: 4.418 MB / 0.8542 GB Notification: Performance of SimCode: time 4.51e-07/0.006061, allocations: 0 / 0.8946 GB, free: 4.418 MB / 0.8542 GB Notification: Performance of Templates: time 0.002418/0.008478, allocations: 0.7798 MB / 0.8954 GB, free: 3.648 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_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: 5.41253278311342]