Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.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.001412/0.001412, 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.001511/0.001511, allocations: 200.8 kB / 22.17 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.448/1.448, 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.794/2.794, 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.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J0.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J0.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002964/0.002964, allocations: 67.89 kB / 1.109 GB, free: 6.547 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8565/0.8595, allocations: 168.7 MB / 1.274 GB, free: 4.539 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.002715/0.8622, allocations: 1.442 MB / 1.275 GB, free: 3.09 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.000585/0.8628, allocations: 247.3 kB / 1.276 GB, free: 2.848 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.63e-05/0.8628, allocations: 0 / 1.276 GB, free: 2.848 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.118e-05/0.8628, allocations: 0 / 1.276 GB, free: 2.848 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.542e-05/0.8629, allocations: 7.938 kB / 1.276 GB, free: 2.84 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003836/0.8633, allocations: 59.81 kB / 1.276 GB, free: 2.781 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.737e-05/0.8634, allocations: 23.86 kB / 1.276 GB, free: 2.758 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.589e-05/0.8634, allocations: 8 kB / 1.276 GB, free: 2.75 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.115e-05/0.8635, allocations: 4 kB / 1.276 GB, free: 2.746 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.332e-05/0.8635, allocations: 15.92 kB / 1.276 GB, free: 2.73 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.2e-05/0.8635, allocations: 4 kB / 1.276 GB, free: 2.727 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001568/0.8637, allocations: 67.86 kB / 1.276 GB, free: 2.66 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.207e-06/0.8637, allocations: 0 / 1.276 GB, free: 2.66 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.757e-05/0.8637, allocations: 7.938 kB / 1.276 GB, free: 2.652 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001517/0.8639, allocations: 54.59 kB / 1.276 GB, free: 2.602 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.8639, allocations: 3.984 kB / 1.276 GB, free: 2.598 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.734e-06/0.8639, allocations: 0 / 1.276 GB, free: 2.598 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.8639, allocations: 7.875 kB / 1.276 GB, free: 2.59 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005416/0.8644, allocations: 351.3 kB / 1.276 GB, free: 2.195 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.8645, allocations: 8.031 kB / 1.276 GB, free: 2.188 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.407e-05/0.8645, allocations: 4.891 kB / 1.276 GB, free: 2.184 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001571/0.8647, allocations: 164.4 kB / 1.276 GB, free: 1.984 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.017e-05/0.8647, allocations: 4.375 kB / 1.276 GB, free: 1.98 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.289e-05/0.8647, allocations: 384 / 1.276 GB, free: 1.98 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001921/0.8649, allocations: 54.17 kB / 1.277 GB, free: 1.922 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.8649, allocations: 192 / 1.277 GB, free: 1.922 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.8649, allocations: 3.938 kB / 1.277 GB, free: 1.918 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.8649, allocations: 8 kB / 1.277 GB, free: 1.91 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001703/0.8651, allocations: 31.95 kB / 1.277 GB, free: 1.879 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003511/0.8654, allocations: 241 kB / 1.277 GB, free: 1.594 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001397/0.8656, allocations: 46.42 kB / 1.277 GB, free: 1.539 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.574e-05/0.8657, allocations: 24.91 kB / 1.277 GB, free: 1.512 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007459/0.8664, allocations: 449.5 kB / 1.277 GB, free: 0.9805 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.228e-05/0.8664, allocations: 30.56 kB / 1.277 GB, free: 0.9414 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.8664, allocations: 0 / 1.277 GB, free: 0.9414 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0004066/0.8668, allocations: 85.64 kB / 1.277 GB, free: 0.8516 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.827e-05/0.8669, allocations: 51.41 kB / 1.277 GB, free: 0.7891 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.1e-05/0.867, allocations: 109.8 kB / 1.278 GB, free: 0.6719 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.562e-05/0.867, allocations: 29.64 kB / 1.278 GB, free: 0.6367 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.214e-05/0.867, allocations: 84.09 kB / 1.278 GB, free: 0.5508 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.001e-05/0.8671, allocations: 7.953 kB / 1.278 GB, free: 0.543 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.165e-05/0.8671, allocations: 17.84 kB / 1.278 GB, free: 0.5195 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.8672, allocations: 314.8 kB / 1.278 GB, free: 208 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.889e-05/0.8673, allocations: 15.98 kB / 1.278 GB, free: 192 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.778e-05/0.8674, allocations: 15.98 kB / 1.278 GB, free: 176 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001583/0.8676, allocations: 40.88 kB / 1.278 GB, free: 132 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.8676, allocations: 0 / 1.278 GB, free: 132 kB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002049/0.8678, allocations: 69.61 kB / 1.278 GB, free: 56 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.8678, allocations: 5.719 kB / 1.278 GB, free: 52 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.8678, allocations: 0 / 1.278 GB, free: 52 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.228e-05/0.8678, allocations: 4 kB / 1.278 GB, free: 48 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.462e-05/0.8679, allocations: 11.92 kB / 1.278 GB, free: 36 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.8679, allocations: 3.938 kB / 1.278 GB, free: 32 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.407e-05/0.868, allocations: 15.95 kB / 1.278 GB, free: 16 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.868, allocations: 0 / 1.278 GB, free: 16 kB / 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 (2): * Single equations (assignments): 2 * 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 0.0001007/0.8681, allocations: 113.8 kB / 1.278 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.343e-05/0.8681, allocations: 0 / 1.278 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002321/0.8683, allocations: 68.78 kB / 1.278 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.8683, allocations: 4 kB / 1.278 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.8683, allocations: 3.938 kB / 1.278 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.8683, allocations: 8.016 kB / 1.278 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001835/0.8685, allocations: 157.6 kB / 1.278 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.8685, allocations: 0 / 1.278 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.031e-05/0.8686, allocations: 11.98 kB / 1.279 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.8686, allocations: 0 / 1.279 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.535e-06/0.8686, allocations: 3.938 kB / 1.279 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.8686, allocations: 4 kB / 1.279 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.8686, allocations: 0 / 1.279 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002627/0.8689, allocations: 171.4 kB / 1.279 GB, free: 15.4 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.402e-05/0.8689, allocations: 77.11 kB / 1.279 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.301e-05/0.8689, allocations: 0 / 1.279 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.773e-05/0.869, allocations: 7.984 kB / 1.279 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.124e-05/0.869, allocations: 4 kB / 1.279 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-06/0.869, allocations: 0 / 1.279 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.787e-05/0.8691, allocations: 79.28 kB / 1.279 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.8691, allocations: 4.031 kB / 1.279 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002434/0.8693, allocations: 19.98 kB / 1.279 GB, free: 15.2 MB / 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 (2): * Single equations (assignments): 2 * 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.0002188/0.8696, allocations: 115.7 kB / 1.279 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002399/0.8698, allocations: 43.89 kB / 1.279 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.8698, allocations: 4 kB / 1.279 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.586e-05/0.8699, allocations: 11.98 kB / 1.279 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002468/0.8701, allocations: 11.94 kB / 1.279 GB, free: 15 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003221/0.8705, allocations: 109.5 kB / 1.279 GB, free: 14.87 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003541/0.8708, allocations: 0.6768 MB / 1.28 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.471e-05/0.8708, allocations: 8.125 kB / 1.28 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.341e-05/0.8709, allocations: 7.438 kB / 1.28 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of SimCode: time 3.21e-07/0.8709, allocations: 0 / 1.28 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of Templates: time 0.003444/0.8743, allocations: 0.6688 MB / 1.28 GB, free: 13.49 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_BesselJ0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.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.87863295711577]