Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001803/0.001803, allocations: 84.52 kB / 19.77 MB, free: 1.875 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.002161/0.002161, allocations: 160.4 kB / 23.01 MB, free: 4.59 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.413/1.413, allocations: 177.2 MB / 203.4 MB, free: 8.891 MB / 190.1 MB " [Timeout remaining time 178] 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 2.855/2.855, allocations: 394.2 MB / 0.6386 GB, free: 11.92 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/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.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J0",fileNamePrefix="Buildings_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0") [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.002055/0.002055, allocations: 67.88 kB / 1.009 GB, free: 14.44 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7616/0.7636, allocations: 181.8 MB / 1.187 GB, free: 16.2 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.001557/0.7652, allocations: 0.6041 MB / 1.187 GB, free: 15.82 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0003945/0.7656, allocations: 165.5 kB / 1.187 GB, free: 15.72 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.658e-06/0.7656, allocations: 1.594 kB / 1.187 GB, free: 15.72 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 1.449e-05/0.7656, allocations: 0 / 1.187 GB, free: 15.72 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 4.869e-06/0.7656, allocations: 0 / 1.187 GB, free: 15.72 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003149/0.7659, allocations: 47.42 kB / 1.187 GB, free: 15.71 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 3.23e-05/0.766, allocations: 5.828 kB / 1.187 GB, free: 15.7 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 3.594e-05/0.766, allocations: 8.75 kB / 1.187 GB, free: 15.7 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 1.171e-05/0.766, allocations: 5.812 kB / 1.187 GB, free: 15.69 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 1.699e-05/0.766, allocations: 4.547 kB / 1.187 GB, free: 15.69 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 5.511e-06/0.766, allocations: 0 / 1.187 GB, free: 15.69 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001439/0.7662, allocations: 55.28 kB / 1.187 GB, free: 15.67 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 9.057e-06/0.7662, allocations: 0 / 1.187 GB, free: 15.67 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 1.106e-05/0.7662, allocations: 2.094 kB / 1.188 GB, free: 15.67 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001063/0.7663, allocations: 38.86 kB / 1.188 GB, free: 15.66 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.7663, allocations: 0.6562 kB / 1.188 GB, free: 15.66 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.232e-06/0.7663, allocations: 0 / 1.188 GB, free: 15.66 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.85e-06/0.7663, allocations: 0 / 1.188 GB, free: 15.66 MB / 1.076 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.0002014/0.7665, allocations: 239.3 kB / 1.188 GB, free: 15.41 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 2.857e-05/0.7665, allocations: 13.53 kB / 1.188 GB, free: 15.4 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.193e-05/0.7666, allocations: 10.06 kB / 1.188 GB, free: 15.39 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.163e-05/0.7666, allocations: 104.7 kB / 1.188 GB, free: 15.27 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.111e-06/0.7666, allocations: 384 / 1.188 GB, free: 15.27 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.102e-05/0.7666, allocations: 6.547 kB / 1.188 GB, free: 15.27 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.721e-05/0.7667, allocations: 28.33 kB / 1.188 GB, free: 15.23 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.7667, allocations: 192 / 1.188 GB, free: 15.23 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.422e-06/0.7667, allocations: 3.938 kB / 1.188 GB, free: 15.23 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.7667, allocations: 1.344 kB / 1.188 GB, free: 15.23 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.614e-05/0.7667, allocations: 2.016 kB / 1.188 GB, free: 15.23 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.528e-05/0.7668, allocations: 103.2 kB / 1.188 GB, free: 15.1 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 3.259e-05/0.7668, allocations: 21.83 kB / 1.188 GB, free: 15.07 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.247e-05/0.7668, allocations: 10.95 kB / 1.188 GB, free: 15.06 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000497/0.7673, allocations: 65.8 kB / 1.188 GB, free: 15.06 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.181e-05/0.7673, allocations: 32.69 kB / 1.188 GB, free: 15.02 MB / 1.076 GB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.7673, allocations: 0 / 1.188 GB, free: 15.02 MB / 1.076 GB Notification: Performance of matching and sorting (n=1): time 0.0001076/0.7675, allocations: 44.45 kB / 1.188 GB, free: 14.98 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.567e-05/0.7675, allocations: 55.34 kB / 1.188 GB, free: 14.91 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.34e-05/0.7675, allocations: 91.89 kB / 1.188 GB, free: 14.82 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.859e-06/0.7675, allocations: 25.7 kB / 1.188 GB, free: 14.79 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 6.983e-06/0.7675, allocations: 80.14 kB / 1.188 GB, free: 14.7 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.449e-05/0.7675, allocations: 1.375 kB / 1.188 GB, free: 14.7 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.022e-05/0.7675, allocations: 11.84 kB / 1.188 GB, free: 14.69 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 3.359e-05/0.7676, allocations: 316.9 kB / 1.189 GB, free: 14.37 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.674e-06/0.7676, allocations: 1.375 kB / 1.189 GB, free: 14.37 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.711e-06/0.7676, allocations: 2.109 kB / 1.189 GB, free: 14.37 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.871e-05/0.7676, allocations: 12.23 kB / 1.189 GB, free: 14.36 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.7676, allocations: 0 / 1.189 GB, free: 14.36 MB / 1.076 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.99e-05/0.7676, allocations: 32.7 kB / 1.189 GB, free: 14.33 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.013e-05/0.7677, allocations: 4.125 kB / 1.189 GB, free: 14.33 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.7677, allocations: 5.312 kB / 1.189 GB, free: 14.32 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.7677, allocations: 0.75 kB / 1.189 GB, free: 14.32 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.259e-05/0.7677, allocations: 9.25 kB / 1.189 GB, free: 14.32 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.7677, allocations: 2.031 kB / 1.189 GB, free: 14.32 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.356e-06/0.7677, allocations: 0 / 1.189 GB, free: 14.32 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.248e-06/0.7677, allocations: 4.031 kB / 1.189 GB, free: 14.31 MB / 1.076 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 3.221e-05/0.7678, allocations: 113.2 kB / 1.189 GB, free: 14.2 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.172e-06/0.7678, allocations: 4.5 kB / 1.189 GB, free: 14.19 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.491e-05/0.7678, allocations: 34.75 kB / 1.189 GB, free: 14.16 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.7678, allocations: 5.312 kB / 1.189 GB, free: 14.15 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.7678, allocations: 8.688 kB / 1.189 GB, free: 14.14 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.944e-06/0.7678, allocations: 0 / 1.189 GB, free: 14.14 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.189e-05/0.7679, allocations: 96.02 kB / 1.189 GB, free: 14.02 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.7679, allocations: 0 / 1.189 GB, free: 14.02 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.117e-05/0.7679, allocations: 3.312 kB / 1.189 GB, free: 14.02 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.273e-06/0.7679, allocations: 4.031 kB / 1.189 GB, free: 14.02 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.797e-06/0.7679, allocations: 3.938 kB / 1.189 GB, free: 14.02 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.7679, allocations: 2.172 kB / 1.189 GB, free: 14.02 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.7679, allocations: 3.938 kB / 1.189 GB, free: 14.01 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.274e-05/0.7679, allocations: 57.98 kB / 1.189 GB, free: 13.95 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 4.088e-06/0.7679, allocations: 1.984 kB / 1.189 GB, free: 13.95 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.865e-06/0.7679, allocations: 0.6562 kB / 1.189 GB, free: 13.95 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.953e-06/0.7679, allocations: 1.375 kB / 1.189 GB, free: 13.95 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.317e-05/0.768, allocations: 4.641 kB / 1.189 GB, free: 13.94 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-06/0.768, allocations: 1.375 kB / 1.189 GB, free: 13.94 MB / 1.076 GB Notification: Performance of sorting global known variables: time 9.067e-06/0.768, allocations: 79.31 kB / 1.189 GB, free: 13.86 MB / 1.076 GB Notification: Performance of sort global known variables: time 6e-08/0.768, allocations: 0 / 1.189 GB, free: 13.86 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0001954/0.7682, allocations: 11.8 kB / 1.189 GB, free: 13.86 MB / 1.076 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.0001421/0.7683, allocations: 120 kB / 1.189 GB, free: 13.76 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 6.178e-05/0.7684, allocations: 8.672 kB / 1.189 GB, free: 13.76 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.7684, allocations: 4.062 kB / 1.189 GB, free: 13.75 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 6.732e-06/0.7684, allocations: 1.984 kB / 1.189 GB, free: 13.75 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001222/0.7685, allocations: 1.375 kB / 1.189 GB, free: 13.75 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001255/0.7686, allocations: 85.61 kB / 1.189 GB, free: 13.65 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.088e-05/0.7686, allocations: 54.67 kB / 1.19 GB, free: 13.58 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 8.636e-06/0.7687, allocations: 0.7031 kB / 1.19 GB, free: 13.58 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.978e-06/0.7687, allocations: 9.875 kB / 1.19 GB, free: 13.57 MB / 1.076 GB Notification: Performance of SimCode: time 2.8e-07/0.7687, allocations: 0 / 1.19 GB, free: 13.57 MB / 1.076 GB Notification: Performance of Templates: time 0.002404/0.7711, allocations: 410.1 kB / 1.19 GB, free: 13.51 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_BesselJ0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.361586530110799]