Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.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.001842/0.001842, allocations: 115.5 kB / 18.88 MB, free: 3.062 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.002471/0.002471, allocations: 193.4 kB / 22.17 MB, free: 5.652 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.542/1.542, allocations: 225.6 MB / 250.9 MB, free: 13.29 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.865/2.865, allocations: 476.7 MB / 0.7645 GB, free: 10.14 MB / 0.6231 GB " [Timeout remaining time 176] 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.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J1.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J1.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001983/0.001983, allocations: 71.88 kB / 1.109 GB, free: 6.578 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8615/0.8635, allocations: 168.7 MB / 1.274 GB, free: 4.574 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.002866/0.8663, allocations: 1.435 MB / 1.275 GB, free: 3.133 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0006035/0.8669, allocations: 267.2 kB / 1.276 GB, free: 2.871 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.976e-05/0.867, allocations: 0 / 1.276 GB, free: 2.871 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.633e-05/0.867, allocations: 3.938 kB / 1.276 GB, free: 2.867 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.064e-05/0.867, allocations: 0 / 1.276 GB, free: 2.867 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003673/0.8674, allocations: 59.81 kB / 1.276 GB, free: 2.809 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.635e-05/0.8675, allocations: 23.92 kB / 1.276 GB, free: 2.785 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.706e-05/0.8676, allocations: 7.938 kB / 1.276 GB, free: 2.777 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.89e-05/0.8676, allocations: 15.98 kB / 1.276 GB, free: 2.762 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.67e-05/0.8677, allocations: 11.94 kB / 1.276 GB, free: 2.75 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.087e-06/0.8677, allocations: 0 / 1.276 GB, free: 2.75 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00016/0.8678, allocations: 71.8 kB / 1.276 GB, free: 2.68 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.246e-05/0.8678, allocations: 3.984 kB / 1.276 GB, free: 2.676 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.38e-05/0.8679, allocations: 11.94 kB / 1.276 GB, free: 2.664 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001468/0.868, allocations: 46.59 kB / 1.276 GB, free: 2.621 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.868, allocations: 0 / 1.276 GB, free: 2.621 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.242e-06/0.868, allocations: 0 / 1.276 GB, free: 2.621 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.451e-06/0.868, allocations: 0 / 1.276 GB, free: 2.621 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.000561/0.8686, allocations: 355.3 kB / 1.276 GB, free: 2.223 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.8686, allocations: 15.97 kB / 1.276 GB, free: 2.207 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.373e-05/0.8687, allocations: 4.891 kB / 1.276 GB, free: 2.203 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000172/0.8688, allocations: 168.4 kB / 1.276 GB, free: 2 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.437e-06/0.8688, allocations: 4.375 kB / 1.276 GB, free: 1.996 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.372e-05/0.8689, allocations: 384 / 1.276 GB, free: 1.996 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001894/0.869, allocations: 50.23 kB / 1.277 GB, free: 1.941 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.8691, allocations: 192 / 1.277 GB, free: 1.941 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.8691, allocations: 3.938 kB / 1.277 GB, free: 1.938 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.8691, allocations: 4 kB / 1.277 GB, free: 1.934 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001719/0.8692, allocations: 31.97 kB / 1.277 GB, free: 1.902 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003944/0.8696, allocations: 248.9 kB / 1.277 GB, free: 1.609 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001553/0.8698, allocations: 38.5 kB / 1.277 GB, free: 1.562 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.081e-05/0.8699, allocations: 20.91 kB / 1.277 GB, free: 1.539 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008225/0.8707, allocations: 457.5 kB / 1.277 GB, free: 1 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.038e-05/0.8707, allocations: 34.56 kB / 1.277 GB, free: 0.957 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.8707, allocations: 4 kB / 1.277 GB, free: 0.9531 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0003898/0.8711, allocations: 81.58 kB / 1.277 GB, free: 0.8672 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.303e-05/0.8712, allocations: 51.41 kB / 1.277 GB, free: 0.8047 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.862e-05/0.8713, allocations: 105.8 kB / 1.278 GB, free: 0.6914 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.879e-05/0.8713, allocations: 25.7 kB / 1.278 GB, free: 0.6602 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.137e-05/0.8713, allocations: 84.09 kB / 1.278 GB, free: 0.5742 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.003e-05/0.8714, allocations: 8.078 kB / 1.278 GB, free: 0.5664 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.626e-05/0.8714, allocations: 17.72 kB / 1.278 GB, free: 0.543 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.8715, allocations: 314.8 kB / 1.278 GB, free: 232 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.476e-05/0.8716, allocations: 11.98 kB / 1.278 GB, free: 220 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.411e-05/0.8717, allocations: 19.98 kB / 1.278 GB, free: 200 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001672/0.8719, allocations: 48.88 kB / 1.278 GB, free: 148 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.8719, allocations: 0 / 1.278 GB, free: 148 kB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001978/0.8721, allocations: 65.73 kB / 1.278 GB, free: 76 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.8721, allocations: 8 kB / 1.278 GB, free: 68 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.8721, allocations: 0 / 1.278 GB, free: 68 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.8721, allocations: 0 / 1.278 GB, free: 68 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.709e-05/0.8722, allocations: 11.97 kB / 1.278 GB, free: 56 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.179e-06/0.8722, allocations: 0 / 1.278 GB, free: 56 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.034e-05/0.8722, allocations: 19.89 kB / 1.278 GB, free: 36 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.084e-06/0.8723, allocations: 4 kB / 1.278 GB, free: 32 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.0001094/0.8724, allocations: 117.7 kB / 1.278 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.325e-05/0.8724, allocations: 0 / 1.278 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002286/0.8726, allocations: 76.72 kB / 1.278 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.8726, allocations: 0 / 1.278 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.8726, allocations: 4.031 kB / 1.278 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.8726, allocations: 0 / 1.278 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001753/0.8728, allocations: 161.6 kB / 1.279 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.8728, allocations: 0 / 1.279 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.074e-05/0.8729, allocations: 11.98 kB / 1.279 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.8729, allocations: 0 / 1.279 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.8729, allocations: 0 / 1.279 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.8729, allocations: 0 / 1.279 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.8729, allocations: 0 / 1.279 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002593/0.8731, allocations: 167.4 kB / 1.279 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.319e-05/0.8732, allocations: 77.11 kB / 1.279 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.423e-05/0.8732, allocations: 4 kB / 1.279 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.498e-05/0.8733, allocations: 11.92 kB / 1.279 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.753e-05/0.8733, allocations: 4 kB / 1.279 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/0.8733, allocations: 0 / 1.279 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.864e-05/0.8734, allocations: 83.31 kB / 1.279 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.8734, allocations: 0 / 1.279 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002494/0.8736, allocations: 15.98 kB / 1.279 GB, free: 15.21 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.0002284/0.8738, allocations: 119.7 kB / 1.279 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002322/0.8741, allocations: 43.95 kB / 1.279 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.644e-06/0.8741, allocations: 0 / 1.279 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.354e-05/0.8741, allocations: 15.98 kB / 1.279 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002436/0.8744, allocations: 7.875 kB / 1.279 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003241/0.8747, allocations: 121.4 kB / 1.279 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003265/0.875, allocations: 0.6768 MB / 1.28 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.352e-05/0.8751, allocations: 8.125 kB / 1.28 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.102e-05/0.8751, allocations: 7.438 kB / 1.28 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of SimCode: time 3e-07/0.8751, allocations: 0 / 1.28 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of Templates: time 0.003314/0.8784, allocations: 0.6635 MB / 1.28 GB, free: 13.5 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_BesselJ1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.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: 8.948240112047642]