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.001813/0.001813, 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.002224/0.002224, allocations: 202.1 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.488/1.488, 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.843/2.843, allocations: 476.7 MB / 0.7645 GB, free: 10.07 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.001987/0.001987, allocations: 63.89 kB / 1.109 GB, free: 6.496 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8882/0.8902, allocations: 168.7 MB / 1.274 GB, free: 4.379 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.003252/0.8934, allocations: 1.438 MB / 1.275 GB, free: 2.934 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0006139/0.894, allocations: 251.2 kB / 1.276 GB, free: 2.688 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.816e-05/0.8941, allocations: 0 / 1.276 GB, free: 2.688 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.238e-05/0.8941, allocations: 3.938 kB / 1.276 GB, free: 2.684 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.385e-05/0.8941, allocations: 11.94 kB / 1.276 GB, free: 2.672 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004161/0.8946, allocations: 51.88 kB / 1.276 GB, free: 2.621 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.275e-05/0.8946, allocations: 27.86 kB / 1.276 GB, free: 2.594 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.374e-05/0.8947, allocations: 7.984 kB / 1.276 GB, free: 2.586 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.304e-05/0.8948, allocations: 8 kB / 1.276 GB, free: 2.578 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.415e-05/0.8948, allocations: 11.92 kB / 1.276 GB, free: 2.566 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.091e-05/0.8948, allocations: 4 kB / 1.276 GB, free: 2.562 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001822/0.895, allocations: 59.88 kB / 1.276 GB, free: 2.504 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.642e-05/0.895, allocations: 7.984 kB / 1.276 GB, free: 2.496 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.013e-05/0.8951, allocations: 11.94 kB / 1.276 GB, free: 2.484 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001641/0.8952, allocations: 46.59 kB / 1.276 GB, free: 2.441 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.8952, allocations: 4 kB / 1.276 GB, free: 2.438 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.383e-06/0.8952, allocations: 3.938 kB / 1.276 GB, free: 2.434 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.8952, allocations: 0 / 1.276 GB, free: 2.434 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.0005435/0.8958, allocations: 351.3 kB / 1.276 GB, free: 2.039 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.8958, allocations: 8.031 kB / 1.276 GB, free: 2.031 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.719e-05/0.8959, allocations: 8.891 kB / 1.276 GB, free: 2.023 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001525/0.896, allocations: 164.4 kB / 1.276 GB, free: 1.824 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.267e-06/0.896, allocations: 384 / 1.276 GB, free: 1.824 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.401e-05/0.896, allocations: 4.375 kB / 1.276 GB, free: 1.82 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001971/0.8962, allocations: 50.23 kB / 1.277 GB, free: 1.766 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.8962, allocations: 192 / 1.277 GB, free: 1.766 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.8963, allocations: 3.938 kB / 1.277 GB, free: 1.762 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.8963, allocations: 4 kB / 1.277 GB, free: 1.758 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00017/0.8964, allocations: 27.97 kB / 1.277 GB, free: 1.73 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000395/0.8968, allocations: 256.9 kB / 1.277 GB, free: 1.43 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000144/0.897, allocations: 38.5 kB / 1.277 GB, free: 1.383 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.381e-05/0.8971, allocations: 20.91 kB / 1.277 GB, free: 1.359 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007393/0.8978, allocations: 457.5 kB / 1.277 GB, free: 0.8203 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.012e-05/0.8978, allocations: 30.56 kB / 1.277 GB, free: 0.7812 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.8978, allocations: 0 / 1.277 GB, free: 0.7812 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0003892/0.8982, allocations: 85.58 kB / 1.277 GB, free: 0.6914 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.121e-05/0.8983, allocations: 51.41 kB / 1.277 GB, free: 0.6289 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.196e-05/0.8984, allocations: 110 kB / 1.278 GB, free: 0.5117 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.651e-05/0.8984, allocations: 25.7 kB / 1.278 GB, free: 492 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.255e-05/0.8984, allocations: 88.09 kB / 1.278 GB, free: 400 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.128e-05/0.8985, allocations: 3.953 kB / 1.278 GB, free: 396 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.891e-05/0.8985, allocations: 13.72 kB / 1.278 GB, free: 376 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.8986, allocations: 318.8 kB / 1.278 GB, free: 48 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001072/0.8987, allocations: 15.97 kB / 1.278 GB, free: 32 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.627e-05/0.8988, allocations: 23.98 kB / 1.278 GB, free: 8 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001771/0.899, allocations: 32.83 kB / 1.278 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.899, allocations: 4 kB / 1.278 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002138/0.8992, allocations: 73.53 kB / 1.278 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.8992, allocations: 4 kB / 1.278 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.8992, allocations: 8.094 kB / 1.278 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.936e-05/0.8993, allocations: 0 / 1.278 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.694e-05/0.8993, allocations: 11.92 kB / 1.278 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.8993, allocations: 0 / 1.278 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.092e-05/0.8994, allocations: 7.938 kB / 1.278 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.8994, allocations: 3.984 kB / 1.278 GB, free: 15.86 MB / 0.9825 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 8.604e-05/0.8995, allocations: 117.8 kB / 1.278 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.445e-05/0.8995, allocations: 0 / 1.278 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002387/0.8998, allocations: 76.72 kB / 1.278 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.8998, allocations: 0 / 1.278 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.8998, allocations: 0 / 1.278 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.8998, allocations: 0 / 1.278 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001882/0.9, allocations: 161.6 kB / 1.278 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.9, allocations: 0 / 1.278 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.062e-05/0.9, allocations: 8 kB / 1.279 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.9, allocations: 0 / 1.279 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.9, allocations: 4.031 kB / 1.279 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.9, allocations: 0 / 1.279 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.9, allocations: 3.984 kB / 1.279 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002702/0.9003, allocations: 163.4 kB / 1.279 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.681e-05/0.9003, allocations: 81.09 kB / 1.279 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.278e-05/0.9004, allocations: 0 / 1.279 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.516e-05/0.9004, allocations: 8.031 kB / 1.279 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.104e-05/0.9005, allocations: 11.92 kB / 1.279 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.456e-06/0.9005, allocations: 0 / 1.279 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.708e-05/0.9005, allocations: 83.28 kB / 1.279 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.9005, allocations: 0 / 1.279 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000254/0.9008, allocations: 12 kB / 1.279 GB, free: 15.04 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.0002241/0.901, allocations: 119.7 kB / 1.279 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002396/0.9012, allocations: 35.97 kB / 1.279 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.9012, allocations: 0 / 1.279 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.069e-05/0.9013, allocations: 19.97 kB / 1.279 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002468/0.9016, allocations: 9.5 kB / 1.279 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003499/0.9019, allocations: 128.6 kB / 1.279 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000324/0.9023, allocations: 0.6729 MB / 1.28 GB, free: 14.01 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.914e-05/0.9023, allocations: 11.98 kB / 1.28 GB, free: 14 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.439e-05/0.9023, allocations: 7.438 kB / 1.28 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of SimCode: time 2.91e-07/0.9023, allocations: 3.938 kB / 1.28 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of Templates: time 0.003639/0.9059, allocations: 0.6642 MB / 1.28 GB, free: 13.32 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 cvode -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.856691986788064]