Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001436/0.001436, allocations: 118.1 kB / 17.13 MB, free: 5.781 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.001481/0.001481, allocations: 192.6 kB / 20.08 MB, free: 2.871 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.54/1.54, allocations: 225.6 MB / 248.5 MB, free: 3.59 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.698/2.698, allocations: 443.5 MB / 0.7293 GB, free: 14.48 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 71.89 kB / 1.057 GB, free: 1.859 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3548/0.3568, allocations: 160.7 MB / 1.214 GB, free: 0.8359 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.001933/0.3587, allocations: 0.5904 MB / 1.215 GB, free: 248 kB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0005305/0.3592, allocations: 199.3 kB / 1.215 GB, free: 48 kB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.358e-05/0.3592, allocations: 0 / 1.215 GB, free: 48 kB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 2.263e-05/0.3593, allocations: 4 kB / 1.215 GB, free: 44 kB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 6.322e-06/0.3593, allocations: 0 / 1.215 GB, free: 44 kB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004427/0.3597, allocations: 59.88 kB / 1.215 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 4.202e-05/0.3598, allocations: 0 / 1.215 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.014e-05/0.3598, allocations: 3.938 kB / 1.215 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.249e-05/0.3598, allocations: 4 kB / 1.215 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 2.278e-05/0.3598, allocations: 0 / 1.215 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 7.734e-06/0.3598, allocations: 0 / 1.215 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001964/0.36, allocations: 67.86 kB / 1.215 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.778e-06/0.3601, allocations: 0 / 1.215 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 1.745e-05/0.3601, allocations: 0 / 1.215 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001286/0.3602, allocations: 39.88 kB / 1.215 GB, free: 15.87 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.3602, allocations: 0 / 1.215 GB, free: 15.87 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.153e-06/0.3602, allocations: 0 / 1.215 GB, free: 15.87 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.502e-06/0.3602, allocations: 0 / 1.215 GB, free: 15.87 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.0004015/0.3606, allocations: 319.5 kB / 1.215 GB, free: 15.51 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.3607, allocations: 11.97 kB / 1.215 GB, free: 15.5 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.345e-05/0.3607, allocations: 4.875 kB / 1.215 GB, free: 15.49 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001272/0.3608, allocations: 164.4 kB / 1.216 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.019e-05/0.3608, allocations: 384 / 1.216 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.554e-06/0.3608, allocations: 384 / 1.216 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.833e-05/0.3609, allocations: 34.27 kB / 1.216 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.3609, allocations: 192 / 1.216 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.3609, allocations: 3.938 kB / 1.216 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.361, allocations: 0 / 1.216 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.637e-05/0.361, allocations: 0 / 1.216 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001843/0.3612, allocations: 157.6 kB / 1.216 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 4.601e-05/0.3612, allocations: 18.52 kB / 1.216 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.004e-05/0.3612, allocations: 8.953 kB / 1.216 GB, free: 15.01 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008343/0.3621, allocations: 461.5 kB / 1.216 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.367e-05/0.3621, allocations: 30.56 kB / 1.216 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.3621, allocations: 0 / 1.216 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0001445/0.3622, allocations: 37.64 kB / 1.216 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.694e-05/0.3623, allocations: 55.34 kB / 1.216 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.888e-05/0.3623, allocations: 89.86 kB / 1.216 GB, free: 14.22 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.562e-05/0.3624, allocations: 29.7 kB / 1.216 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.607e-05/0.3624, allocations: 84.08 kB / 1.216 GB, free: 14.1 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.161e-05/0.3624, allocations: 0 / 1.216 GB, free: 14.1 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.234e-05/0.3625, allocations: 17.7 kB / 1.216 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.3626, allocations: 310.8 kB / 1.217 GB, free: 13.76 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.636e-06/0.3626, allocations: 8.125 kB / 1.217 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.879e-06/0.3626, allocations: 0 / 1.217 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.546e-05/0.3627, allocations: 8.859 kB / 1.217 GB, free: 13.74 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.3627, allocations: 0 / 1.217 GB, free: 13.74 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.18e-05/0.3627, allocations: 29.7 kB / 1.217 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.3627, allocations: 4 kB / 1.217 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.3627, allocations: 3.938 kB / 1.217 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.3627, allocations: 7.938 kB / 1.217 GB, free: 13.69 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.177e-05/0.3628, allocations: 12.08 kB / 1.217 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.3628, allocations: 0 / 1.217 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.628e-06/0.3628, allocations: 0 / 1.217 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.689e-06/0.3628, allocations: 0 / 1.217 GB, free: 13.68 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 8.607e-05/0.3629, allocations: 113.8 kB / 1.217 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.982e-06/0.3629, allocations: 0 / 1.217 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.072e-05/0.363, allocations: 40.75 kB / 1.217 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.363, allocations: 0 / 1.217 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.363, allocations: 0 / 1.217 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.363, allocations: 4.031 kB / 1.217 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000123/0.3631, allocations: 145.7 kB / 1.217 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.3631, allocations: 4 kB / 1.217 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.249e-05/0.3631, allocations: 4 kB / 1.217 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.3631, allocations: 0 / 1.217 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.742e-06/0.3631, allocations: 7.875 kB / 1.217 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.3631, allocations: 0 / 1.217 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3631, allocations: 0 / 1.217 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.483e-05/0.3632, allocations: 61.12 kB / 1.217 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.544e-05/0.3633, allocations: 77.11 kB / 1.217 GB, free: 13.13 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.43e-05/0.3633, allocations: 7.938 kB / 1.217 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.622e-06/0.3633, allocations: 0 / 1.217 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.168e-05/0.3633, allocations: 0 / 1.217 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.3633, allocations: 7.984 kB / 1.217 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.041e-05/0.3633, allocations: 75.28 kB / 1.217 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of sort global known variables: time 6e-08/0.3633, allocations: 0 / 1.217 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001992/0.3635, allocations: 15.94 kB / 1.217 GB, free: 13.02 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.0002559/0.3638, allocations: 115.2 kB / 1.218 GB, free: 12.9 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 8.229e-05/0.3639, allocations: 11.92 kB / 1.218 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.3639, allocations: 0 / 1.218 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 8.025e-06/0.3639, allocations: 4 kB / 1.218 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001384/0.364, allocations: 8.047 kB / 1.218 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000229/0.3643, allocations: 114.6 kB / 1.218 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003407/0.3646, allocations: 0.6729 MB / 1.218 GB, free: 12.03 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.685e-05/0.3646, allocations: 11.42 kB / 1.218 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of SimCode: time 3.11e-07/0.3646, allocations: 0 / 1.218 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of Templates: time 0.002145/0.3668, allocations: 0.555 MB / 1.219 GB, free: 11.46 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_BesselJ1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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.012994760880247]