Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.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.001326/0.001326, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001497/0.001497, allocations: 219.3 kB / 22.99 MB, free: 4.914 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.445/1.445, allocations: 230.6 MB / 256.8 MB, free: 7.824 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.193/3.193, allocations: 0.4892 GB / 0.7951 GB, free: 35.61 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J1.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J1.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1") [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.002864/0.002864, allocations: 68.44 kB / 1.154 GB, free: 25.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.387/0.3898, allocations: 176.1 MB / 1.326 GB, free: 1.895 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.002975/0.3928, allocations: 1.461 MB / 1.328 GB, free: 440 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0006146/0.3934, allocations: 235.3 kB / 1.328 GB, free: 204 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.768e-05/0.3935, allocations: 0 / 1.328 GB, free: 204 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.339e-05/0.3935, allocations: 4 kB / 1.328 GB, free: 200 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.719e-05/0.3935, allocations: 3.938 kB / 1.328 GB, free: 196 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003978/0.3939, allocations: 64.67 kB / 1.328 GB, free: 132 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 6.437e-05/0.394, allocations: 23.94 kB / 1.328 GB, free: 108 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.3941, allocations: 7.984 kB / 1.328 GB, free: 100 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 4.338e-05/0.3942, allocations: 7.938 kB / 1.328 GB, free: 92 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.553e-05/0.3942, allocations: 11.98 kB / 1.328 GB, free: 80 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 9.799e-06/0.3942, allocations: 0 / 1.328 GB, free: 80 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00015/0.3944, allocations: 55.89 kB / 1.328 GB, free: 24 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.035e-05/0.3944, allocations: 15.91 kB / 1.328 GB, free: 8 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.119e-05/0.3944, allocations: 4 kB / 1.328 GB, free: 4 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001783/0.3946, allocations: 59.86 kB / 1.328 GB, free: 15.94 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.3946, allocations: 4 kB / 1.328 GB, free: 15.94 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.944e-06/0.3946, allocations: 0 / 1.328 GB, free: 15.94 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.192e-06/0.3946, allocations: 4 kB / 1.328 GB, free: 15.93 MB / 1.029 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.0005084/0.3951, allocations: 270.2 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.3952, allocations: 8.031 kB / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.955e-05/0.3952, allocations: 8.922 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001256/0.3953, allocations: 106.5 kB / 1.329 GB, free: 15.49 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.3953, allocations: 384 / 1.329 GB, free: 15.49 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.129e-05/0.3953, allocations: 4.375 kB / 1.329 GB, free: 15.49 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001791/0.3955, allocations: 54.17 kB / 1.329 GB, free: 15.43 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.3955, allocations: 192 / 1.329 GB, free: 15.43 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.3955, allocations: 7.938 kB / 1.329 GB, free: 15.42 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.3955, allocations: 0 / 1.329 GB, free: 15.42 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00025/0.3958, allocations: 31.97 kB / 1.329 GB, free: 15.39 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003207/0.3961, allocations: 196.6 kB / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001372/0.3963, allocations: 38.5 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.889e-05/0.3963, allocations: 20.89 kB / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000552/0.3969, allocations: 83.86 kB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.629e-05/0.3969, allocations: 34.56 kB / 1.329 GB, free: 14.97 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.3969, allocations: 0 / 1.329 GB, free: 14.97 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0003612/0.3973, allocations: 85.67 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.233e-05/0.3973, allocations: 55.41 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.3974, allocations: 105.8 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.165e-05/0.3975, allocations: 25.7 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.974e-05/0.3975, allocations: 80.14 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.341e-05/0.3975, allocations: 11.95 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.394e-05/0.3976, allocations: 9.719 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001555/0.3977, allocations: 318.8 kB / 1.33 GB, free: 14.24 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.221e-05/0.3978, allocations: 15.98 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001749/0.398, allocations: 16.02 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001522/0.3981, allocations: 36.83 kB / 1.33 GB, free: 14.17 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.3981, allocations: 0 / 1.33 GB, free: 14.17 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002015/0.3983, allocations: 69.59 kB / 1.33 GB, free: 14.1 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.3984, allocations: 4 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.3984, allocations: 96 / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.3984, allocations: 7.938 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.199e-05/0.3985, allocations: 15.98 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.3985, allocations: 0 / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.885e-05/0.3985, allocations: 7.984 kB / 1.33 GB, free: 14.06 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.059e-06/0.3985, allocations: 0 / 1.33 GB, free: 14.06 MB / 1.029 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.723e-05/0.3986, allocations: 108.1 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.727e-05/0.3986, allocations: 15.83 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002359/0.3989, allocations: 76.97 kB / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.3989, allocations: 0 / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.3989, allocations: 4 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.3989, allocations: 0 / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001551/0.399, allocations: 105.3 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.399, allocations: 0 / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.928e-05/0.3991, allocations: 11.92 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.3991, allocations: 3.938 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.3991, allocations: 4 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.3991, allocations: 0 / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.3991, allocations: 4.031 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002536/0.3994, allocations: 155.5 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.718e-05/0.3994, allocations: 7.875 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.237e-05/0.3994, allocations: 0 / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.471e-05/0.3995, allocations: 15.92 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.89e-05/0.3995, allocations: 4 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.3995, allocations: 0 / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.914e-05/0.3996, allocations: 79.28 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3996, allocations: 4.031 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002485/0.3998, allocations: 15.98 kB / 1.33 GB, free: 13.39 MB / 1.029 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.0002327/0.4001, allocations: 115.2 kB / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002225/0.4003, allocations: 39.89 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.4003, allocations: 4.062 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.287e-05/0.4004, allocations: 15.98 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002422/0.4006, allocations: 0 / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003357/0.4009, allocations: 147 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.26e-05/0.401, allocations: 59.34 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.581e-05/0.401, allocations: 7.438 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of SimCode: time 3.31e-07/0.401, allocations: 0 / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of Templates: time 0.002687/0.4037, allocations: 0.779 MB / 1.332 GB, free: 12.18 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_BesselJ1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.373131819069386]