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.002536/0.002536, allocations: 79.7 kB / 20.23 MB, free: 4.195 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.002694/0.002694, allocations: 161.7 kB / 23.55 MB, free: 0.8789 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.544/1.544, allocations: 177.1 MB / 203.9 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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 3.026/3.026, allocations: 377.8 MB / 0.6232 GB, free: 8.531 MB / 0.5886 GB " [Timeout remaining time 176] 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 1.372e-06/1.372e-06, allocations: 0 / 0.8108 GB, free: 0.9102 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.538e-05/2.675e-05, allocations: 4.562 kB / 0.8109 GB, free: 0.9062 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.001628/0.001654, allocations: 0.5928 MB / 0.8114 GB, free: 344 kB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0004706/0.002125, allocations: 176.3 kB / 0.8116 GB, free: 172 kB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.19e-05/0.002137, allocations: 0 / 0.8116 GB, free: 172 kB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.22e-05/0.002149, allocations: 4.812 kB / 0.8116 GB, free: 168 kB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 5.46e-06/0.002155, allocations: 0 / 0.8116 GB, free: 168 kB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.000369/0.002524, allocations: 52.62 kB / 0.8117 GB, free: 116 kB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 3.604e-05/0.00256, allocations: 5.516 kB / 0.8117 GB, free: 112 kB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 2.86e-05/0.002588, allocations: 0 / 0.8117 GB, free: 112 kB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 2.8e-05/0.002616, allocations: 3.984 kB / 0.8117 GB, free: 108 kB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 2.523e-05/0.002642, allocations: 4.875 kB / 0.8117 GB, free: 104 kB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 8.987e-06/0.002651, allocations: 0.5 kB / 0.8117 GB, free: 104 kB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001729/0.002823, allocations: 57.64 kB / 0.8117 GB, free: 48 kB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.002e-05/0.002833, allocations: 0 / 0.8117 GB, free: 48 kB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.238e-05/0.002846, allocations: 0 / 0.8117 GB, free: 48 kB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001407/0.002986, allocations: 43.92 kB / 0.8118 GB, free: 4 kB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.002989, allocations: 0 / 0.8118 GB, free: 4 kB / 0.7136 GB Notification: Performance of FrontEnd: time 5.91e-07/0.002989, allocations: 0.875 kB / 0.8118 GB, free: 4 kB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.907e-06/0.002993, allocations: 0 / 0.8118 GB, free: 4 kB / 0.7136 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.0004035/0.003397, allocations: 357 kB / 0.8121 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.003431, allocations: 8.031 kB / 0.8121 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.889e-05/0.00347, allocations: 1.531 kB / 0.8121 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.584e-05/0.003566, allocations: 108.6 kB / 0.8122 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.003577, allocations: 5.031 kB / 0.8122 GB, free: 15.47 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.622e-06/0.003584, allocations: 1.094 kB / 0.8122 GB, free: 15.47 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.083e-05/0.003665, allocations: 26.27 kB / 0.8122 GB, free: 15.44 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.003673, allocations: 1.25 kB / 0.8122 GB, free: 15.44 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.274e-06/0.00368, allocations: 384 / 0.8123 GB, free: 15.44 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.003687, allocations: 4.375 kB / 0.8123 GB, free: 15.44 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.168e-05/0.003708, allocations: 5.312 kB / 0.8123 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000144/0.003852, allocations: 112.6 kB / 0.8124 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 6.434e-05/0.003917, allocations: 31.03 kB / 0.8124 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.268e-05/0.003939, allocations: 13.44 kB / 0.8124 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005346/0.004474, allocations: 76.89 kB / 0.8125 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.552e-05/0.004509, allocations: 33.39 kB / 0.8125 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=1): time 8.92e-07/0.00451, allocations: 0.625 kB / 0.8125 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1): time 0.0001401/0.00465, allocations: 30.27 kB / 0.8125 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.772e-05/0.004698, allocations: 63.89 kB / 0.8126 GB, free: 15 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.904e-05/0.004777, allocations: 142.9 kB / 0.8127 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.004796, allocations: 29.64 kB / 0.8128 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.379e-05/0.00486, allocations: 128.2 kB / 0.8129 GB, free: 14.69 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.733e-05/0.004887, allocations: 4 kB / 0.8129 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.59e-05/0.004923, allocations: 19.38 kB / 0.8129 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002553/0.005178, allocations: 496.1 kB / 0.8134 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.567e-06/0.005187, allocations: 2.562 kB / 0.8134 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.769e-06/0.005191, allocations: 0 / 0.8134 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.814e-05/0.00522, allocations: 11.69 kB / 0.8134 GB, free: 14.14 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.005221, allocations: 0 / 0.8134 GB, free: 14.14 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.092e-05/0.005282, allocations: 41.69 kB / 0.8134 GB, free: 14.1 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.005295, allocations: 4.531 kB / 0.8134 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.005298, allocations: 4.656 kB / 0.8134 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.005311, allocations: 0 / 0.8134 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.697e-05/0.005348, allocations: 4.531 kB / 0.8135 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.005352, allocations: 0 / 0.8135 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.096e-05/0.005363, allocations: 5.562 kB / 0.8135 GB, free: 14.08 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.558e-06/0.005368, allocations: 0 / 0.8135 GB, free: 14.08 MB / 0.7292 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 0.0002143/0.005582, allocations: 152.6 kB / 0.8136 GB, free: 13.92 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.086e-05/0.005593, allocations: 4.812 kB / 0.8136 GB, free: 13.92 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.8e-05/0.005671, allocations: 40.69 kB / 0.8136 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.005673, allocations: 0.9375 kB / 0.8136 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.005676, allocations: 0 / 0.8136 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.894e-06/0.005678, allocations: 0 / 0.8136 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.918e-05/0.005777, allocations: 109.8 kB / 0.8138 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.00578, allocations: 3.984 kB / 0.8138 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.318e-05/0.005793, allocations: 4 kB / 0.8138 GB, free: 13.72 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.005795, allocations: 0.8438 kB / 0.8138 GB, free: 13.72 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.005803, allocations: 3.984 kB / 0.8138 GB, free: 13.72 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.005806, allocations: 6.156 kB / 0.8138 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.005809, allocations: 3.984 kB / 0.8138 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.041e-05/0.0059, allocations: 68.39 kB / 0.8138 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.977e-06/0.005904, allocations: 0 / 0.8138 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.112e-05/0.005915, allocations: 4 kB / 0.8138 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.458e-06/0.005924, allocations: 6.906 kB / 0.8139 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.02e-05/0.005945, allocations: 7.984 kB / 0.8139 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.354e-06/0.005947, allocations: 0 / 0.8139 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 5.896e-05/0.006006, allocations: 123.1 kB / 0.814 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.006006, allocations: 0 / 0.814 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001997/0.006206, allocations: 15.94 kB / 0.814 GB, free: 13.47 MB / 0.7292 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.0002105/0.006416, allocations: 120.6 kB / 0.8141 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 7.41e-05/0.00649, allocations: 16.25 kB / 0.8141 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.006492, allocations: 1.062 kB / 0.8141 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.651e-05/0.006508, allocations: 11.69 kB / 0.8141 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001202/0.006629, allocations: 0.6562 kB / 0.8141 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002128/0.006841, allocations: 88.08 kB / 0.8142 GB, free: 13.19 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.884e-05/0.00691, allocations: 61.19 kB / 0.8143 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 8.956e-06/0.006919, allocations: 0 / 0.8143 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.534e-05/0.006935, allocations: 8.5 kB / 0.8143 GB, free: 13.1 MB / 0.7292 GB Notification: Performance of SimCode: time 4.91e-07/0.006935, allocations: 0 / 0.8143 GB, free: 13.1 MB / 0.7292 GB Notification: Performance of Templates: time 0.002921/0.009856, allocations: 425.9 kB / 0.8147 GB, free: 12.7 MB / 0.7292 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) [Timeout 240] 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: 8.016830860986374]