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.001351/0.001351, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001578/0.001578, allocations: 166.2 kB / 24.87 MB, free: 8.891 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.9818/0.9818, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.782/1.782, allocations: 359 MB / 0.6063 GB, free: 10.88 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.473e-06/1.473e-06, allocations: 0 / 0.7883 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.615e-05/2.762e-05, allocations: 2.312 kB / 0.7883 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.002687/0.002715, allocations: 1.496 MB / 0.7898 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0005362/0.003251, allocations: 243.8 kB / 0.79 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.166e-05/0.003283, allocations: 0.625 kB / 0.79 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.884e-05/0.003311, allocations: 0 / 0.79 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.936e-05/0.003361, allocations: 4.812 kB / 0.79 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003809/0.003742, allocations: 64.91 kB / 0.7901 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.245e-05/0.003804, allocations: 19.92 kB / 0.7901 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.295e-05/0.003887, allocations: 8 kB / 0.7901 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 5.711e-05/0.003944, allocations: 17.33 kB / 0.7901 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.852e-05/0.003983, allocations: 11.97 kB / 0.7901 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.174e-05/0.003994, allocations: 0 / 0.7901 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001486/0.004143, allocations: 51.95 kB / 0.7902 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.591e-05/0.004159, allocations: 9.047 kB / 0.7902 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.452e-05/0.004173, allocations: 7.938 kB / 0.7902 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001483/0.004322, allocations: 63.78 kB / 0.7903 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.004324, allocations: 1.562 kB / 0.7903 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.042e-06/0.004326, allocations: 0 / 0.7903 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.018e-06/0.00433, allocations: 0 / 0.7903 GB, free: 10.23 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.0003467/0.004676, allocations: 360.6 kB / 0.7906 GB, free: 9.84 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.00471, allocations: 8.656 kB / 0.7906 GB, free: 9.832 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.079e-05/0.004741, allocations: 8.891 kB / 0.7906 GB, free: 9.824 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.659e-05/0.004827, allocations: 110.3 kB / 0.7907 GB, free: 9.691 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.004839, allocations: 8.375 kB / 0.7907 GB, free: 9.684 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.151e-06/0.004845, allocations: 384 / 0.7907 GB, free: 9.684 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001134/0.004959, allocations: 54.94 kB / 0.7908 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.004967, allocations: 0.875 kB / 0.7908 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.161e-06/0.004973, allocations: 384 / 0.7908 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.004978, allocations: 5.156 kB / 0.7908 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.297e-05/0.005001, allocations: 7.938 kB / 0.7908 GB, free: 9.609 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002425/0.005244, allocations: 230 kB / 0.791 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.928e-05/0.005303, allocations: 35.05 kB / 0.791 GB, free: 9.312 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.069e-05/0.005324, allocations: 7.688 kB / 0.7911 GB, free: 9.301 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003733/0.005697, allocations: 76.23 kB / 0.7911 GB, free: 9.23 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.731e-05/0.005734, allocations: 45.27 kB / 0.7912 GB, free: 9.176 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.824e-06/0.005736, allocations: 0 / 0.7912 GB, free: 9.176 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001382/0.005874, allocations: 49.56 kB / 0.7912 GB, free: 9.121 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.382e-05/0.005908, allocations: 51.41 kB / 0.7913 GB, free: 9.059 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.332e-05/0.005981, allocations: 153.9 kB / 0.7914 GB, free: 8.891 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.009e-05/0.005992, allocations: 26.2 kB / 0.7914 GB, free: 8.859 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.807e-05/0.00604, allocations: 131.6 kB / 0.7916 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.159e-05/0.006061, allocations: 19.88 kB / 0.7916 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.162e-05/0.006093, allocations: 15.91 kB / 0.7916 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.006221, allocations: 497.8 kB / 0.7921 GB, free: 8.188 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.095e-05/0.006232, allocations: 0 / 0.7921 GB, free: 8.188 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.124e-05/0.006243, allocations: 3.938 kB / 0.7921 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.677e-05/0.00627, allocations: 11.69 kB / 0.7921 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.006271, allocations: 0.5312 kB / 0.7921 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.964e-05/0.006341, allocations: 43 kB / 0.7921 GB, free: 8.121 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.006355, allocations: 8 kB / 0.7921 GB, free: 8.113 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.006359, allocations: 0 / 0.7921 GB, free: 8.113 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.006371, allocations: 5.094 kB / 0.7921 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.094e-05/0.006432, allocations: 8 kB / 0.7921 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.204e-06/0.006434, allocations: 0 / 0.7921 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.45e-05/0.006459, allocations: 9.359 kB / 0.7922 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-06/0.006463, allocations: 0 / 0.7922 GB, free: 8.094 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.022e-05/0.006533, allocations: 156.5 kB / 0.7923 GB, free: 7.93 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.314e-05/0.006557, allocations: 5.75 kB / 0.7923 GB, free: 7.926 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.069e-05/0.006637, allocations: 45 kB / 0.7924 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.00664, allocations: 3.938 kB / 0.7924 GB, free: 7.871 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-06/0.006642, allocations: 0 / 0.7924 GB, free: 7.871 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.006645, allocations: 0.8125 kB / 0.7924 GB, free: 7.871 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001243/0.006769, allocations: 101.2 kB / 0.7925 GB, free: 7.746 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.00677, allocations: 1.625 kB / 0.7925 GB, free: 7.746 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.575e-05/0.006806, allocations: 4 kB / 0.7925 GB, free: 7.742 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.006808, allocations: 0 / 0.7925 GB, free: 7.742 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.298e-06/0.006812, allocations: 0 / 0.7925 GB, free: 7.742 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.41e-07/0.006813, allocations: 0 / 0.7925 GB, free: 7.742 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.215e-06/0.006815, allocations: 4.906 kB / 0.7925 GB, free: 7.738 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001087/0.006924, allocations: 199.2 kB / 0.7927 GB, free: 7.527 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.581e-06/0.006929, allocations: 3.938 kB / 0.7927 GB, free: 7.523 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.968e-06/0.006939, allocations: 4 kB / 0.7927 GB, free: 7.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.901e-05/0.006988, allocations: 0 / 0.7927 GB, free: 7.52 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.908e-05/0.007017, allocations: 3.984 kB / 0.7927 GB, free: 7.516 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.503e-06/0.007024, allocations: 7.938 kB / 0.7927 GB, free: 7.508 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.937e-05/0.007063, allocations: 119.2 kB / 0.7928 GB, free: 7.391 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.007063, allocations: 0 / 0.7928 GB, free: 7.391 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002741/0.007337, allocations: 19.94 kB / 0.7928 GB, free: 7.371 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.0001824/0.00752, allocations: 117.7 kB / 0.7929 GB, free: 7.25 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 6.766e-05/0.007587, allocations: 13.91 kB / 0.7929 GB, free: 7.234 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.007589, allocations: 4 kB / 0.7929 GB, free: 7.23 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.024e-05/0.00761, allocations: 19.59 kB / 0.793 GB, free: 7.207 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002678/0.007877, allocations: 4 kB / 0.793 GB, free: 7.203 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002381/0.008115, allocations: 115.2 kB / 0.7931 GB, free: 7.062 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.816e-05/0.008154, allocations: 55.3 kB / 0.7931 GB, free: 6.988 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.926e-05/0.008173, allocations: 0.8438 kB / 0.7931 GB, free: 6.988 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.999e-05/0.008223, allocations: 71.48 kB / 0.7932 GB, free: 6.918 MB / 0.7448 GB Notification: Performance of SimCode: time 8.82e-07/0.008224, allocations: 0 / 0.7932 GB, free: 6.918 MB / 0.7448 GB Notification: Performance of Templates: time 0.002955/0.01118, allocations: 0.7907 MB / 0.794 GB, free: 6.148 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.055536260828376]