Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008361/0.0008361, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0007754/0.0007754, 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.8941/0.8941, allocations: 177.1 MB / 203.5 MB, free: 5.746 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.626/1.626, allocations: 359 MB / 0.6044 GB, free: 11.06 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.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J0",fileNamePrefix="Buildings_11_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_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 0.9518 GB, free: 1.797 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.483e-05/2.632e-05, allocations: 2.281 kB / 0.9518 GB, free: 1.793 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.001196/0.001222, allocations: 0.5878 MB / 0.9524 GB, free: 1.199 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0003486/0.001571, allocations: 167.4 kB / 0.9525 GB, free: 1.035 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.33e-05/0.001584, allocations: 0 / 0.9525 GB, free: 1.035 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.497e-05/0.001599, allocations: 0 / 0.9525 GB, free: 1.035 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 7.103e-06/0.001606, allocations: 4 kB / 0.9525 GB, free: 1.031 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003796/0.001986, allocations: 55.77 kB / 0.9526 GB, free: 0.9766 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 3.871e-05/0.002025, allocations: 0 / 0.9526 GB, free: 0.9766 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.661e-05/0.002061, allocations: 0 / 0.9526 GB, free: 0.9766 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 2.439e-05/0.002086, allocations: 0 / 0.9526 GB, free: 0.9766 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 1.825e-05/0.002104, allocations: 0 / 0.9526 GB, free: 0.9766 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 8.496e-06/0.002112, allocations: 4 kB / 0.9526 GB, free: 0.9727 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000138/0.00225, allocations: 55.88 kB / 0.9526 GB, free: 0.918 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.198e-05/0.002262, allocations: 0 / 0.9526 GB, free: 0.918 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.335e-05/0.002276, allocations: 7.922 kB / 0.9526 GB, free: 0.9102 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001143/0.00239, allocations: 39.94 kB / 0.9527 GB, free: 0.8711 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.002392, allocations: 4 kB / 0.9527 GB, free: 0.8672 MB / 0.8542 GB Notification: Performance of FrontEnd: time 8.62e-07/0.002393, allocations: 0 / 0.9527 GB, free: 0.8672 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.997e-06/0.002397, allocations: 0 / 0.9527 GB, free: 0.8672 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.0002193/0.002616, allocations: 250.3 kB / 0.9529 GB, free: 0.5898 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.365e-05/0.00265, allocations: 8.031 kB / 0.9529 GB, free: 0.582 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.773e-05/0.002678, allocations: 0.9375 kB / 0.9529 GB, free: 0.582 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.647e-05/0.002734, allocations: 109.8 kB / 0.953 GB, free: 460 kB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.917e-06/0.002743, allocations: 384 / 0.953 GB, free: 460 kB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.883e-06/0.00275, allocations: 4.375 kB / 0.953 GB, free: 456 kB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.739e-05/0.002827, allocations: 30.2 kB / 0.9531 GB, free: 420 kB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.002834, allocations: 4.188 kB / 0.9531 GB, free: 416 kB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.895e-06/0.002842, allocations: 384 / 0.9531 GB, free: 416 kB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.002847, allocations: 384 / 0.9531 GB, free: 416 kB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.869e-05/0.002866, allocations: 7.938 kB / 0.9531 GB, free: 408 kB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.33e-05/0.002959, allocations: 101.3 kB / 0.9532 GB, free: 276 kB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 3.461e-05/0.002994, allocations: 18.61 kB / 0.9532 GB, free: 248 kB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.344e-05/0.003007, allocations: 4.859 kB / 0.9532 GB, free: 240 kB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003977/0.003405, allocations: 79.97 kB / 0.9533 GB, free: 160 kB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.041e-05/0.003425, allocations: 38.5 kB / 0.9533 GB, free: 112 kB / 0.8542 GB Notification: Performance of pre-optimization done (n=1): time 1.173e-06/0.003427, allocations: 0 / 0.9533 GB, free: 112 kB / 0.8542 GB Notification: Performance of matching and sorting (n=1): time 0.0001107/0.003537, allocations: 29.7 kB / 0.9533 GB, free: 76 kB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.528e-05/0.003563, allocations: 51.41 kB / 0.9534 GB, free: 12 kB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.511e-05/0.003598, allocations: 89.86 kB / 0.9535 GB, free: 15.91 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 9.638e-06/0.003607, allocations: 29.7 kB / 0.9535 GB, free: 15.88 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 1.778e-05/0.003625, allocations: 84.14 kB / 0.9536 GB, free: 15.79 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.817e-05/0.003653, allocations: 7.938 kB / 0.9536 GB, free: 15.79 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.161e-05/0.003675, allocations: 13.84 kB / 0.9536 GB, free: 15.77 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.417e-05/0.003749, allocations: 314.8 kB / 0.9539 GB, free: 15.45 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.013e-05/0.003759, allocations: 4 kB / 0.9539 GB, free: 15.45 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.36e-06/0.003764, allocations: 3.938 kB / 0.9539 GB, free: 15.44 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.314e-05/0.003788, allocations: 12.8 kB / 0.9539 GB, free: 15.43 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.003789, allocations: 0 / 0.9539 GB, free: 15.43 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.912e-05/0.003828, allocations: 33.7 kB / 0.954 GB, free: 15.39 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.00384, allocations: 7.984 kB / 0.954 GB, free: 15.38 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.003845, allocations: 0 / 0.954 GB, free: 15.38 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.003855, allocations: 8.094 kB / 0.954 GB, free: 15.37 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.746e-05/0.003893, allocations: 0 / 0.954 GB, free: 15.37 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.003898, allocations: 0 / 0.954 GB, free: 15.37 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.225e-06/0.003906, allocations: 3.938 kB / 0.954 GB, free: 15.37 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.827e-06/0.00391, allocations: 0 / 0.954 GB, free: 15.37 MB / 0.8698 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.017e-05/0.00396, allocations: 109.8 kB / 0.9541 GB, free: 15.25 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.387e-06/0.003964, allocations: 0 / 0.9541 GB, free: 15.25 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.497e-05/0.004029, allocations: 44.62 kB / 0.9541 GB, free: 15.2 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.004031, allocations: 0 / 0.9541 GB, free: 15.2 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.004035, allocations: 0 / 0.9541 GB, free: 15.2 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.004038, allocations: 7.969 kB / 0.9541 GB, free: 15.2 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.785e-05/0.004086, allocations: 101.3 kB / 0.9542 GB, free: 15.07 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.004087, allocations: 0 / 0.9542 GB, free: 15.07 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.853e-06/0.004094, allocations: 0 / 0.9542 GB, free: 15.07 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.004095, allocations: 0 / 0.9542 GB, free: 15.07 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.1e-06/0.0041, allocations: 0 / 0.9542 GB, free: 15.07 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.004102, allocations: 4 kB / 0.9542 GB, free: 15.06 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.004103, allocations: 0 / 0.9542 GB, free: 15.06 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.215e-05/0.004145, allocations: 65 kB / 0.9543 GB, free: 14.98 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.062e-06/0.004151, allocations: 4 kB / 0.9543 GB, free: 14.98 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.915e-06/0.004159, allocations: 32 / 0.9543 GB, free: 14.98 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.29e-06/0.004164, allocations: 12 kB / 0.9543 GB, free: 14.96 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.052e-05/0.004174, allocations: 0 / 0.9543 GB, free: 14.96 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-06/0.004176, allocations: 0 / 0.9543 GB, free: 14.96 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 1.893e-05/0.004195, allocations: 79.27 kB / 0.9544 GB, free: 14.89 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5e-08/0.004195, allocations: 4 kB / 0.9544 GB, free: 14.88 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001319/0.004327, allocations: 11.94 kB / 0.9544 GB, free: 14.87 MB / 0.8698 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.0001457/0.004473, allocations: 123.2 kB / 0.9545 GB, free: 14.74 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 5.855e-05/0.004531, allocations: 7.984 kB / 0.9545 GB, free: 14.73 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.004533, allocations: 3.938 kB / 0.9545 GB, free: 14.73 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 2.835e-06/0.004536, allocations: 0 / 0.9545 GB, free: 14.73 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.833e-05/0.004625, allocations: 4 kB / 0.9545 GB, free: 14.73 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001636/0.004788, allocations: 114.5 kB / 0.9546 GB, free: 14.58 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.029e-05/0.004819, allocations: 55.36 kB / 0.9547 GB, free: 14.51 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.402e-05/0.004833, allocations: 8.5 kB / 0.9547 GB, free: 14.5 MB / 0.8698 GB Notification: Performance of SimCode: time 4.31e-07/0.004833, allocations: 128 / 0.9547 GB, free: 14.5 MB / 0.8698 GB Notification: Performance of Templates: time 0.001372/0.006205, allocations: 0.5705 MB / 0.9553 GB, free: 13.93 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_BesselJ0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.291739467531443]