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.001309/0.001309, allocations: 81.86 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.001448/0.001448, allocations: 185 kB / 24.09 MB, free: 416 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 0.8888/0.8888, allocations: 177.1 MB / 204.5 MB, free: 5.523 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.798/1.798, allocations: 359 MB / 0.6055 GB, free: 10.86 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.383e-06/1.383e-06, allocations: 0 / 0.7876 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.071e-05/2.209e-05, allocations: 4.703 kB / 0.7876 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.001038/0.00106, allocations: 0.6017 MB / 0.7882 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0003247/0.001385, allocations: 168.9 kB / 0.7884 GB, free: 11.37 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.377e-05/0.001399, allocations: 0 / 0.7884 GB, free: 11.37 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.442e-05/0.001413, allocations: 0.9688 kB / 0.7884 GB, free: 11.37 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.101e-06/0.001419, allocations: 0 / 0.7884 GB, free: 11.37 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002909/0.00171, allocations: 54.66 kB / 0.7884 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 2.897e-05/0.001739, allocations: 0 / 0.7884 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.253e-05/0.001771, allocations: 7.984 kB / 0.7884 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 2.353e-05/0.001795, allocations: 3.984 kB / 0.7884 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 1.854e-05/0.001814, allocations: 0 / 0.7884 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 7.705e-06/0.001821, allocations: 0 / 0.7884 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001304/0.001952, allocations: 51.95 kB / 0.7885 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.124e-05/0.001963, allocations: 0 / 0.7885 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 8.265e-06/0.001971, allocations: 1.281 kB / 0.7885 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 9.655e-05/0.002068, allocations: 51.8 kB / 0.7885 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.002069, allocations: 0 / 0.7885 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.21e-07/0.00207, allocations: 0 / 0.7885 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.988e-06/0.002074, allocations: 0.5938 kB / 0.7885 GB, free: 11.21 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.0002301/0.002304, allocations: 345.4 kB / 0.7889 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.002339, allocations: 12.03 kB / 0.7889 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.098e-05/0.00236, allocations: 4.875 kB / 0.7889 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5e-05/0.00241, allocations: 105.2 kB / 0.789 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.795e-06/0.002418, allocations: 384 / 0.789 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.857e-06/0.002422, allocations: 1.906 kB / 0.789 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.412e-05/0.002476, allocations: 30.27 kB / 0.789 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.002482, allocations: 192 / 0.789 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.899e-06/0.002487, allocations: 1.688 kB / 0.789 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.002492, allocations: 384 / 0.789 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.737e-06/0.0025, allocations: 3.938 kB / 0.789 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.33e-05/0.002574, allocations: 105.2 kB / 0.7891 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 2.775e-05/0.002602, allocations: 26.05 kB / 0.7891 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.279e-05/0.002614, allocations: 15.77 kB / 0.7891 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002735/0.002888, allocations: 68.45 kB / 0.7892 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.807e-05/0.002906, allocations: 34.11 kB / 0.7892 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 1.753e-06/0.002908, allocations: 0.5312 kB / 0.7892 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 8.67e-05/0.002994, allocations: 35.23 kB / 0.7893 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.282e-05/0.003017, allocations: 55.41 kB / 0.7893 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.407e-05/0.003051, allocations: 142.2 kB / 0.7895 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 7.625e-06/0.003059, allocations: 25.7 kB / 0.7895 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.633e-05/0.003085, allocations: 127.5 kB / 0.7896 GB, free: 9.938 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.304e-05/0.003108, allocations: 0 / 0.7896 GB, free: 9.938 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.273e-05/0.003131, allocations: 20.06 kB / 0.7896 GB, free: 9.91 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.003236, allocations: 0.4922 MB / 0.7901 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.739e-06/0.003241, allocations: 0.6875 kB / 0.7901 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.989e-06/0.003246, allocations: 0.8125 kB / 0.7901 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.027e-05/0.003266, allocations: 11.69 kB / 0.7901 GB, free: 9.391 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.003269, allocations: 5.375 kB / 0.7901 GB, free: 9.387 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.226e-05/0.003302, allocations: 33.64 kB / 0.7902 GB, free: 9.348 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.517e-06/0.003311, allocations: 4 kB / 0.7902 GB, free: 9.344 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.467e-06/0.003315, allocations: 5.812 kB / 0.7902 GB, free: 9.34 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.358e-06/0.003324, allocations: 0 / 0.7902 GB, free: 9.34 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.814e-05/0.003352, allocations: 3.984 kB / 0.7902 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.765e-06/0.003355, allocations: 0 / 0.7902 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.146e-06/0.003363, allocations: 3.938 kB / 0.7902 GB, free: 9.332 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.269e-06/0.003368, allocations: 4.594 kB / 0.7902 GB, free: 9.328 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.282e-05/0.003421, allocations: 157.3 kB / 0.7903 GB, free: 9.164 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.755e-06/0.003424, allocations: 4.281 kB / 0.7903 GB, free: 9.16 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.566e-05/0.003469, allocations: 41.53 kB / 0.7904 GB, free: 9.113 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.003471, allocations: 1.812 kB / 0.7904 GB, free: 9.113 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/0.003473, allocations: 7.922 kB / 0.7904 GB, free: 9.105 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.003476, allocations: 0 / 0.7904 GB, free: 9.105 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.076e-05/0.003527, allocations: 101.2 kB / 0.7905 GB, free: 8.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.21e-07/0.003527, allocations: 0 / 0.7905 GB, free: 8.98 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.067e-06/0.003531, allocations: 0.8125 kB / 0.7905 GB, free: 8.98 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-06/0.003532, allocations: 0 / 0.7905 GB, free: 8.98 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.427e-06/0.003536, allocations: 6.344 kB / 0.7905 GB, free: 8.977 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.81e-07/0.003536, allocations: 0 / 0.7905 GB, free: 8.977 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-07/0.003537, allocations: 0 / 0.7905 GB, free: 8.977 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.219e-05/0.003579, allocations: 68.38 kB / 0.7906 GB, free: 8.887 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.917e-06/0.003583, allocations: 4 kB / 0.7906 GB, free: 8.883 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.3e-06/0.003588, allocations: 0 / 0.7906 GB, free: 8.883 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.196e-06/0.003591, allocations: 2 kB / 0.7906 GB, free: 8.883 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.735e-06/0.003599, allocations: 0 / 0.7906 GB, free: 8.883 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.62e-07/0.0036, allocations: 0 / 0.7906 GB, free: 8.883 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.622e-05/0.003626, allocations: 119.2 kB / 0.7907 GB, free: 8.766 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5.1e-08/0.003626, allocations: 0 / 0.7907 GB, free: 8.766 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001175/0.003744, allocations: 15.94 kB / 0.7907 GB, free: 8.75 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.0001253/0.003869, allocations: 129.5 kB / 0.7908 GB, free: 8.617 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 4.528e-05/0.003914, allocations: 12.84 kB / 0.7908 GB, free: 8.602 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.082e-06/0.003915, allocations: 0 / 0.7908 GB, free: 8.602 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.302e-06/0.003922, allocations: 8.188 kB / 0.7908 GB, free: 8.59 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.934e-05/0.004001, allocations: 4.594 kB / 0.7908 GB, free: 8.586 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001205/0.004121, allocations: 88.78 kB / 0.7909 GB, free: 8.469 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.346e-05/0.004145, allocations: 51.36 kB / 0.791 GB, free: 8.398 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 7.845e-06/0.004153, allocations: 0 / 0.791 GB, free: 8.398 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.584e-05/0.004179, allocations: 73.73 kB / 0.791 GB, free: 8.328 MB / 0.7448 GB Notification: Performance of SimCode: time 3.41e-07/0.004179, allocations: 0 / 0.791 GB, free: 8.328 MB / 0.7448 GB Notification: Performance of Templates: time 0.001762/0.005941, allocations: 486.8 kB / 0.7915 GB, free: 7.863 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.64993270020932]