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.0007956/0.0007956, allocations: 80.48 kB / 19.93 MB, free: 4.629 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.0007867/0.0007867, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.847/0.847, allocations: 177.1 MB / 203.5 MB, free: 5.75 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.668/1.668, allocations: 359 MB / 0.6044 GB, free: 11.1 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.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 1.603e-06/1.603e-06, allocations: 0 / 0.9517 GB, free: 2.973 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.356e-05/2.516e-05, allocations: 2.281 kB / 0.9517 GB, free: 2.969 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.001932/0.001957, allocations: 1.46 MB / 0.9532 GB, free: 1.492 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0003856/0.002343, allocations: 239.2 kB / 0.9534 GB, free: 1.258 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.518e-05/0.002368, allocations: 4 kB / 0.9534 GB, free: 1.254 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.433e-05/0.002393, allocations: 0 / 0.9534 GB, free: 1.254 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 3.594e-05/0.002429, allocations: 3.938 kB / 0.9534 GB, free: 1.25 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.000322/0.002751, allocations: 59.81 kB / 0.9534 GB, free: 1.191 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 5.556e-05/0.002806, allocations: 23.92 kB / 0.9535 GB, free: 1.168 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 7.821e-05/0.002884, allocations: 7.938 kB / 0.9535 GB, free: 1.16 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 4.435e-05/0.002929, allocations: 15.97 kB / 0.9535 GB, free: 1.145 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 2.871e-05/0.002957, allocations: 0 / 0.9535 GB, free: 1.145 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.119e-05/0.002969, allocations: 4 kB / 0.9535 GB, free: 1.141 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001076/0.003076, allocations: 63.81 kB / 0.9536 GB, free: 1.078 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.335e-05/0.00309, allocations: 8 kB / 0.9536 GB, free: 1.07 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.685e-05/0.003106, allocations: 11.98 kB / 0.9536 GB, free: 1.059 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001237/0.00323, allocations: 51.91 kB / 0.9536 GB, free: 1.008 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.756e-06/0.003233, allocations: 4 kB / 0.9536 GB, free: 1.004 MB / 0.9011 GB Notification: Performance of FrontEnd: time 7.01e-07/0.003234, allocations: 0 / 0.9536 GB, free: 1.004 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.877e-06/0.003237, allocations: 0 / 0.9536 GB, free: 1.004 MB / 0.9011 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.0003159/0.003553, allocations: 274.2 kB / 0.9539 GB, free: 0.7031 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.137e-05/0.003585, allocations: 8.031 kB / 0.9539 GB, free: 0.6953 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.449e-05/0.003609, allocations: 12.81 kB / 0.9539 GB, free: 0.6836 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.489e-05/0.003684, allocations: 113.7 kB / 0.954 GB, free: 0.5469 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.287e-06/0.003693, allocations: 4.375 kB / 0.954 GB, free: 0.543 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.824e-06/0.003701, allocations: 384 / 0.954 GB, free: 0.543 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001082/0.003809, allocations: 46.25 kB / 0.9541 GB, free: 0.4922 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.233e-06/0.003817, allocations: 192 / 0.9541 GB, free: 0.4922 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.003826, allocations: 4.359 kB / 0.9541 GB, free: 500 kB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.00383, allocations: 4.375 kB / 0.9541 GB, free: 496 kB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.361e-05/0.003914, allocations: 31.91 kB / 0.9541 GB, free: 464 kB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002277/0.004142, allocations: 196.6 kB / 0.9543 GB, free: 236 kB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 7.002e-05/0.004212, allocations: 38.56 kB / 0.9543 GB, free: 188 kB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.441e-05/0.004256, allocations: 21.52 kB / 0.9544 GB, free: 164 kB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000313/0.004569, allocations: 75.91 kB / 0.9544 GB, free: 88 kB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.837e-05/0.004588, allocations: 34.56 kB / 0.9545 GB, free: 44 kB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 7.92e-07/0.004588, allocations: 0 / 0.9545 GB, free: 44 kB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.0002259/0.004814, allocations: 89.72 kB / 0.9545 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.319e-05/0.004837, allocations: 51.41 kB / 0.9546 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.89e-05/0.004886, allocations: 101.9 kB / 0.9547 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.009e-05/0.004896, allocations: 29.69 kB / 0.9547 GB, free: 15.74 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.011e-05/0.004927, allocations: 80.14 kB / 0.9548 GB, free: 15.66 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.603e-05/0.004943, allocations: 8.062 kB / 0.9548 GB, free: 15.65 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.433e-05/0.004967, allocations: 21.72 kB / 0.9548 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.078e-05/0.005038, allocations: 310.8 kB / 0.9551 GB, free: 15.31 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.012e-05/0.005078, allocations: 19.98 kB / 0.9551 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.57e-05/0.005113, allocations: 19.97 kB / 0.9552 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.066e-05/0.005184, allocations: 36.83 kB / 0.9552 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.005186, allocations: 0 / 0.9552 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.329e-05/0.005279, allocations: 73.61 kB / 0.9553 GB, free: 15.15 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.061e-05/0.005289, allocations: 8 kB / 0.9553 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.005293, allocations: 0 / 0.9553 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.005304, allocations: 4.125 kB / 0.9553 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.038e-05/0.005354, allocations: 7.984 kB / 0.9553 GB, free: 15.13 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.005359, allocations: 4 kB / 0.9553 GB, free: 15.13 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.047e-05/0.00538, allocations: 7.938 kB / 0.9553 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.366e-06/0.005383, allocations: 0 / 0.9553 GB, free: 15.12 MB / 0.9167 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 4.893e-05/0.005432, allocations: 117.9 kB / 0.9554 GB, free: 15 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.226e-05/0.005444, allocations: 11.92 kB / 0.9554 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001174/0.005562, allocations: 72.91 kB / 0.9555 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.005564, allocations: 3.938 kB / 0.9555 GB, free: 14.9 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.005567, allocations: 0 / 0.9555 GB, free: 14.9 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.00557, allocations: 0 / 0.9555 GB, free: 14.9 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.817e-05/0.005648, allocations: 101.3 kB / 0.9556 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.00565, allocations: 7.938 kB / 0.9556 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.048e-05/0.00567, allocations: 8.031 kB / 0.9556 GB, free: 14.76 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.005671, allocations: 0 / 0.9556 GB, free: 14.76 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.005677, allocations: 3.984 kB / 0.9556 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.41e-07/0.005678, allocations: 0 / 0.9556 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.005679, allocations: 3.938 kB / 0.9556 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001123/0.005792, allocations: 163.5 kB / 0.9558 GB, free: 14.57 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 4.759e-06/0.005796, allocations: 3.953 kB / 0.9558 GB, free: 14.57 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.895e-06/0.005804, allocations: 0 / 0.9558 GB, free: 14.57 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.438e-05/0.005839, allocations: 8.031 kB / 0.9558 GB, free: 14.56 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.939e-05/0.005868, allocations: 7.922 kB / 0.9558 GB, free: 14.55 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-06/0.005872, allocations: 4 kB / 0.9558 GB, free: 14.55 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.324e-05/0.005895, allocations: 83.22 kB / 0.9559 GB, free: 14.47 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.005895, allocations: 4 kB / 0.9559 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001514/0.006046, allocations: 12 kB / 0.9559 GB, free: 14.45 MB / 0.9167 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.000135/0.006181, allocations: 119.2 kB / 0.956 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001132/0.006295, allocations: 39.95 kB / 0.956 GB, free: 14.29 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.092e-06/0.006296, allocations: 0 / 0.956 GB, free: 14.29 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 3.772e-05/0.006333, allocations: 15.98 kB / 0.956 GB, free: 14.27 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001579/0.006491, allocations: 8 kB / 0.9561 GB, free: 14.26 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002064/0.006698, allocations: 138.5 kB / 0.9562 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.645e-05/0.006734, allocations: 63.34 kB / 0.9562 GB, free: 14.01 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.781e-05/0.006752, allocations: 8.5 kB / 0.9563 GB, free: 14 MB / 0.9167 GB Notification: Performance of SimCode: time 4.91e-07/0.006752, allocations: 0 / 0.9563 GB, free: 14 MB / 0.9167 GB Notification: Performance of Templates: time 0.001487/0.008239, allocations: 0.7903 MB / 0.957 GB, free: 13.21 MB / 0.9167 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1) [Timeout 400] 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: 6.526568127796054]