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.001742/0.001742, allocations: 114.8 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.001945/0.001945, allocations: 202.4 kB / 22.18 MB, free: 5.207 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.621/1.621, allocations: 225.6 MB / 250.9 MB, free: 13.27 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.946/2.946, allocations: 476.7 MB / 0.7645 GB, free: 10.1 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.002/0.002, allocations: 72.12 kB / 1.109 GB, free: 6.535 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8884/0.8904, allocations: 168.7 MB / 1.274 GB, free: 4.531 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.003209/0.8936, allocations: 1.45 MB / 1.275 GB, free: 3.074 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0006269/0.8942, allocations: 263.2 kB / 1.276 GB, free: 2.816 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.069e-05/0.8943, allocations: 4 kB / 1.276 GB, free: 2.812 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.548e-05/0.8943, allocations: 3.938 kB / 1.276 GB, free: 2.809 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.486e-05/0.8943, allocations: 3.938 kB / 1.276 GB, free: 2.805 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004229/0.8948, allocations: 63.81 kB / 1.276 GB, free: 2.742 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.726e-05/0.8948, allocations: 19.92 kB / 1.276 GB, free: 2.723 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.798e-05/0.8949, allocations: 4 kB / 1.276 GB, free: 2.719 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.046e-05/0.895, allocations: 4 kB / 1.276 GB, free: 2.715 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.622e-05/0.895, allocations: 15.92 kB / 1.276 GB, free: 2.699 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.169e-05/0.895, allocations: 4 kB / 1.276 GB, free: 2.695 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001556/0.8952, allocations: 67.86 kB / 1.276 GB, free: 2.629 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.094e-05/0.8952, allocations: 4 kB / 1.276 GB, free: 2.625 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.617e-05/0.8952, allocations: 11.92 kB / 1.276 GB, free: 2.613 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.00016/0.8954, allocations: 58.47 kB / 1.276 GB, free: 2.559 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.8954, allocations: 4 kB / 1.276 GB, free: 2.555 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.683e-06/0.8954, allocations: 0 / 1.276 GB, free: 2.555 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.183e-06/0.8954, allocations: 0 / 1.276 GB, free: 2.555 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.0005823/0.896, allocations: 347.3 kB / 1.276 GB, free: 2.164 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.896, allocations: 8.031 kB / 1.276 GB, free: 2.156 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.173e-05/0.896, allocations: 8.891 kB / 1.276 GB, free: 2.148 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002198/0.8963, allocations: 168.4 kB / 1.276 GB, free: 1.945 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.946e-06/0.8963, allocations: 384 / 1.276 GB, free: 1.945 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.373e-05/0.8963, allocations: 384 / 1.276 GB, free: 1.945 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001951/0.8965, allocations: 50.23 kB / 1.277 GB, free: 1.891 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.437e-06/0.8965, allocations: 192 / 1.277 GB, free: 1.891 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.8965, allocations: 3.938 kB / 1.277 GB, free: 1.887 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.8965, allocations: 0 / 1.277 GB, free: 1.887 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001785/0.8967, allocations: 39.91 kB / 1.277 GB, free: 1.848 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003935/0.8971, allocations: 245 kB / 1.277 GB, free: 1.559 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001395/0.8972, allocations: 38.5 kB / 1.277 GB, free: 1.512 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.328e-05/0.8973, allocations: 20.91 kB / 1.277 GB, free: 1.488 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008071/0.8981, allocations: 461.5 kB / 1.277 GB, free: 0.9453 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.896e-05/0.8981, allocations: 30.56 kB / 1.277 GB, free: 0.9062 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.372e-06/0.8981, allocations: 0 / 1.277 GB, free: 0.9062 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0003948/0.8985, allocations: 89.58 kB / 1.277 GB, free: 0.8125 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.346e-05/0.8986, allocations: 51.41 kB / 1.277 GB, free: 0.75 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.833e-05/0.8987, allocations: 101.8 kB / 1.278 GB, free: 0.6406 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.755e-05/0.8987, allocations: 25.7 kB / 1.278 GB, free: 0.6094 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.477e-05/0.8988, allocations: 88.09 kB / 1.278 GB, free: 0.5195 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.218e-05/0.8988, allocations: 7.953 kB / 1.278 GB, free: 0.5117 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.043e-05/0.8988, allocations: 9.719 kB / 1.278 GB, free: 0.4961 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.00016/0.899, allocations: 323 kB / 1.278 GB, free: 176 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.14e-05/0.8991, allocations: 19.92 kB / 1.278 GB, free: 156 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.137e-05/0.8991, allocations: 11.98 kB / 1.278 GB, free: 144 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001635/0.8993, allocations: 40.77 kB / 1.278 GB, free: 100 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.8993, allocations: 0 / 1.278 GB, free: 100 kB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002008/0.8995, allocations: 77.66 kB / 1.278 GB, free: 16 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.8995, allocations: 5.719 kB / 1.278 GB, free: 12 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.8995, allocations: 3.938 kB / 1.278 GB, free: 8 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.8995, allocations: 0 / 1.278 GB, free: 8 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/0.8996, allocations: 12.22 kB / 1.278 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.8996, allocations: 0 / 1.278 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.032e-05/0.8997, allocations: 11.88 kB / 1.278 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.09e-06/0.8997, allocations: 0 / 1.278 GB, free: 15.98 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 9.518e-05/0.8998, allocations: 115.1 kB / 1.278 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.45e-05/0.8998, allocations: 7.984 kB / 1.278 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002386/0.9001, allocations: 76.72 kB / 1.278 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.9001, allocations: 0 / 1.278 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.9001, allocations: 0 / 1.278 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.9001, allocations: 4 kB / 1.278 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002102/0.9003, allocations: 161.6 kB / 1.279 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.9003, allocations: 4.031 kB / 1.279 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.481e-05/0.9003, allocations: 4 kB / 1.279 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.9003, allocations: 3.984 kB / 1.279 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.9004, allocations: 0 / 1.279 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.9004, allocations: 4 kB / 1.279 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.9004, allocations: 0 / 1.279 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002776/0.9006, allocations: 175.3 kB / 1.279 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.961e-05/0.9007, allocations: 77.11 kB / 1.279 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.311e-05/0.9007, allocations: 0 / 1.279 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.281e-05/0.9008, allocations: 4 kB / 1.279 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.537e-05/0.9008, allocations: 3.984 kB / 1.279 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-06/0.9008, allocations: 0 / 1.279 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.997e-05/0.9009, allocations: 79.28 kB / 1.279 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9009, allocations: 0 / 1.279 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002403/0.9011, allocations: 20 kB / 1.279 GB, free: 15.16 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.0002224/0.9013, allocations: 124.7 kB / 1.279 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000228/0.9016, allocations: 35.95 kB / 1.279 GB, free: 15 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.9016, allocations: 0 / 1.279 GB, free: 15 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.546e-05/0.9017, allocations: 23.98 kB / 1.279 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00024/0.9019, allocations: 15.92 kB / 1.279 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003319/0.9022, allocations: 109.5 kB / 1.279 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003865/0.9026, allocations: 0.6806 MB / 1.28 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.034e-05/0.9026, allocations: 3.938 kB / 1.28 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.314e-05/0.9027, allocations: 11.44 kB / 1.28 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of SimCode: time 4.61e-07/0.9027, allocations: 64 / 1.28 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of Templates: time 0.003525/0.9062, allocations: 0.6606 MB / 1.28 GB, free: 13.45 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 cvode -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: 9.176344515755773]