Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.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.002729/0.002729, allocations: 87.69 kB / 20.24 MB, free: 4.188 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.00277/0.00277, allocations: 161.7 kB / 23.55 MB, free: 0.875 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 1.543/1.543, allocations: 177.1 MB / 203.9 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] 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 2.866/2.866, allocations: 359 MB / 0.6048 GB, free: 10.94 MB / 0.573 GB " [Timeout remaining time 177] 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.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J1.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J1.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 4.458e-06/4.458e-06, allocations: 4 kB / 0.7864 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.739e-05/4.185e-05, allocations: 5.781 kB / 0.7864 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.002976/0.003018, allocations: 1.462 MB / 0.7878 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.000606/0.003624, allocations: 245.8 kB / 0.788 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.689e-05/0.003651, allocations: 0 / 0.788 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.311e-05/0.003674, allocations: 0.8438 kB / 0.788 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.599e-05/0.00373, allocations: 7.922 kB / 0.7881 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000413/0.004143, allocations: 60.38 kB / 0.7881 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.994e-05/0.004213, allocations: 24.55 kB / 0.7881 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 7.662e-05/0.00429, allocations: 7.984 kB / 0.7881 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 6.313e-05/0.004353, allocations: 12.89 kB / 0.7882 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.809e-05/0.004391, allocations: 8 kB / 0.7882 GB, free: 11 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.233e-05/0.004403, allocations: 0.6562 kB / 0.7882 GB, free: 11 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001652/0.004569, allocations: 59.88 kB / 0.7882 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.93e-05/0.004588, allocations: 9.172 kB / 0.7882 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.2e-05/0.00461, allocations: 8 kB / 0.7882 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001791/0.004789, allocations: 63.83 kB / 0.7883 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.004792, allocations: 0 / 0.7883 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.142e-06/0.004793, allocations: 5.625 kB / 0.7883 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.004798, allocations: 0 / 0.7883 GB, free: 10.86 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005351/0.005333, allocations: 360.2 kB / 0.7886 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.005372, allocations: 12.03 kB / 0.7887 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.543e-05/0.005427, allocations: 6.109 kB / 0.7887 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001344/0.005562, allocations: 116.6 kB / 0.7888 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.005575, allocations: 384 / 0.7888 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.526e-06/0.005583, allocations: 1.969 kB / 0.7888 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001551/0.005738, allocations: 46.19 kB / 0.7888 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-06/0.005748, allocations: 4.188 kB / 0.7888 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.005756, allocations: 384 / 0.7888 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.00576, allocations: 1.188 kB / 0.7888 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001354/0.005896, allocations: 31.27 kB / 0.7889 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00037/0.006266, allocations: 247.8 kB / 0.7891 GB, free: 9.957 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001238/0.00639, allocations: 39.06 kB / 0.7891 GB, free: 9.906 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.219e-05/0.006462, allocations: 23.73 kB / 0.7892 GB, free: 9.879 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005549/0.007017, allocations: 76.61 kB / 0.7892 GB, free: 9.805 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.49e-05/0.007062, allocations: 43.05 kB / 0.7893 GB, free: 9.754 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.007063, allocations: 0 / 0.7893 GB, free: 9.754 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0003007/0.007363, allocations: 70.34 kB / 0.7893 GB, free: 9.68 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.352e-05/0.007407, allocations: 55.41 kB / 0.7894 GB, free: 9.613 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001302/0.007537, allocations: 157.9 kB / 0.7895 GB, free: 9.441 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.09e-05/0.007558, allocations: 26.23 kB / 0.7896 GB, free: 9.41 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.326e-05/0.007641, allocations: 136.3 kB / 0.7897 GB, free: 9.273 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.782e-05/0.007659, allocations: 7.938 kB / 0.7897 GB, free: 9.266 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.696e-05/0.007706, allocations: 19.38 kB / 0.7897 GB, free: 9.238 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0004881/0.008194, allocations: 496.1 kB / 0.7902 GB, free: 8.742 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.915e-05/0.008253, allocations: 12.48 kB / 0.7902 GB, free: 8.73 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.585e-05/0.008299, allocations: 9.344 kB / 0.7902 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001099/0.008409, allocations: 40.95 kB / 0.7903 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.008411, allocations: 0 / 0.7903 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001501/0.008561, allocations: 49.69 kB / 0.7903 GB, free: 8.625 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.008578, allocations: 12.58 kB / 0.7903 GB, free: 8.613 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.008584, allocations: 5.438 kB / 0.7903 GB, free: 8.609 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.008598, allocations: 0 / 0.7903 GB, free: 8.609 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.453e-05/0.008662, allocations: 4 kB / 0.7903 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.008667, allocations: 0 / 0.7903 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.811e-05/0.008715, allocations: 9.031 kB / 0.7903 GB, free: 8.598 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.049e-06/0.00872, allocations: 0 / 0.7903 GB, free: 8.598 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 (2): * Single equations (assignments): 2 * 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 0.0001209/0.008841, allocations: 161.1 kB / 0.7905 GB, free: 8.43 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.681e-05/0.008868, allocations: 4 kB / 0.7905 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001846/0.009052, allocations: 62.34 kB / 0.7905 GB, free: 8.359 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.009057, allocations: 3.984 kB / 0.7905 GB, free: 8.355 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.00906, allocations: 0 / 0.7905 GB, free: 8.355 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.009063, allocations: 8.688 kB / 0.7906 GB, free: 8.348 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001526/0.009215, allocations: 112.6 kB / 0.7907 GB, free: 8.203 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.009217, allocations: 0.5312 kB / 0.7907 GB, free: 8.203 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.491e-05/0.009261, allocations: 9.359 kB / 0.7907 GB, free: 8.195 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.009263, allocations: 0 / 0.7907 GB, free: 8.195 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.981e-06/0.009269, allocations: 0 / 0.7907 GB, free: 8.195 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.009274, allocations: 3.938 kB / 0.7907 GB, free: 8.191 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.009277, allocations: 5.156 kB / 0.7907 GB, free: 8.188 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002479/0.009525, allocations: 208.6 kB / 0.7909 GB, free: 7.965 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.536e-06/0.009533, allocations: 3.984 kB / 0.7909 GB, free: 7.961 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.132e-05/0.009545, allocations: 0 / 0.7909 GB, free: 7.961 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.423e-05/0.009619, allocations: 8.875 kB / 0.7909 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.407e-05/0.009653, allocations: 0 / 0.7909 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.456e-06/0.009657, allocations: 1.312 kB / 0.7909 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.915e-05/0.009736, allocations: 131.2 kB / 0.791 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.009736, allocations: 0 / 0.791 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002331/0.009969, allocations: 16 kB / 0.791 GB, free: 7.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 (2): * Single equations (assignments): 2 * 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.0002119/0.01018, allocations: 118.5 kB / 0.7911 GB, free: 7.688 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001699/0.01035, allocations: 31.67 kB / 0.7912 GB, free: 7.652 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.01035, allocations: 3.438 kB / 0.7912 GB, free: 7.652 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.54e-05/0.01043, allocations: 27.61 kB / 0.7912 GB, free: 7.621 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000234/0.01066, allocations: 4 kB / 0.7912 GB, free: 7.617 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003185/0.01098, allocations: 122.3 kB / 0.7913 GB, free: 7.469 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.291e-05/0.01104, allocations: 55.36 kB / 0.7914 GB, free: 7.395 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.46e-05/0.01107, allocations: 4 kB / 0.7914 GB, free: 7.391 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.814e-05/0.0111, allocations: 17.33 kB / 0.7914 GB, free: 7.375 MB / 0.7448 GB Notification: Performance of SimCode: time 4.51e-07/0.0111, allocations: 0 / 0.7914 GB, free: 7.375 MB / 0.7448 GB Notification: Performance of Templates: time 0.003739/0.01484, allocations: 0.6971 MB / 0.7921 GB, free: 6.703 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_BesselJ1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.805077790981159]