Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001049/0.001049, allocations: 67.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.0009737/0.0009737, allocations: 169 kB / 24.28 MB, free: 280 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 1.064/1.064, 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.795/1.795, 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.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J1.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J1.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 0.7871 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.203e-05/2.393e-05, allocations: 4.719 kB / 0.7871 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.002271/0.002295, allocations: 1.476 MB / 0.7885 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.000482/0.002777, allocations: 245.9 kB / 0.7888 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.374e-05/0.002821, allocations: 0 / 0.7888 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.238e-05/0.002853, allocations: 3.938 kB / 0.7888 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.517e-05/0.002909, allocations: 5.344 kB / 0.7888 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000424/0.003333, allocations: 67.73 kB / 0.7888 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.26e-05/0.003415, allocations: 19.92 kB / 0.7889 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.003526, allocations: 5.5 kB / 0.7889 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 6.153e-05/0.003587, allocations: 11.98 kB / 0.7889 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.144e-05/0.003629, allocations: 11.94 kB / 0.7889 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.375e-05/0.003642, allocations: 0.5312 kB / 0.7889 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001408/0.003783, allocations: 63.86 kB / 0.789 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.014e-05/0.003803, allocations: 1.094 kB / 0.789 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.218e-05/0.003825, allocations: 8 kB / 0.789 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001698/0.003995, allocations: 59.78 kB / 0.789 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.003999, allocations: 5.875 kB / 0.789 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.432e-06/0.004, allocations: 0 / 0.789 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.004005, allocations: 0 / 0.789 GB, free: 10.8 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.0004314/0.004436, allocations: 360.6 kB / 0.7894 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.889e-05/0.004485, allocations: 8.75 kB / 0.7894 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.206e-05/0.004537, allocations: 16.89 kB / 0.7894 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001124/0.00465, allocations: 109.7 kB / 0.7895 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.004665, allocations: 4.375 kB / 0.7895 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.036e-05/0.004675, allocations: 4.312 kB / 0.7895 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001492/0.004824, allocations: 52.55 kB / 0.7896 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.004834, allocations: 192 / 0.7896 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.004847, allocations: 4.375 kB / 0.7896 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.183e-05/0.004859, allocations: 384 / 0.7896 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.001e-05/0.004899, allocations: 17.62 kB / 0.7896 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003636/0.005263, allocations: 239.8 kB / 0.7898 GB, free: 9.898 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.989e-05/0.005322, allocations: 39.03 kB / 0.7898 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.656e-05/0.005349, allocations: 11.75 kB / 0.7899 GB, free: 9.832 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003685/0.005717, allocations: 74.45 kB / 0.7899 GB, free: 9.762 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/0.005745, allocations: 33.39 kB / 0.79 GB, free: 9.719 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 2.184e-06/0.005747, allocations: 0.625 kB / 0.79 GB, free: 9.719 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001788/0.005926, allocations: 55.23 kB / 0.79 GB, free: 9.66 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.557e-05/0.005961, allocations: 55.34 kB / 0.7901 GB, free: 9.594 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.483e-05/0.006056, allocations: 157.9 kB / 0.7902 GB, free: 9.422 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.2e-05/0.006068, allocations: 25.7 kB / 0.7902 GB, free: 9.391 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.569e-05/0.006124, allocations: 136.6 kB / 0.7904 GB, free: 9.254 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.126e-05/0.006145, allocations: 11.89 kB / 0.7904 GB, free: 9.242 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.858e-05/0.006174, allocations: 15.38 kB / 0.7904 GB, free: 9.219 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.006309, allocations: 0.4884 MB / 0.7909 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.526e-05/0.006324, allocations: 0 / 0.7909 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.348e-05/0.006338, allocations: 8.578 kB / 0.7909 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.119e-05/0.006369, allocations: 12.62 kB / 0.7909 GB, free: 8.695 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.006371, allocations: 0 / 0.7909 GB, free: 8.695 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.137e-05/0.006433, allocations: 43.58 kB / 0.7909 GB, free: 8.648 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.006449, allocations: 4 kB / 0.7909 GB, free: 8.645 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.006457, allocations: 3.938 kB / 0.7909 GB, free: 8.641 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.006473, allocations: 0 / 0.7909 GB, free: 8.641 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.789e-05/0.006541, allocations: 14.11 kB / 0.791 GB, free: 8.629 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.784e-06/0.006549, allocations: 0 / 0.791 GB, free: 8.629 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.672e-05/0.006566, allocations: 0 / 0.791 GB, free: 8.629 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-06/0.006571, allocations: 0 / 0.791 GB, free: 8.629 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 7.405e-05/0.006645, allocations: 156.6 kB / 0.7911 GB, free: 8.465 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.279e-05/0.006658, allocations: 0.5312 kB / 0.7911 GB, free: 8.465 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.792e-05/0.006756, allocations: 49.66 kB / 0.7912 GB, free: 8.41 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-06/0.006757, allocations: 0 / 0.7912 GB, free: 8.41 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.006762, allocations: 0.5312 kB / 0.7912 GB, free: 8.41 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.006766, allocations: 1.562 kB / 0.7912 GB, free: 8.41 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001031/0.006869, allocations: 120.6 kB / 0.7913 GB, free: 8.258 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.006871, allocations: 0 / 0.7913 GB, free: 8.258 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.515e-05/0.006896, allocations: 11.94 kB / 0.7913 GB, free: 8.246 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/0.006901, allocations: 4.516 kB / 0.7913 GB, free: 8.242 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.006908, allocations: 0 / 0.7913 GB, free: 8.242 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.006911, allocations: 9.25 kB / 0.7913 GB, free: 8.234 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.006912, allocations: 0 / 0.7913 GB, free: 8.234 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000112/0.007024, allocations: 187.9 kB / 0.7915 GB, free: 8.031 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.58e-06/0.007029, allocations: 1.156 kB / 0.7915 GB, free: 8.031 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.196e-05/0.007041, allocations: 3.984 kB / 0.7915 GB, free: 8.027 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.112e-05/0.007072, allocations: 7.938 kB / 0.7915 GB, free: 8.02 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.016e-05/0.007112, allocations: 1.375 kB / 0.7915 GB, free: 8.02 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-06/0.007116, allocations: 0 / 0.7915 GB, free: 8.02 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.273e-05/0.007159, allocations: 127.2 kB / 0.7916 GB, free: 7.895 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.007159, allocations: 3.938 kB / 0.7916 GB, free: 7.891 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001586/0.007317, allocations: 20.84 kB / 0.7916 GB, free: 7.871 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.00017/0.007487, allocations: 117.4 kB / 0.7917 GB, free: 7.75 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.895e-05/0.007566, allocations: 16.12 kB / 0.7918 GB, free: 7.73 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.007568, allocations: 0.7188 kB / 0.7918 GB, free: 7.73 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.555e-05/0.007584, allocations: 11.69 kB / 0.7918 GB, free: 7.715 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001717/0.007755, allocations: 5.719 kB / 0.7918 GB, free: 7.711 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000259/0.008014, allocations: 118.3 kB / 0.7919 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.444e-05/0.008049, allocations: 56.22 kB / 0.7919 GB, free: 7.492 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.468e-05/0.008063, allocations: 0 / 0.7919 GB, free: 7.492 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.085e-05/0.008084, allocations: 15.97 kB / 0.792 GB, free: 7.48 MB / 0.7448 GB Notification: Performance of SimCode: time 8.61e-07/0.008085, allocations: 0 / 0.792 GB, free: 7.48 MB / 0.7448 GB Notification: Performance of Templates: time 0.002302/0.01039, allocations: 0.7023 MB / 0.7926 GB, free: 6.801 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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.033863382879645]