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.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.001438/0.001438, allocations: 102.1 kB / 19.7 MB, free: 2.246 MB / 14.72 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.00158/0.00158, allocations: 222.5 kB / 23.01 MB, free: 5.086 MB / 14.72 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.52/1.52, allocations: 230.6 MB / 256.8 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.905/2.905, allocations: 476.8 MB / 0.7714 GB, free: 4.289 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002068/0.002068, allocations: 74.64 kB / 1.119 GB, free: 8.703 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.375/0.3771, allocations: 169.9 MB / 1.285 GB, free: 3.305 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.001822/0.3789, allocations: 0.603 MB / 1.285 GB, free: 2.703 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0005038/0.3794, allocations: 195.8 kB / 1.285 GB, free: 2.512 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.405e-05/0.3794, allocations: 0 / 1.285 GB, free: 2.512 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.082e-05/0.3794, allocations: 0 / 1.285 GB, free: 2.512 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.191e-06/0.3794, allocations: 0 / 1.285 GB, free: 2.512 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003848/0.3798, allocations: 63.81 kB / 1.285 GB, free: 2.449 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 4.623e-05/0.3799, allocations: 4 kB / 1.285 GB, free: 2.445 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.7e-05/0.3799, allocations: 0 / 1.285 GB, free: 2.445 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.164e-05/0.3799, allocations: 0 / 1.285 GB, free: 2.445 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 1.943e-05/0.3799, allocations: 3.938 kB / 1.285 GB, free: 2.441 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.266e-06/0.38, allocations: 3.938 kB / 1.285 GB, free: 2.438 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001972/0.3802, allocations: 63.92 kB / 1.286 GB, free: 2.375 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.183e-06/0.3802, allocations: 0 / 1.286 GB, free: 2.375 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 1.564e-05/0.3802, allocations: 0 / 1.286 GB, free: 2.375 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001255/0.3803, allocations: 43.81 kB / 1.286 GB, free: 2.332 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.3803, allocations: 4 kB / 1.286 GB, free: 2.328 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.292e-06/0.3803, allocations: 4 kB / 1.286 GB, free: 2.324 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.112e-06/0.3803, allocations: 0 / 1.286 GB, free: 2.324 MB / 0.9825 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.0003176/0.3806, allocations: 242.4 kB / 1.286 GB, free: 2.055 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.3807, allocations: 12.03 kB / 1.286 GB, free: 2.043 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.772e-05/0.3807, allocations: 0.9375 kB / 1.286 GB, free: 2.043 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.448e-05/0.3808, allocations: 102.5 kB / 1.286 GB, free: 1.918 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.542e-06/0.3808, allocations: 384 / 1.286 GB, free: 1.918 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.248e-06/0.3808, allocations: 384 / 1.286 GB, free: 1.918 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.805e-05/0.3809, allocations: 34.27 kB / 1.286 GB, free: 1.879 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.3809, allocations: 192 / 1.286 GB, free: 1.879 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.3809, allocations: 7.922 kB / 1.286 GB, free: 1.871 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-06/0.3809, allocations: 0 / 1.286 GB, free: 1.871 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.495e-05/0.381, allocations: 3.938 kB / 1.286 GB, free: 1.867 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001542/0.3811, allocations: 120.8 kB / 1.286 GB, free: 1.707 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 5.171e-05/0.3812, allocations: 14.58 kB / 1.286 GB, free: 1.684 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.012e-05/0.3812, allocations: 8.938 kB / 1.286 GB, free: 1.672 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00057/0.3817, allocations: 79.91 kB / 1.286 GB, free: 1.594 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.924e-05/0.3818, allocations: 34.56 kB / 1.286 GB, free: 1.551 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 8.71e-07/0.3818, allocations: 0 / 1.286 GB, free: 1.551 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0001401/0.3819, allocations: 41.58 kB / 1.286 GB, free: 1.504 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.824e-05/0.382, allocations: 59.47 kB / 1.286 GB, free: 1.434 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.737e-05/0.382, allocations: 89.86 kB / 1.286 GB, free: 1.336 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.788e-05/0.382, allocations: 25.7 kB / 1.286 GB, free: 1.305 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.573e-05/0.3821, allocations: 80.14 kB / 1.287 GB, free: 1.223 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.607e-05/0.3821, allocations: 11.88 kB / 1.287 GB, free: 1.211 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.597e-05/0.3821, allocations: 13.72 kB / 1.287 GB, free: 1.191 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.3823, allocations: 310.8 kB / 1.287 GB, free: 0.8789 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.013e-05/0.3823, allocations: 0 / 1.287 GB, free: 0.8789 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.925e-06/0.3823, allocations: 8 kB / 1.287 GB, free: 0.8711 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.422e-05/0.3823, allocations: 8.859 kB / 1.287 GB, free: 0.8594 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.3823, allocations: 0 / 1.287 GB, free: 0.8594 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.482e-05/0.3824, allocations: 37.64 kB / 1.287 GB, free: 0.8164 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.3824, allocations: 7.984 kB / 1.287 GB, free: 0.8086 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.3824, allocations: 0 / 1.287 GB, free: 0.8086 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.3824, allocations: 3.938 kB / 1.287 GB, free: 0.8047 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.974e-05/0.3825, allocations: 4 kB / 1.287 GB, free: 0.8008 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.3825, allocations: 0 / 1.287 GB, free: 0.8008 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.628e-06/0.3825, allocations: 4.094 kB / 1.287 GB, free: 0.7969 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.228e-06/0.3825, allocations: 0 / 1.287 GB, free: 0.7969 MB / 0.9825 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.894e-05/0.3825, allocations: 105.8 kB / 1.287 GB, free: 0.6836 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.961e-06/0.3826, allocations: 0 / 1.287 GB, free: 0.6836 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.336e-05/0.3826, allocations: 48.56 kB / 1.287 GB, free: 0.6328 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.3826, allocations: 4 kB / 1.287 GB, free: 0.6289 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.3826, allocations: 0 / 1.287 GB, free: 0.6289 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.033e-06/0.3826, allocations: 0 / 1.287 GB, free: 0.6289 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.956e-05/0.3827, allocations: 120.8 kB / 1.287 GB, free: 480 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.12e-07/0.3827, allocations: 0 / 1.287 GB, free: 480 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.204e-05/0.3828, allocations: 4 kB / 1.287 GB, free: 476 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.243e-06/0.3828, allocations: 0 / 1.287 GB, free: 476 kB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-06/0.3828, allocations: 7.922 kB / 1.287 GB, free: 468 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.41e-07/0.3828, allocations: 0 / 1.287 GB, free: 468 kB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.3828, allocations: 0 / 1.287 GB, free: 468 kB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.25e-05/0.3828, allocations: 57.14 kB / 1.287 GB, free: 392 kB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.727e-06/0.3828, allocations: 4.031 kB / 1.287 GB, free: 388 kB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.768e-06/0.3829, allocations: 3.938 kB / 1.287 GB, free: 384 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.563e-06/0.3829, allocations: 0 / 1.287 GB, free: 384 kB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.906e-05/0.3829, allocations: 7.922 kB / 1.287 GB, free: 376 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.437e-06/0.3829, allocations: 4 kB / 1.287 GB, free: 372 kB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.413e-05/0.3829, allocations: 75.28 kB / 1.287 GB, free: 296 kB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3829, allocations: 3.938 kB / 1.287 GB, free: 292 kB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001986/0.3831, allocations: 11.94 kB / 1.287 GB, free: 280 kB / 0.9825 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.0002012/0.3833, allocations: 119.2 kB / 1.287 GB, free: 148 kB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.49e-05/0.3834, allocations: 8 kB / 1.287 GB, free: 140 kB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.3834, allocations: 0 / 1.287 GB, free: 140 kB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.316e-06/0.3834, allocations: 4 kB / 1.287 GB, free: 136 kB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001302/0.3835, allocations: 3.938 kB / 1.287 GB, free: 132 kB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002372/0.3838, allocations: 103 kB / 1.288 GB, free: 15.99 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000332/0.3841, allocations: 0.6768 MB / 1.288 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.748e-05/0.3841, allocations: 7.438 kB / 1.288 GB, free: 15.28 MB / 0.9981 GB Notification: Performance of SimCode: time 2.91e-07/0.3841, allocations: 0 / 1.288 GB, free: 15.28 MB / 0.9981 GB Notification: Performance of Templates: time 0.002141/0.3863, allocations: 0.5673 MB / 1.289 GB, free: 14.71 MB / 0.9981 GB " [Timeout remaining time 300] 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 -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/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: 11.447947247012053]