Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001587/0.001587, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001903/0.001903, allocations: 169 kB / 23.27 MB, free: 1.223 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.9952/0.9952, allocations: 177.2 MB / 203.7 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.517/2.517, allocations: 438.1 MB / 0.682 GB, free: 14.21 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 0.8898 GB, free: 9.727 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.984e-05/2.189e-05, allocations: 5.406 kB / 0.8898 GB, free: 9.723 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.001198/0.00122, allocations: 0.6109 MB / 0.8904 GB, free: 9.113 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0003999/0.001619, allocations: 167.5 kB / 0.8906 GB, free: 8.949 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.504e-05/0.001635, allocations: 4 kB / 0.8906 GB, free: 8.945 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.507e-05/0.00165, allocations: 0 / 0.8906 GB, free: 8.945 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 6.843e-06/0.001656, allocations: 3.938 kB / 0.8906 GB, free: 8.941 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003252/0.001982, allocations: 55.75 kB / 0.8906 GB, free: 8.887 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 3.507e-05/0.002017, allocations: 0 / 0.8906 GB, free: 8.887 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.312e-05/0.00205, allocations: 4 kB / 0.8906 GB, free: 8.883 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 2.622e-05/0.002076, allocations: 3.984 kB / 0.8906 GB, free: 8.879 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 2.15e-05/0.002098, allocations: 0 / 0.8906 GB, free: 8.879 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 8.476e-06/0.002106, allocations: 0 / 0.8906 GB, free: 8.879 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001395/0.002246, allocations: 59.88 kB / 0.8907 GB, free: 8.82 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.166e-05/0.002257, allocations: 4 kB / 0.8907 GB, free: 8.816 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 9.147e-06/0.002266, allocations: 0 / 0.8907 GB, free: 8.816 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001021/0.002368, allocations: 47.8 kB / 0.8907 GB, free: 8.77 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.663e-06/0.00237, allocations: 0 / 0.8907 GB, free: 8.77 MB / 0.8542 GB Notification: Performance of FrontEnd: time 4.71e-07/0.002371, allocations: 0 / 0.8907 GB, free: 8.77 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.002375, allocations: 4 kB / 0.8907 GB, free: 8.766 MB / 0.8542 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.0002112/0.002587, allocations: 344.4 kB / 0.8911 GB, free: 8.391 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.002623, allocations: 12.62 kB / 0.8911 GB, free: 8.379 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.131e-05/0.002644, allocations: 1.281 kB / 0.8911 GB, free: 8.379 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.994e-05/0.002694, allocations: 104.6 kB / 0.8912 GB, free: 8.25 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.296e-06/0.002703, allocations: 384 / 0.8912 GB, free: 8.25 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.591e-06/0.002708, allocations: 4.375 kB / 0.8912 GB, free: 8.246 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.495e-05/0.002763, allocations: 38.2 kB / 0.8912 GB, free: 8.203 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.759e-06/0.002768, allocations: 192 / 0.8912 GB, free: 8.203 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.33e-06/0.002773, allocations: 384 / 0.8912 GB, free: 8.203 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.002777, allocations: 384 / 0.8912 GB, free: 8.203 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.687e-06/0.002786, allocations: 3.938 kB / 0.8912 GB, free: 8.199 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.35e-05/0.002859, allocations: 93.27 kB / 0.8913 GB, free: 8.082 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 2.898e-05/0.002888, allocations: 31.05 kB / 0.8913 GB, free: 8.039 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.158e-05/0.0029, allocations: 11.78 kB / 0.8914 GB, free: 8.023 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000297/0.003197, allocations: 67.92 kB / 0.8914 GB, free: 7.957 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.146e-05/0.003218, allocations: 41.33 kB / 0.8915 GB, free: 7.906 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=1): time 1.312e-06/0.00322, allocations: 0 / 0.8915 GB, free: 7.906 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1): time 9.184e-05/0.003312, allocations: 33.66 kB / 0.8915 GB, free: 7.867 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.423e-05/0.003336, allocations: 55.41 kB / 0.8915 GB, free: 7.801 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.546e-05/0.003371, allocations: 142.2 kB / 0.8917 GB, free: 7.648 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 7.504e-06/0.003379, allocations: 25.83 kB / 0.8917 GB, free: 7.617 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 2.624e-05/0.003405, allocations: 130.9 kB / 0.8918 GB, free: 7.484 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.516e-05/0.00343, allocations: 0 / 0.8918 GB, free: 7.484 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.155e-05/0.003452, allocations: 19.38 kB / 0.8918 GB, free: 7.457 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002564/0.003708, allocations: 0.4922 MB / 0.8923 GB, free: 6.953 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.362e-06/0.003714, allocations: 0 / 0.8923 GB, free: 6.953 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.668e-06/0.003719, allocations: 0 / 0.8923 GB, free: 6.953 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.303e-05/0.003742, allocations: 15.62 kB / 0.8923 GB, free: 6.934 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.003744, allocations: 0 / 0.8923 GB, free: 6.934 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.602e-05/0.00378, allocations: 33.7 kB / 0.8924 GB, free: 6.895 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.003791, allocations: 8.094 kB / 0.8924 GB, free: 6.887 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.003795, allocations: 7.938 kB / 0.8924 GB, free: 6.879 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.003808, allocations: 0 / 0.8924 GB, free: 6.879 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3e-05/0.003838, allocations: 0 / 0.8924 GB, free: 6.879 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.026e-06/0.003841, allocations: 0 / 0.8924 GB, free: 6.879 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.286e-06/0.003849, allocations: 7.922 kB / 0.8924 GB, free: 6.871 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/0.003855, allocations: 4 kB / 0.8924 GB, free: 6.867 MB / 0.8542 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.801e-05/0.003913, allocations: 156.5 kB / 0.8925 GB, free: 6.703 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.866e-06/0.003915, allocations: 0 / 0.8925 GB, free: 6.703 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.07e-05/0.003966, allocations: 36.64 kB / 0.8926 GB, free: 6.66 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.003968, allocations: 4.031 kB / 0.8926 GB, free: 6.656 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.003969, allocations: 0 / 0.8926 GB, free: 6.656 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.003972, allocations: 0 / 0.8926 GB, free: 6.656 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.31e-05/0.004025, allocations: 101.2 kB / 0.8927 GB, free: 6.531 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.004026, allocations: 0 / 0.8927 GB, free: 6.531 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.28e-06/0.004031, allocations: 0 / 0.8927 GB, free: 6.531 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.92e-07/0.004032, allocations: 0 / 0.8927 GB, free: 6.531 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.004038, allocations: 8 kB / 0.8927 GB, free: 6.523 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.004039, allocations: 4 kB / 0.8927 GB, free: 6.52 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.00404, allocations: 0 / 0.8927 GB, free: 6.52 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.107e-05/0.004091, allocations: 80.3 kB / 0.8928 GB, free: 6.418 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.149e-06/0.004096, allocations: 4 kB / 0.8928 GB, free: 6.414 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.61e-06/0.004102, allocations: 0 / 0.8928 GB, free: 6.414 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.436e-06/0.004105, allocations: 0 / 0.8928 GB, free: 6.414 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.177e-06/0.004114, allocations: 0 / 0.8928 GB, free: 6.414 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.51e-07/0.004115, allocations: 0 / 0.8928 GB, free: 6.414 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 2.723e-05/0.004142, allocations: 119.2 kB / 0.8929 GB, free: 6.297 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5.1e-08/0.004142, allocations: 4 kB / 0.8929 GB, free: 6.293 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001267/0.004269, allocations: 8 kB / 0.8929 GB, free: 6.285 MB / 0.8542 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.0001397/0.004409, allocations: 123.2 kB / 0.893 GB, free: 6.152 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 5.128e-05/0.00446, allocations: 7.688 kB / 0.893 GB, free: 6.141 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.004463, allocations: 4 kB / 0.893 GB, free: 6.137 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 7.334e-06/0.00447, allocations: 15.62 kB / 0.893 GB, free: 6.117 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.137e-05/0.004562, allocations: 6.281 kB / 0.8931 GB, free: 6.113 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001478/0.00471, allocations: 91.92 kB / 0.8931 GB, free: 5.992 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.686e-05/0.004737, allocations: 51.48 kB / 0.8932 GB, free: 5.922 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 8.717e-06/0.004745, allocations: 7.938 kB / 0.8932 GB, free: 5.914 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.925e-05/0.004774, allocations: 66.2 kB / 0.8933 GB, free: 5.848 MB / 0.8542 GB Notification: Performance of SimCode: time 4.01e-07/0.004775, allocations: 4 kB / 0.8933 GB, free: 5.844 MB / 0.8542 GB Notification: Performance of Templates: time 0.001786/0.006561, allocations: 478.4 kB / 0.8937 GB, free: 5.379 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 5.379137788899243]