Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009009/0.0009009, allocations: 80.53 kB / 19.93 MB, free: 4.609 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.0009936/0.0009936, allocations: 181.2 kB / 23.22 MB, free: 1.32 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.9421/0.9421, allocations: 177.1 MB / 203.5 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.77/1.77, allocations: 377.8 MB / 0.6228 GB, free: 8.648 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Utilities.Math.Functions.Examples.BesselJ0") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 0.9822 GB, free: 2.023 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.971e-05/3.188e-05, allocations: 6.281 kB / 0.9822 GB, free: 2.016 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.001205/0.001237, allocations: 0.5977 MB / 0.9828 GB, free: 1.422 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0004318/0.001668, allocations: 167.4 kB / 0.983 GB, free: 1.258 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.794e-05/0.001686, allocations: 0 / 0.983 GB, free: 1.258 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 1.867e-05/0.001705, allocations: 0 / 0.983 GB, free: 1.258 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 7.444e-06/0.001712, allocations: 0 / 0.983 GB, free: 1.258 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004348/0.002147, allocations: 55.7 kB / 0.983 GB, free: 1.203 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 5.336e-05/0.002201, allocations: 3.984 kB / 0.983 GB, free: 1.199 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 4.707e-05/0.002248, allocations: 4 kB / 0.9831 GB, free: 1.195 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 2.835e-05/0.002276, allocations: 0 / 0.9831 GB, free: 1.195 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 2.715e-05/0.002303, allocations: 0 / 0.9831 GB, free: 1.195 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.133e-05/0.002315, allocations: 0 / 0.9831 GB, free: 1.195 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001658/0.00248, allocations: 55.89 kB / 0.9831 GB, free: 1.141 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.522e-05/0.002496, allocations: 4 kB / 0.9831 GB, free: 1.137 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.699e-05/0.002513, allocations: 0 / 0.9831 GB, free: 1.137 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001371/0.00265, allocations: 43.92 kB / 0.9832 GB, free: 1.094 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.834e-06/0.002651, allocations: 0 / 0.9832 GB, free: 1.094 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.433e-06/0.002653, allocations: 0 / 0.9832 GB, free: 1.094 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.002658, allocations: 0 / 0.9832 GB, free: 1.094 MB / 0.9323 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.0003021/0.00296, allocations: 250.3 kB / 0.9834 GB, free: 0.8164 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/0.003009, allocations: 8.031 kB / 0.9834 GB, free: 0.8086 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.028e-05/0.003049, allocations: 4.938 kB / 0.9834 GB, free: 0.8047 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.368e-05/0.003123, allocations: 105.8 kB / 0.9835 GB, free: 0.6758 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.003135, allocations: 384 / 0.9835 GB, free: 0.6758 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.288e-06/0.003145, allocations: 4.375 kB / 0.9835 GB, free: 0.6719 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001076/0.003252, allocations: 30.27 kB / 0.9835 GB, free: 0.6367 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.003262, allocations: 192 / 0.9835 GB, free: 0.6367 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.003274, allocations: 4.312 kB / 0.9835 GB, free: 0.6328 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.003279, allocations: 384 / 0.9835 GB, free: 0.6328 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.594e-05/0.003305, allocations: 7.922 kB / 0.9835 GB, free: 0.625 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001335/0.003439, allocations: 101.3 kB / 0.9836 GB, free: 0.4961 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 4.57e-05/0.003484, allocations: 14.58 kB / 0.9837 GB, free: 484 kB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.735e-05/0.003502, allocations: 12.95 kB / 0.9837 GB, free: 468 kB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004323/0.003934, allocations: 71.92 kB / 0.9837 GB, free: 396 kB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.555e-05/0.00396, allocations: 34.5 kB / 0.9838 GB, free: 352 kB / 0.9323 GB Notification: Performance of pre-optimization done (n=1): time 1.153e-06/0.003961, allocations: 0 / 0.9838 GB, free: 352 kB / 0.9323 GB Notification: Performance of matching and sorting (n=1): time 0.000159/0.00412, allocations: 45.62 kB / 0.9838 GB, free: 300 kB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.854e-05/0.004158, allocations: 51.41 kB / 0.9839 GB, free: 236 kB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.4e-05/0.004192, allocations: 89.86 kB / 0.984 GB, free: 136 kB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 1.166e-05/0.004204, allocations: 29.83 kB / 0.984 GB, free: 100 kB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 3.246e-05/0.004236, allocations: 80.14 kB / 0.9841 GB, free: 16 kB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 3.044e-05/0.004267, allocations: 0 / 0.9841 GB, free: 16 kB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.401e-05/0.004301, allocations: 13.72 kB / 0.9841 GB, free: 16 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.938e-05/0.00439, allocations: 318.8 kB / 0.9844 GB, free: 15.68 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.879e-06/0.0044, allocations: 0 / 0.9844 GB, free: 15.68 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.553e-06/0.004407, allocations: 4 kB / 0.9844 GB, free: 15.67 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.687e-05/0.004434, allocations: 12.78 kB / 0.9844 GB, free: 15.66 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.004436, allocations: 0 / 0.9844 GB, free: 15.66 MB / 0.948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.666e-05/0.004482, allocations: 33.8 kB / 0.9844 GB, free: 15.62 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.004497, allocations: 8 kB / 0.9844 GB, free: 15.61 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/0.004505, allocations: 0 / 0.9844 GB, free: 15.61 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/0.004525, allocations: 0 / 0.9844 GB, free: 15.61 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.601e-05/0.004571, allocations: 4 kB / 0.9844 GB, free: 15.61 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.992e-06/0.004577, allocations: 0 / 0.9844 GB, free: 15.61 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.218e-06/0.004586, allocations: 3.938 kB / 0.9844 GB, free: 15.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.631e-06/0.004592, allocations: 3.938 kB / 0.9844 GB, free: 15.6 MB / 0.948 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 6.336e-05/0.004655, allocations: 109.8 kB / 0.9845 GB, free: 15.48 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.265e-06/0.004663, allocations: 11.97 kB / 0.9846 GB, free: 15.47 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.143e-05/0.004735, allocations: 40.64 kB / 0.9846 GB, free: 15.43 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.004737, allocations: 0 / 0.9846 GB, free: 15.43 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.004742, allocations: 0 / 0.9846 GB, free: 15.43 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.004745, allocations: 0 / 0.9846 GB, free: 15.43 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.943e-05/0.004814, allocations: 105.2 kB / 0.9847 GB, free: 15.29 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.004816, allocations: 0 / 0.9847 GB, free: 15.29 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.808e-06/0.004826, allocations: 8 kB / 0.9847 GB, free: 15.29 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.004827, allocations: 0 / 0.9847 GB, free: 15.29 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.004834, allocations: 0 / 0.9847 GB, free: 15.29 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.71e-07/0.004834, allocations: 0 / 0.9847 GB, free: 15.29 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.004835, allocations: 0 / 0.9847 GB, free: 15.29 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.619e-05/0.004881, allocations: 65.11 kB / 0.9848 GB, free: 15.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.743e-06/0.004888, allocations: 3.984 kB / 0.9848 GB, free: 15.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.277e-06/0.004897, allocations: 0 / 0.9848 GB, free: 15.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.243e-06/0.004904, allocations: 7.938 kB / 0.9848 GB, free: 15.19 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.839e-05/0.004923, allocations: 0 / 0.9848 GB, free: 15.19 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.362e-06/0.004924, allocations: 0 / 0.9848 GB, free: 15.19 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.551e-05/0.00495, allocations: 75.28 kB / 0.9848 GB, free: 15.12 MB / 0.948 GB Notification: Performance of sort global known variables: time 4e-08/0.00495, allocations: 3.938 kB / 0.9849 GB, free: 15.11 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001369/0.005087, allocations: 15.94 kB / 0.9849 GB, free: 15.1 MB / 0.948 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.0001565/0.005243, allocations: 123.2 kB / 0.985 GB, free: 14.97 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 6.549e-05/0.005309, allocations: 8 kB / 0.985 GB, free: 14.96 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.005311, allocations: 0 / 0.985 GB, free: 14.96 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 4.649e-06/0.005315, allocations: 4 kB / 0.985 GB, free: 14.96 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.832e-05/0.005414, allocations: 0 / 0.985 GB, free: 14.96 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001776/0.005591, allocations: 102.7 kB / 0.9851 GB, free: 14.82 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.516e-05/0.005626, allocations: 59.28 kB / 0.9852 GB, free: 14.75 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.599e-05/0.005642, allocations: 16.5 kB / 0.9852 GB, free: 14.73 MB / 0.948 GB Notification: Performance of SimCode: time 4.01e-07/0.005643, allocations: 0 / 0.9852 GB, free: 14.73 MB / 0.948 GB Notification: Performance of Templates: time 0.001525/0.007167, allocations: 0.5698 MB / 0.9857 GB, free: 14.16 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ0.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_BesselJ0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ0.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: 6.704485442489386]