Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001102/0.001102, 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.001248/0.001248, allocations: 177.9 kB / 23.21 MB, free: 1.352 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.8888/0.8888, allocations: 177.1 MB / 203.5 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.785/1.785, allocations: 389 MB / 0.6338 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 1.001 GB, free: 11.84 MB / 0.9167 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.009e-05/3.213e-05, allocations: 9.031 kB / 1.001 GB, free: 11.83 MB / 0.9167 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.001619/0.001651, allocations: 0.6021 MB / 1.002 GB, free: 11.23 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.0004009/0.002052, allocations: 175.4 kB / 1.002 GB, free: 11.06 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.456e-05/0.002067, allocations: 3.938 kB / 1.002 GB, free: 11.05 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 1.586e-05/0.002082, allocations: 4 kB / 1.002 GB, free: 11.05 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 8.296e-06/0.002091, allocations: 0 / 1.002 GB, free: 11.05 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004191/0.00251, allocations: 55.73 kB / 1.002 GB, free: 11 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 4.672e-05/0.002557, allocations: 7.922 kB / 1.002 GB, free: 10.99 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 4.242e-05/0.002599, allocations: 4 kB / 1.002 GB, free: 10.98 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 2.632e-05/0.002625, allocations: 0 / 1.002 GB, free: 10.98 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 2.175e-05/0.002647, allocations: 0 / 1.002 GB, free: 10.98 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 1.171e-05/0.002659, allocations: 4 kB / 1.002 GB, free: 10.98 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001484/0.002807, allocations: 55.88 kB / 1.002 GB, free: 10.93 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 1.217e-05/0.002819, allocations: 0 / 1.002 GB, free: 10.93 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 1.893e-05/0.002838, allocations: 0 / 1.002 GB, free: 10.93 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0001127/0.002951, allocations: 55.86 kB / 1.002 GB, free: 10.87 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.002954, allocations: 0 / 1.002 GB, free: 10.87 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.483e-06/0.002955, allocations: 0 / 1.002 GB, free: 10.87 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.088e-06/0.002959, allocations: 0 / 1.002 GB, free: 10.87 MB / 0.9167 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.0002255/0.003185, allocations: 238.4 kB / 1.002 GB, free: 10.61 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.003223, allocations: 16.67 kB / 1.002 GB, free: 10.59 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.94e-05/0.003253, allocations: 0.9375 kB / 1.002 GB, free: 10.59 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.252e-05/0.003315, allocations: 109.8 kB / 1.002 GB, free: 10.46 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.003326, allocations: 384 / 1.002 GB, free: 10.46 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.616e-06/0.003335, allocations: 384 / 1.002 GB, free: 10.46 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.405e-05/0.003419, allocations: 26.27 kB / 1.002 GB, free: 10.43 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.713e-06/0.003425, allocations: 4.188 kB / 1.002 GB, free: 10.42 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.867e-06/0.003434, allocations: 4.375 kB / 1.002 GB, free: 10.42 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.003438, allocations: 384 / 1.002 GB, free: 10.42 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.783e-05/0.003456, allocations: 3.938 kB / 1.002 GB, free: 10.41 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.183e-05/0.003548, allocations: 93.33 kB / 1.002 GB, free: 10.29 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 3.662e-05/0.003585, allocations: 30.53 kB / 1.002 GB, free: 10.25 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.223e-05/0.003607, allocations: 4.859 kB / 1.002 GB, free: 10.25 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004994/0.004106, allocations: 71.98 kB / 1.002 GB, free: 10.18 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.236e-05/0.004129, allocations: 38.56 kB / 1.002 GB, free: 10.13 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=1): time 1.232e-06/0.00413, allocations: 0 / 1.002 GB, free: 10.13 MB / 0.9167 GB Notification: Performance of matching and sorting (n=1): time 0.0001318/0.004262, allocations: 33.69 kB / 1.003 GB, free: 10.09 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.945e-05/0.004291, allocations: 59.28 kB / 1.003 GB, free: 10.02 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.632e-05/0.004317, allocations: 89.86 kB / 1.003 GB, free: 9.922 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.03e-05/0.004328, allocations: 25.7 kB / 1.003 GB, free: 9.891 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 2.184e-05/0.00435, allocations: 88.08 kB / 1.003 GB, free: 9.801 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.799e-05/0.004378, allocations: 4.125 kB / 1.003 GB, free: 9.797 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.266e-05/0.0044, allocations: 13.72 kB / 1.003 GB, free: 9.777 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.916e-05/0.004479, allocations: 318.8 kB / 1.003 GB, free: 9.457 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.061e-05/0.00449, allocations: 4 kB / 1.003 GB, free: 9.453 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.999e-06/0.004495, allocations: 0 / 1.003 GB, free: 9.453 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.368e-05/0.004519, allocations: 12.84 kB / 1.003 GB, free: 9.438 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.00452, allocations: 0 / 1.003 GB, free: 9.438 MB / 0.9167 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.65e-05/0.004557, allocations: 29.7 kB / 1.003 GB, free: 9.402 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.004571, allocations: 4 kB / 1.003 GB, free: 9.398 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.004575, allocations: 8.031 kB / 1.003 GB, free: 9.391 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.004587, allocations: 4 kB / 1.003 GB, free: 9.387 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.363e-05/0.004631, allocations: 0 / 1.003 GB, free: 9.387 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.92e-06/0.004636, allocations: 0 / 1.003 GB, free: 9.387 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.916e-06/0.004645, allocations: 3.938 kB / 1.003 GB, free: 9.383 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.649e-06/0.00465, allocations: 0 / 1.003 GB, free: 9.383 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 (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.33e-05/0.004703, allocations: 113.8 kB / 1.003 GB, free: 9.262 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.046e-06/0.004711, allocations: 3.984 kB / 1.003 GB, free: 9.258 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.785e-05/0.004779, allocations: 32.7 kB / 1.003 GB, free: 9.219 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.004781, allocations: 0 / 1.003 GB, free: 9.219 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.004784, allocations: 4.031 kB / 1.003 GB, free: 9.215 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.004787, allocations: 0 / 1.003 GB, free: 9.215 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.903e-05/0.004846, allocations: 109.2 kB / 1.003 GB, free: 9.078 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.004847, allocations: 0 / 1.003 GB, free: 9.078 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.059e-05/0.004858, allocations: 0 / 1.003 GB, free: 9.078 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.00486, allocations: 3.984 kB / 1.003 GB, free: 9.074 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.786e-06/0.004869, allocations: 4 kB / 1.003 GB, free: 9.07 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.00487, allocations: 0 / 1.003 GB, free: 9.07 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.004871, allocations: 3.938 kB / 1.003 GB, free: 9.066 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.693e-05/0.004918, allocations: 61.03 kB / 1.003 GB, free: 8.988 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 6.572e-06/0.004924, allocations: 12.02 kB / 1.003 GB, free: 8.977 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.426e-06/0.004933, allocations: 0 / 1.003 GB, free: 8.977 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.336e-06/0.004936, allocations: 0 / 1.003 GB, free: 8.977 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.299e-05/0.004949, allocations: 3.938 kB / 1.003 GB, free: 8.973 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-06/0.00495, allocations: 0 / 1.003 GB, free: 8.973 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.05e-05/0.004971, allocations: 75.28 kB / 1.004 GB, free: 8.898 MB / 0.9167 GB Notification: Performance of sort global known variables: time 4.1e-08/0.004971, allocations: 4 kB / 1.004 GB, free: 8.895 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001426/0.005113, allocations: 11.94 kB / 1.004 GB, free: 8.883 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 (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.0001798/0.005293, allocations: 135.1 kB / 1.004 GB, free: 8.742 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 7.927e-05/0.005373, allocations: 3.938 kB / 1.004 GB, free: 8.738 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.005375, allocations: 4 kB / 1.004 GB, free: 8.734 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 3.066e-06/0.005378, allocations: 0 / 1.004 GB, free: 8.734 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001015/0.005479, allocations: 3.938 kB / 1.004 GB, free: 8.73 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000211/0.00569, allocations: 107.3 kB / 1.004 GB, free: 8.594 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.29e-05/0.005723, allocations: 55.36 kB / 1.004 GB, free: 8.52 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.814e-05/0.005741, allocations: 8.625 kB / 1.004 GB, free: 8.508 MB / 0.9167 GB Notification: Performance of SimCode: time 5.31e-07/0.005742, allocations: 4 kB / 1.004 GB, free: 8.504 MB / 0.9167 GB Notification: Performance of Templates: time 0.001542/0.007284, allocations: 0.5621 MB / 1.004 GB, free: 7.941 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_BesselJ1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 6.622635366395116]