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.0009269/0.0009269, allocations: 83.59 kB / 20.45 MB, free: 4.113 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.0009074/0.0009074, allocations: 165 kB / 23.82 MB, free: 0.7422 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.9191/0.9191, allocations: 177.1 MB / 204.2 MB, free: 5.293 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.681/1.681, 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.533e-06/1.533e-06, allocations: 0 / 0.7872 GB, free: 12.4 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.399e-05/1.552e-05, allocations: 3.5 kB / 0.7872 GB, free: 12.4 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.0009842/0.0009997, allocations: 0.597 MB / 0.7877 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0003525/0.001352, allocations: 177.2 kB / 0.7879 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.217e-05/0.001364, allocations: 0 / 0.7879 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.703e-05/0.001381, allocations: 1.031 kB / 0.7879 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.442e-06/0.001388, allocations: 0 / 0.7879 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003401/0.001728, allocations: 52.33 kB / 0.788 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 4.167e-05/0.00177, allocations: 4 kB / 0.788 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.545e-05/0.001805, allocations: 4.672 kB / 0.788 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 2.154e-05/0.001827, allocations: 0 / 0.788 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 1.948e-05/0.001846, allocations: 0.9062 kB / 0.788 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 9.247e-06/0.001855, allocations: 0 / 0.788 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001343/0.00199, allocations: 56.55 kB / 0.788 GB, free: 11.53 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.202e-05/0.002002, allocations: 3.984 kB / 0.788 GB, free: 11.53 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.327e-05/0.002015, allocations: 1.594 kB / 0.788 GB, free: 11.53 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001003/0.002115, allocations: 43.81 kB / 0.7881 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.002118, allocations: 4 kB / 0.7881 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.02e-07/0.002119, allocations: 0 / 0.7881 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.002123, allocations: 3.531 kB / 0.7881 GB, free: 11.48 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.000225/0.002348, allocations: 344.4 kB / 0.7884 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.002382, allocations: 12.03 kB / 0.7884 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.153e-05/0.002413, allocations: 0.9375 kB / 0.7884 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.23e-05/0.002465, allocations: 104.6 kB / 0.7885 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.002478, allocations: 384 / 0.7885 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.124e-05/0.002489, allocations: 4.375 kB / 0.7885 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.473e-05/0.002564, allocations: 30.27 kB / 0.7886 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.151e-06/0.00257, allocations: 192 / 0.7886 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.346e-06/0.002578, allocations: 1.094 kB / 0.7886 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.834e-06/0.002586, allocations: 4.125 kB / 0.7886 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.324e-05/0.002599, allocations: 9.594 kB / 0.7886 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.178e-05/0.002691, allocations: 112.6 kB / 0.7887 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 3.548e-05/0.002727, allocations: 23.67 kB / 0.7887 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.295e-05/0.00274, allocations: 11.78 kB / 0.7887 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000336/0.003076, allocations: 74.36 kB / 0.7888 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.951e-05/0.003095, allocations: 37.39 kB / 0.7888 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 7.22e-07/0.003096, allocations: 0.5312 kB / 0.7888 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.0001129/0.003209, allocations: 38.47 kB / 0.7889 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.685e-05/0.003236, allocations: 51.41 kB / 0.7889 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.465e-05/0.00327, allocations: 147.1 kB / 0.789 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.458e-06/0.00328, allocations: 25.7 kB / 0.7891 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.442e-05/0.003304, allocations: 127.9 kB / 0.7892 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.567e-05/0.00333, allocations: 8 kB / 0.7892 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.996e-05/0.00335, allocations: 15.38 kB / 0.7892 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.003455, allocations: 493.5 kB / 0.7897 GB, free: 9.66 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.518e-06/0.003464, allocations: 4 kB / 0.7897 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.29e-06/0.00347, allocations: 0 / 0.7897 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.459e-05/0.003494, allocations: 8.219 kB / 0.7897 GB, free: 9.645 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.003496, allocations: 4.562 kB / 0.7897 GB, free: 9.641 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.776e-05/0.003534, allocations: 42.44 kB / 0.7897 GB, free: 9.594 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.019e-05/0.003544, allocations: 4 kB / 0.7897 GB, free: 9.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.003549, allocations: 1.125 kB / 0.7897 GB, free: 9.59 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.478e-06/0.003558, allocations: 0 / 0.7897 GB, free: 9.59 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.738e-05/0.003595, allocations: 4 kB / 0.7897 GB, free: 9.586 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.0036, allocations: 0.9375 kB / 0.7897 GB, free: 9.586 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.206e-06/0.003608, allocations: 7.875 kB / 0.7898 GB, free: 9.578 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.389e-06/0.003612, allocations: 0 / 0.7898 GB, free: 9.578 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.182e-05/0.003664, allocations: 158.2 kB / 0.7899 GB, free: 9.414 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.755e-06/0.003667, allocations: 0 / 0.7899 GB, free: 9.414 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.458e-05/0.003722, allocations: 40.97 kB / 0.7899 GB, free: 9.367 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.21e-07/0.003722, allocations: 0.5938 kB / 0.7899 GB, free: 9.367 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.003725, allocations: 0 / 0.7899 GB, free: 9.367 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.003728, allocations: 4.625 kB / 0.79 GB, free: 9.363 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.92e-05/0.003777, allocations: 116.6 kB / 0.7901 GB, free: 9.215 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.003779, allocations: 4.641 kB / 0.7901 GB, free: 9.211 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.141e-06/0.003785, allocations: 5.016 kB / 0.7901 GB, free: 9.207 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.02e-07/0.003786, allocations: 0 / 0.7901 GB, free: 9.207 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.86e-06/0.00379, allocations: 0 / 0.7901 GB, free: 9.207 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.51e-07/0.003791, allocations: 0.5312 kB / 0.7901 GB, free: 9.207 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.003793, allocations: 4 kB / 0.7901 GB, free: 9.203 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.673e-05/0.003839, allocations: 77.09 kB / 0.7902 GB, free: 9.105 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.457e-06/0.003843, allocations: 0.9375 kB / 0.7902 GB, free: 9.105 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.859e-06/0.003853, allocations: 7.984 kB / 0.7902 GB, free: 9.098 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.336e-06/0.003856, allocations: 0 / 0.7902 GB, free: 9.098 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.284e-05/0.003869, allocations: 1.219 kB / 0.7902 GB, free: 9.098 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-06/0.00387, allocations: 0 / 0.7902 GB, free: 9.098 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.314e-05/0.003893, allocations: 123.1 kB / 0.7903 GB, free: 8.977 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.003893, allocations: 0.8438 kB / 0.7903 GB, free: 8.977 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001249/0.004018, allocations: 19.94 kB / 0.7903 GB, free: 8.957 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.0001311/0.004149, allocations: 121.4 kB / 0.7904 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 5.998e-05/0.004209, allocations: 10.66 kB / 0.7904 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.004211, allocations: 0 / 0.7904 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.089e-06/0.004216, allocations: 11.69 kB / 0.7904 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.416e-05/0.0043, allocations: 0 / 0.7904 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001645/0.004465, allocations: 86.67 kB / 0.7905 GB, free: 8.691 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.662e-05/0.004491, allocations: 55.34 kB / 0.7906 GB, free: 8.617 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 8.346e-06/0.0045, allocations: 1.406 kB / 0.7906 GB, free: 8.617 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.309e-05/0.004513, allocations: 8.5 kB / 0.7906 GB, free: 8.609 MB / 0.7448 GB Notification: Performance of SimCode: time 5.51e-07/0.004513, allocations: 4 kB / 0.7906 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of Templates: time 0.001976/0.006489, allocations: 469.3 kB / 0.791 GB, free: 8.164 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: 4.638594884891063]