Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002194/0.002194, allocations: 115.7 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003672/0.003672, allocations: 202.9 kB / 22.18 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.619/1.619, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.914/2.914, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J1",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J1",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002084/0.002084, allocations: 67.84 kB / 1.109 GB, free: 6.496 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.888/0.8901, allocations: 168.7 MB / 1.274 GB, free: 4.527 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.001881/0.892, allocations: 0.586 MB / 1.275 GB, free: 3.945 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0005186/0.8925, allocations: 195.3 kB / 1.275 GB, free: 3.754 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.573e-05/0.8925, allocations: 3.938 kB / 1.275 GB, free: 3.75 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.468e-05/0.8925, allocations: 3.938 kB / 1.275 GB, free: 3.746 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.571e-06/0.8925, allocations: 0 / 1.275 GB, free: 3.746 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003959/0.8929, allocations: 55.83 kB / 1.275 GB, free: 3.691 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 3.863e-05/0.8929, allocations: 0 / 1.275 GB, free: 3.691 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.885e-05/0.893, allocations: 7.984 kB / 1.275 GB, free: 3.684 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.169e-05/0.893, allocations: 4 kB / 1.275 GB, free: 3.68 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 1.952e-05/0.893, allocations: 0 / 1.275 GB, free: 3.68 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 7.104e-06/0.893, allocations: 0 / 1.275 GB, free: 3.68 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001841/0.8932, allocations: 67.86 kB / 1.275 GB, free: 3.613 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.363e-06/0.8932, allocations: 0 / 1.275 GB, free: 3.613 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 1.448e-05/0.8932, allocations: 3.938 kB / 1.275 GB, free: 3.609 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000123/0.8934, allocations: 38.61 kB / 1.275 GB, free: 3.574 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.8934, allocations: 0 / 1.275 GB, free: 3.574 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.403e-06/0.8934, allocations: 0 / 1.275 GB, free: 3.574 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.8934, allocations: 0 / 1.275 GB, free: 3.574 MB / 0.9669 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.0003496/0.8937, allocations: 323.5 kB / 1.275 GB, free: 3.207 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.8938, allocations: 8.031 kB / 1.275 GB, free: 3.199 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.688e-05/0.8938, allocations: 4.938 kB / 1.275 GB, free: 3.195 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001083/0.8939, allocations: 164.4 kB / 1.276 GB, free: 2.996 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.472e-06/0.8939, allocations: 384 / 1.276 GB, free: 2.996 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.223e-05/0.8939, allocations: 4.375 kB / 1.276 GB, free: 2.992 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.218e-05/0.894, allocations: 30.27 kB / 1.276 GB, free: 2.957 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.894, allocations: 192 / 1.276 GB, free: 2.957 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.894, allocations: 3.938 kB / 1.276 GB, free: 2.953 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-06/0.894, allocations: 3.984 kB / 1.276 GB, free: 2.949 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.918e-05/0.894, allocations: 11.94 kB / 1.276 GB, free: 2.938 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001455/0.8942, allocations: 145.7 kB / 1.276 GB, free: 2.746 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 4.093e-05/0.8942, allocations: 14.58 kB / 1.276 GB, free: 2.723 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2e-05/0.8943, allocations: 12.95 kB / 1.276 GB, free: 2.707 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007988/0.8951, allocations: 457.5 kB / 1.276 GB, free: 2.168 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.405e-05/0.8951, allocations: 30.56 kB / 1.276 GB, free: 2.129 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 1.172e-06/0.8951, allocations: 0 / 1.276 GB, free: 2.129 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0001333/0.8952, allocations: 41.58 kB / 1.276 GB, free: 2.082 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.129e-05/0.8953, allocations: 55.41 kB / 1.276 GB, free: 2.016 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.516e-05/0.8953, allocations: 89.86 kB / 1.276 GB, free: 1.918 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/0.8953, allocations: 29.83 kB / 1.276 GB, free: 1.883 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.122e-05/0.8953, allocations: 80.14 kB / 1.276 GB, free: 1.801 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.77e-05/0.8954, allocations: 7.875 kB / 1.276 GB, free: 1.793 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.205e-05/0.8954, allocations: 13.7 kB / 1.276 GB, free: 1.773 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.8956, allocations: 314.8 kB / 1.277 GB, free: 1.457 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.606e-06/0.8956, allocations: 0 / 1.277 GB, free: 1.457 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.579e-06/0.8956, allocations: 3.938 kB / 1.277 GB, free: 1.453 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.706e-05/0.8956, allocations: 12.92 kB / 1.277 GB, free: 1.438 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.8956, allocations: 7.938 kB / 1.277 GB, free: 1.43 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.064e-05/0.8956, allocations: 29.7 kB / 1.277 GB, free: 1.395 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.8957, allocations: 4 kB / 1.277 GB, free: 1.391 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.8957, allocations: 4 kB / 1.277 GB, free: 1.387 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.8957, allocations: 3.938 kB / 1.277 GB, free: 1.383 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.846e-05/0.8957, allocations: 3.984 kB / 1.277 GB, free: 1.379 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.847e-06/0.8957, allocations: 0 / 1.277 GB, free: 1.379 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.727e-06/0.8957, allocations: 0 / 1.277 GB, free: 1.379 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.118e-06/0.8957, allocations: 0 / 1.277 GB, free: 1.379 MB / 0.9669 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 7.687e-05/0.8958, allocations: 113.9 kB / 1.277 GB, free: 1.258 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.552e-06/0.8958, allocations: 0 / 1.277 GB, free: 1.258 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.534e-05/0.8959, allocations: 44.7 kB / 1.277 GB, free: 1.211 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.8959, allocations: 3.984 kB / 1.277 GB, free: 1.207 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.8959, allocations: 0 / 1.277 GB, free: 1.207 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.8959, allocations: 0 / 1.277 GB, free: 1.207 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001078/0.896, allocations: 145.7 kB / 1.277 GB, free: 1.016 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.896, allocations: 0 / 1.277 GB, free: 1.016 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.064e-05/0.896, allocations: 0 / 1.277 GB, free: 1.016 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.896, allocations: 4.031 kB / 1.277 GB, free: 1.012 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.896, allocations: 7.938 kB / 1.277 GB, free: 1.004 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.896, allocations: 0 / 1.277 GB, free: 1.004 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.896, allocations: 4 kB / 1.277 GB, free: 1 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.144e-05/0.8961, allocations: 57.12 kB / 1.277 GB, free: 0.9258 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.988e-05/0.8961, allocations: 77.11 kB / 1.277 GB, free: 0.832 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.061e-05/0.8962, allocations: 3.938 kB / 1.277 GB, free: 0.8281 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.124e-06/0.8962, allocations: 3.938 kB / 1.277 GB, free: 0.8242 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.442e-05/0.8962, allocations: 8.031 kB / 1.277 GB, free: 0.8164 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.46e-06/0.8962, allocations: 3.984 kB / 1.277 GB, free: 0.8125 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.175e-05/0.8962, allocations: 75.28 kB / 1.277 GB, free: 0.7383 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8.1e-08/0.8962, allocations: 0 / 1.277 GB, free: 0.7383 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001936/0.8964, allocations: 15.94 kB / 1.277 GB, free: 0.7227 MB / 0.9669 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.0002046/0.8966, allocations: 115.7 kB / 1.278 GB, free: 0.6016 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 7.432e-05/0.8967, allocations: 11.98 kB / 1.278 GB, free: 0.5898 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.8967, allocations: 0 / 1.278 GB, free: 0.5898 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.367e-05/0.8967, allocations: 4 kB / 1.278 GB, free: 0.5859 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001233/0.8968, allocations: 1.719 kB / 1.278 GB, free: 0.5859 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000197/0.897, allocations: 96.86 kB / 1.278 GB, free: 476 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003115/0.8973, allocations: 0.6767 MB / 1.278 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 9.638e-06/0.8973, allocations: 4.125 kB / 1.278 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.82e-05/0.8974, allocations: 15.36 kB / 1.278 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of SimCode: time 2.9e-07/0.8974, allocations: 0 / 1.278 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of Templates: time 0.002645/0.9, allocations: 422 kB / 1.279 GB, free: 15.33 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_BesselJ1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.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: 8.985815161839128]