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.002032/0.002032, allocations: 111 kB / 16.46 MB, free: 6.453 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.002579/0.002579, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.501/1.501, allocations: 230.6 MB / 252.8 MB, free: 8.957 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.229/3.229, allocations: 0.4899 GB / 0.7915 GB, free: 33.34 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.002183/0.002183, allocations: 75.02 kB / 1.149 GB, free: 26.02 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3685/0.3707, allocations: 176.1 MB / 1.321 GB, free: 2.832 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.003328/0.374, allocations: 1.461 MB / 1.323 GB, free: 1.363 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0007947/0.3748, allocations: 255.6 kB / 1.323 GB, free: 1.113 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.53e-05/0.3748, allocations: 0 / 1.323 GB, free: 1.113 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.911e-05/0.3749, allocations: 3.984 kB / 1.323 GB, free: 1.109 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.924e-05/0.3749, allocations: 3.938 kB / 1.323 GB, free: 1.105 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.000502/0.3754, allocations: 63.81 kB / 1.323 GB, free: 1.043 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 9.476e-05/0.3755, allocations: 23.92 kB / 1.323 GB, free: 1.02 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001286/0.3757, allocations: 8 kB / 1.323 GB, free: 1.012 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 6.02e-05/0.3757, allocations: 8 kB / 1.323 GB, free: 1.004 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.895e-05/0.3758, allocations: 15.91 kB / 1.323 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.283e-05/0.3758, allocations: 0 / 1.323 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00022/0.376, allocations: 63.88 kB / 1.323 GB, free: 0.9258 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.482e-05/0.376, allocations: 4 kB / 1.323 GB, free: 0.9219 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.001e-05/0.3761, allocations: 7.938 kB / 1.323 GB, free: 0.9141 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000204/0.3763, allocations: 59.78 kB / 1.323 GB, free: 0.8555 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.134e-06/0.3763, allocations: 0 / 1.323 GB, free: 0.8555 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.665e-06/0.3763, allocations: 0 / 1.323 GB, free: 0.8555 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.045e-06/0.3763, allocations: 0 / 1.323 GB, free: 0.8555 MB / 1.014 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.0007447/0.377, allocations: 351.3 kB / 1.323 GB, free: 472 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.966e-05/0.3771, allocations: 15.98 kB / 1.324 GB, free: 456 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.472e-05/0.3772, allocations: 0.9375 kB / 1.324 GB, free: 456 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002232/0.3774, allocations: 164.3 kB / 1.324 GB, free: 252 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.781e-05/0.3774, allocations: 8.312 kB / 1.324 GB, free: 244 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.081e-05/0.3774, allocations: 384 / 1.324 GB, free: 244 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002257/0.3776, allocations: 50.23 kB / 1.324 GB, free: 188 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.3776, allocations: 4.188 kB / 1.324 GB, free: 184 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.496e-05/0.3777, allocations: 3.938 kB / 1.324 GB, free: 180 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.3777, allocations: 0 / 1.324 GB, free: 180 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001833/0.3779, allocations: 35.95 kB / 1.324 GB, free: 144 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004765/0.3783, allocations: 240.9 kB / 1.324 GB, free: 15.86 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001488/0.3785, allocations: 50.47 kB / 1.324 GB, free: 15.8 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.301e-05/0.3786, allocations: 20.91 kB / 1.324 GB, free: 15.77 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008363/0.3794, allocations: 453.5 kB / 1.324 GB, free: 15.24 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.827e-05/0.3794, allocations: 42.56 kB / 1.325 GB, free: 15.19 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.3794, allocations: 0 / 1.325 GB, free: 15.19 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0003929/0.3798, allocations: 73.64 kB / 1.325 GB, free: 15.11 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.429e-05/0.3799, allocations: 55.34 kB / 1.325 GB, free: 15.04 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.38, allocations: 105.8 kB / 1.325 GB, free: 14.93 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/0.38, allocations: 29.64 kB / 1.325 GB, free: 14.89 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.547e-05/0.3801, allocations: 92.2 kB / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.975e-05/0.3801, allocations: 3.953 kB / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.313e-05/0.3801, allocations: 13.72 kB / 1.325 GB, free: 14.78 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001662/0.3803, allocations: 310.8 kB / 1.325 GB, free: 14.46 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.591e-05/0.3804, allocations: 23.97 kB / 1.325 GB, free: 14.44 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.416e-05/0.3805, allocations: 15.98 kB / 1.325 GB, free: 14.43 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001558/0.3806, allocations: 40.89 kB / 1.325 GB, free: 14.38 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3806, allocations: 4 kB / 1.325 GB, free: 14.38 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002103/0.3808, allocations: 69.53 kB / 1.325 GB, free: 14.3 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.3809, allocations: 8 kB / 1.325 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.3809, allocations: 0 / 1.325 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.3809, allocations: 192 / 1.325 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.712e-05/0.381, allocations: 12.02 kB / 1.325 GB, free: 14.29 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.381, allocations: 0 / 1.325 GB, free: 14.29 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.85e-05/0.381, allocations: 4 kB / 1.325 GB, free: 14.28 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.256e-06/0.381, allocations: 4 kB / 1.325 GB, free: 14.28 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 9.104e-05/0.3811, allocations: 113.8 kB / 1.325 GB, free: 14.16 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.928e-05/0.3811, allocations: 7.938 kB / 1.325 GB, free: 14.15 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002694/0.3814, allocations: 76.78 kB / 1.326 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.3814, allocations: 0 / 1.326 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.3814, allocations: 0 / 1.326 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.3814, allocations: 0 / 1.326 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001928/0.3816, allocations: 161.6 kB / 1.326 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.3816, allocations: 7.922 kB / 1.326 GB, free: 13.85 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.812e-05/0.3817, allocations: 8 kB / 1.326 GB, free: 13.84 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.3817, allocations: 0 / 1.326 GB, free: 13.84 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.672e-06/0.3817, allocations: 0 / 1.326 GB, free: 13.84 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.3817, allocations: 0 / 1.326 GB, free: 13.84 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.3817, allocations: 0 / 1.326 GB, free: 13.84 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002741/0.382, allocations: 167.5 kB / 1.326 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.901e-05/0.382, allocations: 81.09 kB / 1.326 GB, free: 13.57 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.512e-05/0.382, allocations: 4 kB / 1.326 GB, free: 13.56 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.081e-05/0.3821, allocations: 0 / 1.326 GB, free: 13.56 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.773e-05/0.3821, allocations: 7.984 kB / 1.326 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.948e-06/0.3822, allocations: 4.031 kB / 1.326 GB, free: 13.55 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.832e-05/0.3822, allocations: 83.28 kB / 1.326 GB, free: 13.47 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3822, allocations: 3.938 kB / 1.326 GB, free: 13.46 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002418/0.3824, allocations: 15.94 kB / 1.326 GB, free: 13.45 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.000265/0.3827, allocations: 119.1 kB / 1.326 GB, free: 13.32 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002346/0.3829, allocations: 39.97 kB / 1.326 GB, free: 13.28 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3829, allocations: 0 / 1.326 GB, free: 13.28 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.276e-05/0.383, allocations: 27.91 kB / 1.326 GB, free: 13.25 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002507/0.3833, allocations: 10.59 kB / 1.326 GB, free: 13.25 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003233/0.3836, allocations: 113.3 kB / 1.326 GB, free: 13.11 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003114/0.3839, allocations: 0.6769 MB / 1.327 GB, free: 12.41 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.227e-05/0.3839, allocations: 3.984 kB / 1.327 GB, free: 12.4 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.066e-05/0.384, allocations: 7.438 kB / 1.327 GB, free: 12.39 MB / 1.029 GB Notification: Performance of SimCode: time 3.21e-07/0.384, allocations: 3.938 kB / 1.327 GB, free: 12.39 MB / 1.029 GB Notification: Performance of Templates: time 0.003399/0.3874, allocations: 0.6506 MB / 1.328 GB, free: 11.74 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/jenkins/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: 8.921193782240152]