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.001377/0.001377, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001611/0.001611, allocations: 181 kB / 24.09 MB, free: 420 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.012/1.012, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.783/1.783, allocations: 359 MB / 0.6055 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.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.533e-06/1.533e-06, allocations: 0 / 0.7876 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.308e-05/2.462e-05, allocations: 3.375 kB / 0.7876 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.001255/0.00128, allocations: 0.6058 MB / 0.7882 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0003629/0.001642, allocations: 179.9 kB / 0.7884 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.281e-05/0.001655, allocations: 0.875 kB / 0.7884 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.276e-05/0.001668, allocations: 0 / 0.7884 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.721e-06/0.001674, allocations: 1.156 kB / 0.7884 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002983/0.001972, allocations: 51.78 kB / 0.7884 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 3.239e-05/0.002004, allocations: 3.984 kB / 0.7884 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.211e-05/0.002037, allocations: 9.391 kB / 0.7884 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 2.286e-05/0.002059, allocations: 0 / 0.7884 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 1.718e-05/0.002077, allocations: 3.938 kB / 0.7884 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 8.086e-06/0.002085, allocations: 0 / 0.7884 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001317/0.002216, allocations: 57 kB / 0.7885 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.017e-05/0.002227, allocations: 0 / 0.7885 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 8.616e-06/0.002235, allocations: 0 / 0.7885 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 8.993e-05/0.002325, allocations: 45.42 kB / 0.7885 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.002327, allocations: 4 kB / 0.7885 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.61e-07/0.002328, allocations: 0 / 0.7885 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.936e-06/0.002331, allocations: 0 / 0.7885 GB, free: 11.2 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.0002179/0.002549, allocations: 346 kB / 0.7889 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.002586, allocations: 12.03 kB / 0.7889 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.011e-05/0.002606, allocations: 0.9375 kB / 0.7889 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.99e-05/0.002656, allocations: 113.2 kB / 0.789 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.594e-06/0.002664, allocations: 384 / 0.789 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.801e-06/0.00267, allocations: 5.062 kB / 0.789 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.878e-05/0.002728, allocations: 27.11 kB / 0.789 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.092e-06/0.002734, allocations: 192 / 0.789 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.669e-06/0.002739, allocations: 1.938 kB / 0.789 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.002743, allocations: 384 / 0.789 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.141e-05/0.002754, allocations: 15.81 kB / 0.789 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.739e-05/0.002822, allocations: 89.27 kB / 0.7891 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 2.72e-05/0.002849, allocations: 28.88 kB / 0.7892 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.889e-06/0.002859, allocations: 11.78 kB / 0.7892 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000293/0.003152, allocations: 74.34 kB / 0.7892 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.971e-05/0.003172, allocations: 37.39 kB / 0.7893 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 8.22e-07/0.003172, allocations: 0 / 0.7893 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 8.376e-05/0.003256, allocations: 33.64 kB / 0.7893 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.546e-05/0.003282, allocations: 52.03 kB / 0.7894 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.264e-05/0.003364, allocations: 147 kB / 0.7895 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 7.394e-06/0.003372, allocations: 25.7 kB / 0.7895 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.324e-05/0.003395, allocations: 127.4 kB / 0.7896 GB, free: 9.918 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.16e-05/0.003417, allocations: 0 / 0.7896 GB, free: 9.918 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.134e-05/0.003438, allocations: 17.03 kB / 0.7897 GB, free: 9.895 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.594e-05/0.003534, allocations: 0.4922 MB / 0.7901 GB, free: 9.391 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.33e-06/0.003539, allocations: 0 / 0.7901 GB, free: 9.391 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.45e-06/0.003545, allocations: 0 / 0.7901 GB, free: 9.391 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.67e-05/0.003571, allocations: 17.53 kB / 0.7902 GB, free: 9.371 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.003573, allocations: 3.938 kB / 0.7902 GB, free: 9.367 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.264e-05/0.003606, allocations: 29.7 kB / 0.7902 GB, free: 9.332 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.022e-05/0.003616, allocations: 5.156 kB / 0.7902 GB, free: 9.328 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.176e-06/0.003619, allocations: 0 / 0.7902 GB, free: 9.328 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.946e-06/0.003628, allocations: 4 kB / 0.7902 GB, free: 9.324 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.123e-05/0.003659, allocations: 1.375 kB / 0.7902 GB, free: 9.324 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.997e-06/0.003663, allocations: 3.984 kB / 0.7902 GB, free: 9.32 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.244e-06/0.00367, allocations: 4 kB / 0.7902 GB, free: 9.316 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.126e-06/0.003673, allocations: 0 / 0.7902 GB, free: 9.316 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.159e-05/0.003725, allocations: 162.3 kB / 0.7904 GB, free: 9.148 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.226e-06/0.003728, allocations: 352 / 0.7904 GB, free: 9.148 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.553e-05/0.003774, allocations: 36.64 kB / 0.7904 GB, free: 9.105 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.003775, allocations: 0 / 0.7904 GB, free: 9.105 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-06/0.003776, allocations: 0.9062 kB / 0.7904 GB, free: 9.105 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.646e-06/0.00378, allocations: 0 / 0.7904 GB, free: 9.105 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.343e-05/0.003833, allocations: 112.6 kB / 0.7905 GB, free: 8.973 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.003835, allocations: 3.984 kB / 0.7905 GB, free: 8.969 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.228e-06/0.003839, allocations: 0 / 0.7905 GB, free: 8.969 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-06/0.00384, allocations: 3.938 kB / 0.7905 GB, free: 8.965 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.166e-06/0.003843, allocations: 0 / 0.7905 GB, free: 8.965 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.003845, allocations: 4 kB / 0.7905 GB, free: 8.961 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.003845, allocations: 0 / 0.7905 GB, free: 8.961 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.078e-05/0.003886, allocations: 72.36 kB / 0.7906 GB, free: 8.867 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.607e-06/0.00389, allocations: 4 kB / 0.7906 GB, free: 8.863 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.979e-06/0.003895, allocations: 0.5 kB / 0.7906 GB, free: 8.863 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.976e-06/0.003898, allocations: 5.875 kB / 0.7906 GB, free: 8.859 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.436e-06/0.003906, allocations: 0 / 0.7906 GB, free: 8.859 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.92e-07/0.003907, allocations: 0 / 0.7906 GB, free: 8.859 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.187e-05/0.003939, allocations: 119.2 kB / 0.7907 GB, free: 8.742 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.003939, allocations: 0 / 0.7907 GB, free: 8.742 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001153/0.004055, allocations: 15.94 kB / 0.7907 GB, free: 8.727 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.0001188/0.004173, allocations: 117.5 kB / 0.7908 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 4.403e-05/0.004217, allocations: 17.09 kB / 0.7908 GB, free: 8.586 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.004219, allocations: 0 / 0.7908 GB, free: 8.586 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.59e-06/0.004225, allocations: 8.531 kB / 0.7909 GB, free: 8.574 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.242e-05/0.004307, allocations: 3.938 kB / 0.7909 GB, free: 8.57 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001193/0.004426, allocations: 89.3 kB / 0.7909 GB, free: 8.453 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.478e-05/0.004451, allocations: 55.3 kB / 0.791 GB, free: 8.379 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 7.394e-06/0.004458, allocations: 0 / 0.791 GB, free: 8.379 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.621e-05/0.004485, allocations: 70.8 kB / 0.7911 GB, free: 8.309 MB / 0.7448 GB Notification: Performance of SimCode: time 3.51e-07/0.004485, allocations: 0 / 0.7911 GB, free: 8.309 MB / 0.7448 GB Notification: Performance of Templates: time 0.001697/0.006182, allocations: 499.9 kB / 0.7915 GB, free: 7.844 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.790996226016432]