Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.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.001792/0.001792, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002161/0.002161, allocations: 216.4 kB / 22.25 MB, free: 4.855 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.566/1.566, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.863/2.863, allocations: 476 MB / 0.7699 GB, free: 4.734 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J1",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J1",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.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.002164/0.002164, allocations: 69.25 kB / 1.117 GB, free: 41.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2953/0.2975, allocations: 170 MB / 1.283 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.001866/0.2994, allocations: 0.5974 MB / 1.284 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.000514/0.2999, allocations: 171.6 kB / 1.284 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.243e-05/0.2999, allocations: 4 kB / 1.284 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.138e-05/0.2999, allocations: 3.938 kB / 1.284 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.08e-06/0.2999, allocations: 3.938 kB / 1.284 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003683/0.3003, allocations: 51.84 kB / 1.284 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 3.803e-05/0.3003, allocations: 7.969 kB / 1.284 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.984e-05/0.3003, allocations: 0 / 1.284 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.189e-05/0.3004, allocations: 0 / 1.284 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 1.953e-05/0.3004, allocations: 4 kB / 1.284 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.062e-06/0.3004, allocations: 0 / 1.284 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001711/0.3005, allocations: 55.88 kB / 1.284 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.01e-05/0.3006, allocations: 0 / 1.284 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 1.457e-05/0.3006, allocations: 8 kB / 1.284 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000126/0.3007, allocations: 43.88 kB / 1.284 GB, free: 11 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.3007, allocations: 0 / 1.284 GB, free: 11 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.262e-06/0.3007, allocations: 0 / 1.284 GB, free: 11 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.067e-06/0.3007, allocations: 0 / 1.284 GB, free: 11 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000313/0.301, allocations: 238.4 kB / 1.284 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.3011, allocations: 8.031 kB / 1.284 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.527e-05/0.3011, allocations: 0.9375 kB / 1.284 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.384e-05/0.3012, allocations: 110.5 kB / 1.284 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.3012, allocations: 4.375 kB / 1.284 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.192e-06/0.3012, allocations: 384 / 1.284 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.479e-05/0.3013, allocations: 34.2 kB / 1.284 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.3013, allocations: 192 / 1.284 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.806e-06/0.3013, allocations: 3.938 kB / 1.284 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.517e-06/0.3013, allocations: 0 / 1.284 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.71e-05/0.3013, allocations: 7.938 kB / 1.284 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001316/0.3014, allocations: 93.33 kB / 1.284 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 4.995e-05/0.3015, allocations: 22.61 kB / 1.284 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.472e-05/0.3015, allocations: 8.797 kB / 1.284 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000599/0.3021, allocations: 75.97 kB / 1.285 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.376e-05/0.3021, allocations: 38.56 kB / 1.285 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.3021, allocations: 0 / 1.285 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0001392/0.3023, allocations: 41.56 kB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.383e-05/0.3023, allocations: 51.41 kB / 1.285 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.894e-05/0.3024, allocations: 89.86 kB / 1.285 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.256e-05/0.3024, allocations: 25.83 kB / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.55e-05/0.3024, allocations: 84.14 kB / 1.285 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.657e-05/0.3025, allocations: 7.953 kB / 1.285 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.065e-05/0.3025, allocations: 13.72 kB / 1.285 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.3027, allocations: 310.8 kB / 1.285 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.071e-05/0.3027, allocations: 4 kB / 1.285 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.42e-06/0.3027, allocations: 0 / 1.285 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.516e-05/0.3027, allocations: 12.8 kB / 1.285 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.3027, allocations: 4 kB / 1.285 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.512e-05/0.3028, allocations: 33.69 kB / 1.285 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.3028, allocations: 8.094 kB / 1.285 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.3028, allocations: 0 / 1.285 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.3028, allocations: 3.984 kB / 1.285 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.033e-05/0.3028, allocations: 7.938 kB / 1.285 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.3028, allocations: 0 / 1.285 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.916e-06/0.3028, allocations: 0 / 1.285 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.598e-06/0.3029, allocations: 0 / 1.285 GB, free: 9.512 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 (1): * Single equations (assignments): 1 * 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.425e-05/0.3029, allocations: 113.8 kB / 1.285 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.824e-06/0.3029, allocations: 0 / 1.285 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.623e-05/0.303, allocations: 40.62 kB / 1.285 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.303, allocations: 7.969 kB / 1.285 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.303, allocations: 0 / 1.285 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.303, allocations: 3.938 kB / 1.285 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.691e-05/0.3031, allocations: 97.33 kB / 1.286 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.3031, allocations: 0 / 1.286 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.417e-05/0.3031, allocations: 3.984 kB / 1.286 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.3031, allocations: 0 / 1.286 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.149e-06/0.3031, allocations: 0 / 1.286 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.16e-06/0.3031, allocations: 3.984 kB / 1.286 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.3031, allocations: 7.938 kB / 1.286 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.164e-05/0.3032, allocations: 57.14 kB / 1.286 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.081e-06/0.3032, allocations: 4 kB / 1.286 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.758e-06/0.3032, allocations: 7.922 kB / 1.286 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.572e-06/0.3032, allocations: 0 / 1.286 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.199e-05/0.3033, allocations: 3.938 kB / 1.286 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.003e-06/0.3033, allocations: 3.938 kB / 1.286 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.276e-05/0.3033, allocations: 79.28 kB / 1.286 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3033, allocations: 0 / 1.286 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001991/0.3035, allocations: 15.94 kB / 1.286 GB, free: 9.008 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 (1): * Single equations (assignments): 1 * 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.0001959/0.3037, allocations: 123.2 kB / 1.286 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 6.773e-05/0.3038, allocations: 4 kB / 1.286 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3038, allocations: 0 / 1.286 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.921e-06/0.3038, allocations: 0 / 1.286 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001256/0.3039, allocations: 4 kB / 1.286 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001943/0.3041, allocations: 80.81 kB / 1.286 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.172e-05/0.3041, allocations: 63.47 kB / 1.286 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.239e-05/0.3042, allocations: 4 kB / 1.286 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.866e-05/0.3042, allocations: 7.438 kB / 1.286 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of SimCode: time 2.81e-07/0.3042, allocations: 0 / 1.286 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of Templates: time 0.002637/0.3068, allocations: 400.5 kB / 1.286 GB, free: 8.281 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_BesselJ1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.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.815326936542988]