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.0009761/0.0009761, 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.001053/0.001053, allocations: 164.7 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.9674/0.9674, 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.68/1.68, 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.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.523e-06/1.523e-06, allocations: 0 / 0.7884 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.27e-05/2.423e-05, allocations: 3.094 kB / 0.7884 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.001935/0.001959, allocations: 0.6043 MB / 0.789 GB, free: 11.6 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0005309/0.00249, allocations: 169 kB / 0.7891 GB, free: 11.44 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.057e-05/0.002501, allocations: 0 / 0.7891 GB, free: 11.44 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 8.156e-06/0.002509, allocations: 0 / 0.7891 GB, free: 11.44 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 3.016e-06/0.002512, allocations: 1.219 kB / 0.7891 GB, free: 11.44 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002074/0.002719, allocations: 51.81 kB / 0.7892 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 3.803e-05/0.002757, allocations: 7.938 kB / 0.7892 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.487e-05/0.002792, allocations: 4.625 kB / 0.7892 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 2.032e-05/0.002812, allocations: 5.344 kB / 0.7892 GB, free: 11.37 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 1.714e-05/0.00283, allocations: 0 / 0.7892 GB, free: 11.37 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 7.544e-06/0.002837, allocations: 0 / 0.7892 GB, free: 11.37 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001167/0.002954, allocations: 47.94 kB / 0.7892 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.012e-05/0.002964, allocations: 8.844 kB / 0.7892 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 9.297e-06/0.002973, allocations: 3.984 kB / 0.7892 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 8.949e-05/0.003063, allocations: 40.56 kB / 0.7893 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.482e-06/0.003064, allocations: 0 / 0.7893 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.11e-07/0.003065, allocations: 4.844 kB / 0.7893 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.377e-06/0.003068, allocations: 0 / 0.7893 GB, free: 11.27 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.0002034/0.003272, allocations: 340.4 kB / 0.7896 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.003307, allocations: 8.688 kB / 0.7896 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.109e-05/0.003329, allocations: 5.625 kB / 0.7896 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.216e-05/0.003381, allocations: 112.6 kB / 0.7897 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.005e-06/0.003389, allocations: 3.781 kB / 0.7897 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.568e-06/0.003393, allocations: 384 / 0.7897 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.174e-05/0.003445, allocations: 34.27 kB / 0.7898 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.49e-06/0.00345, allocations: 192 / 0.7898 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.829e-06/0.003455, allocations: 4.312 kB / 0.7898 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.406e-06/0.003459, allocations: 384 / 0.7898 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.678e-06/0.003468, allocations: 3.938 kB / 0.7898 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.75e-05/0.003536, allocations: 93.27 kB / 0.7899 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 3.28e-05/0.003569, allocations: 27.61 kB / 0.7899 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.107e-05/0.00358, allocations: 12.39 kB / 0.7899 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002847/0.003864, allocations: 71.03 kB / 0.79 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.918e-05/0.003884, allocations: 37.38 kB / 0.79 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 7.82e-07/0.003884, allocations: 0 / 0.79 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 8.689e-05/0.003971, allocations: 35.23 kB / 0.79 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.382e-05/0.003995, allocations: 51.41 kB / 0.7901 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.361e-05/0.004029, allocations: 142.2 kB / 0.7902 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.025e-05/0.004039, allocations: 25.7 kB / 0.7903 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.493e-05/0.004064, allocations: 132.2 kB / 0.7904 GB, free: 10 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.347e-05/0.004087, allocations: 0 / 0.7904 GB, free: 10 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.145e-05/0.004109, allocations: 19.38 kB / 0.7904 GB, free: 9.973 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001004/0.004209, allocations: 0.4883 MB / 0.7909 GB, free: 9.473 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.3e-06/0.004215, allocations: 1.219 kB / 0.7909 GB, free: 9.473 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.3e-06/0.00422, allocations: 3.984 kB / 0.7909 GB, free: 9.469 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.551e-05/0.004245, allocations: 12.22 kB / 0.7909 GB, free: 9.453 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.004247, allocations: 0 / 0.7909 GB, free: 9.453 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.692e-05/0.004284, allocations: 34.17 kB / 0.7909 GB, free: 9.414 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.949e-06/0.004294, allocations: 4.875 kB / 0.7909 GB, free: 9.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.166e-06/0.004297, allocations: 0 / 0.7909 GB, free: 9.41 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.844e-06/0.004305, allocations: 0.8125 kB / 0.7909 GB, free: 9.41 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.479e-05/0.00433, allocations: 4 kB / 0.7909 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.324e-06/0.004332, allocations: 0.5312 kB / 0.7909 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.486e-06/0.00434, allocations: 5.312 kB / 0.7909 GB, free: 9.402 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.05e-06/0.004345, allocations: 4 kB / 0.7909 GB, free: 9.398 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.885e-05/0.004404, allocations: 164.5 kB / 0.7911 GB, free: 9.227 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.246e-06/0.004408, allocations: 1.5 kB / 0.7911 GB, free: 9.227 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.049e-05/0.004458, allocations: 36.7 kB / 0.7911 GB, free: 9.184 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.00446, allocations: 0 / 0.7911 GB, free: 9.184 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.552e-06/0.004461, allocations: 0.75 kB / 0.7911 GB, free: 9.184 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.004463, allocations: 0 / 0.7911 GB, free: 9.184 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.504e-05/0.004518, allocations: 113.7 kB / 0.7912 GB, free: 9.047 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.004521, allocations: 7.922 kB / 0.7912 GB, free: 9.039 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.563e-06/0.004527, allocations: 1.312 kB / 0.7913 GB, free: 9.039 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.72e-07/0.004528, allocations: 0 / 0.7913 GB, free: 9.039 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.437e-06/0.004531, allocations: 0 / 0.7913 GB, free: 9.039 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.02e-07/0.004532, allocations: 0.625 kB / 0.7913 GB, free: 9.039 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.004533, allocations: 0 / 0.7913 GB, free: 9.039 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.52e-05/0.004578, allocations: 69.33 kB / 0.7913 GB, free: 8.949 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.42e-06/0.004583, allocations: 3.984 kB / 0.7913 GB, free: 8.945 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.284e-06/0.004591, allocations: 5.219 kB / 0.7913 GB, free: 8.941 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.427e-06/0.004594, allocations: 0 / 0.7913 GB, free: 8.941 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.708e-06/0.004604, allocations: 4 kB / 0.7913 GB, free: 8.938 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-06/0.004605, allocations: 0.9688 kB / 0.7913 GB, free: 8.938 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.681e-05/0.004632, allocations: 119.2 kB / 0.7914 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.004632, allocations: 0 / 0.7914 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.00013/0.004762, allocations: 14.31 kB / 0.7915 GB, free: 8.809 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.0001378/0.0049, allocations: 126.5 kB / 0.7916 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 4.751e-05/0.004948, allocations: 7.688 kB / 0.7916 GB, free: 8.668 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 9.92e-07/0.004949, allocations: 0 / 0.7916 GB, free: 8.668 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.125e-06/0.004957, allocations: 11.69 kB / 0.7916 GB, free: 8.652 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.504e-05/0.005042, allocations: 3.938 kB / 0.7916 GB, free: 8.648 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002109/0.005253, allocations: 87.94 kB / 0.7917 GB, free: 8.531 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.309e-05/0.005276, allocations: 51.36 kB / 0.7917 GB, free: 8.461 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 7.414e-06/0.005283, allocations: 0.9688 kB / 0.7917 GB, free: 8.461 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.552e-05/0.005309, allocations: 66.2 kB / 0.7918 GB, free: 8.395 MB / 0.7448 GB Notification: Performance of SimCode: time 7.21e-07/0.005309, allocations: 4 kB / 0.7918 GB, free: 8.391 MB / 0.7448 GB Notification: Performance of Templates: time 0.001778/0.007087, allocations: 486.3 kB / 0.7923 GB, free: 7.934 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.772146247792989]